/*
Theme Name: London Calling
Theme URI: https://londoncallingna.org
Author: Anonymous
Author URI: https://londoncallingna.org
Description: Classic theme for London Calling NA.
Version: 1.0.64
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: london_calling
*/

/* ==========================================================================
   Base
   ========================================================================== */

*,
*::before,
*::after {
	box-sizing: border-box;
}

:root {
	--lc-navy: #0b1f3f;
	--lc-bg: #2e6da4;
}

body {
	margin: 0;
	background: var(--lc-bg);
}

img {
	max-width: 100%;
	height: auto;
}

/* ==========================================================================
   Layout — desktop: 1300px page/post width
   ========================================================================== */

.site-header,
.site-nav,
.site-main,
.site-footer {
	width: 100%;
	max-width: 1300px;
	margin: 0 auto;
	padding: 0 20px;
}

.site-main {
	background: transparent;
	color: var(--lc-navy);
	padding-top: 20px;
	padding-bottom: 20px;
}

/* Pages / posts: white rounded box, light shading */
.site-main article {
	background: #fff;
	padding: 40px;
	border-radius: 12px;
	box-shadow: 0 2px 12px rgba(11, 31, 63, 0.12);
}

.site-main article + article {
	margin-top: 20px;
}

/* ==========================================================================
   Typography
   ========================================================================== */

body {
	font-family: Arial, Helvetica, sans-serif;
	line-height: 1.6;
}

h1 {
	font-size: 2.25rem;
	line-height: 1.25;
	margin: 0 0 16px;
}

.lc-subtitle {
	font-size: 1.25rem;
	margin: 0;
}

.lc-subtitle + .lc-subtitle {
	margin-top: 1.6em;
}

.lc-subtitle strong {
	display: block;
	font-size: 1.3em;
	line-height: 1.3;
	margin-bottom: 6px;
}

/* ==========================================================================
   Sticky menu
   ========================================================================== */

.site-nav {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--lc-bg);
}

.admin-bar .site-nav {
	top: 32px;
}

/* Match the WordPress admin bar height when logged in */
@media (max-width: 782px) {
	.admin-bar .site-nav {
		top: 46px;
	}
}

@media (max-width: 600px) {
	.admin-bar .site-nav {
		top: 0;
	}
}

.lc-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
}

.lc-menu a {
	display: block;
	padding: 14px 18px;
	color: #fff;
	font-weight: bold;
	text-decoration: none;
}

.lc-menu a:hover,
.lc-menu a:focus,
.lc-menu .current-menu-item > a,
.lc-menu .current_page_item > a {
	background: rgba(255, 255, 255, 0.12);
}

.lc-menu-toggle {
	display: none;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
	background: var(--lc-bg);
	color: #fff;
	padding-top: 30px;
	padding-bottom: 30px;
}

.lc-footer-columns {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 40px;
}

.lc-footer-col {
	flex: 0 0 auto;
}

.lc-footer-meeting p {
	margin: 0 0 6px;
}

.lc-footer-meeting p:last-child {
	margin-bottom: 0;
}

.lc-footer-links {
	margin-left: auto;
}

.lc-footer-links ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.lc-footer-links li + li {
	margin-top: 6px;
}

.lc-footer-links a {
	color: #fff;
	font-weight: bold;
	text-decoration: none;
}

.lc-footer-links a:hover,
.lc-footer-links a:focus {
	text-decoration: underline;
}

.lc-footer-logo {
	text-align: left;
}

.lc-footer-logo img {
	display: block;
	max-width: 120px;
}

/* ==========================================================================
   Home page
   ========================================================================== */

.lc-header-image,
.lc-header-image img {
	margin-top: 0;
	padding-top: 0;
}

.lc-header-image {
	text-align: center;
}

.lc-header-image img {
	display: block;
	margin: 0 auto;
}

/* ==========================================================================
   Two-column split (text left, image right)
   ========================================================================== */

.lc-split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	align-items: center;
}

.lc-split p {
	font-size: 1.125rem;
	margin: 0 0 16px;
}

.lc-split a {
	color: var(--lc-bg);
	font-weight: bold;
	word-break: break-word;
}

.lc-split-media {
	text-align: center;
}

.lc-split-media img {
	display: block;
	margin: 0 auto;
	border-radius: 12px;
}

@media (max-width: 767px) {
	.lc-split {
		grid-template-columns: 1fr;
		gap: 24px;
	}
}

/* ==========================================================================
   NA Links hub
   ========================================================================== */

.lc-hub-intro {
	font-size: 1.125rem;
	margin: 0 0 8px;
}

.lc-hub-help {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 16px;
	margin: 20px 0 8px;
	padding: 16px 20px;
	border-radius: 14px;
	border-left: 5px solid #00e5ff;
	background: linear-gradient(135deg, #0b1f3f, #1b4d86);
	color: #e8f4ff;
	font-size: 1.1rem;
}

.lc-hub-help a {
	color: #00e5ff;
	font-weight: bold;
	font-size: 1.3rem;
	text-decoration: none;
}

.lc-hub {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin-top: 24px;
}

.lc-hub-panel {
	position: relative;
	padding: 22px 22px 18px;
	border-radius: 18px;
	border: 1px solid rgba(0, 229, 255, 0.3);
	background:
		radial-gradient(circle at 90% 0%, rgba(124, 77, 255, 0.3), transparent 55%),
		linear-gradient(160deg, #0b1f3f 0%, #12325f 60%, #1b4d86 100%);
	color: #e8f4ff;
	overflow: hidden;
	box-shadow: 0 12px 30px rgba(11, 31, 63, 0.3);
}

.lc-hub-panel::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, #00e5ff, #7c4dff, #00e5ff);
}

.lc-hub-panel h2 {
	margin: 0 0 14px;
	font-size: 1.2rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #00e5ff;
}

.lc-hub-panel ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.lc-hub-panel li + li {
	margin-top: 4px;
}

.lc-hub-panel a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 8px 10px;
	border-radius: 8px;
	color: #e8f4ff;
	text-decoration: none;
	transition: background 0.25s ease, color 0.25s ease;
}

.lc-hub-panel a:hover,
.lc-hub-panel a:focus-visible {
	background: rgba(0, 229, 255, 0.14);
	color: #fff;
	outline: none;
}

.lc-tag {
	flex: 0 0 auto;
	padding: 2px 8px;
	border-radius: 999px;
	border: 1px solid currentColor;
	font-size: 0.7rem;
	font-weight: bold;
	letter-spacing: 0.1em;
}

.lc-tag-uk {
	color: #ffd166;
}

.lc-tag-na {
	color: #00e5ff;
}

@media (max-width: 1024px) {
	.lc-hub {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 767px) {
	.lc-hub {
		grid-template-columns: 1fr;
		gap: 18px;
	}
}

/* ==========================================================================
   Group Readings — futuristic card grid
   ========================================================================== */

.lc-readings {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
	margin-top: 28px;
}

.lc-reading-card {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 18px 18px 20px;
	border-radius: 18px;
	border: 1px solid rgba(0, 229, 255, 0.35);
	background:
		radial-gradient(circle at 85% 0%, rgba(124, 77, 255, 0.35), transparent 55%),
		linear-gradient(160deg, #0b1f3f 0%, #12325f 55%, #1b4d86 100%);
	box-shadow:
		0 0 0 1px rgba(0, 229, 255, 0.08),
		0 12px 30px rgba(11, 31, 63, 0.35);
	color: #e8f4ff;
	text-decoration: none;
	overflow: hidden;
	transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

/* Neon scan line across the top */
.lc-reading-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, #00e5ff, #7c4dff, #00e5ff);
	background-size: 200% 100%;
	animation: lc-scan 4s linear infinite;
}

/* Subtle grid texture */
.lc-reading-card::after {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(0, 229, 255, 0.06) 1px, transparent 1px),
		linear-gradient(90deg, rgba(0, 229, 255, 0.06) 1px, transparent 1px);
	background-size: 22px 22px;
	pointer-events: none;
}

.lc-reading-card:hover,
.lc-reading-card:focus-visible {
	transform: translateY(-6px);
	border-color: rgba(0, 229, 255, 0.85);
	box-shadow:
		0 0 0 1px rgba(0, 229, 255, 0.5),
		0 0 28px rgba(0, 229, 255, 0.45),
		0 18px 40px rgba(11, 31, 63, 0.45);
	outline: none;
}

.lc-reading-media,
.lc-reading-title,
.lc-reading-cta {
	position: relative;
	z-index: 1;
}

.lc-reading-media {
	display: block;
	text-align: center;
}

.lc-reading-media img {
	display: block;
	width: 100%;
	max-width: 180px;
	margin: 0 auto;
	border-radius: 12px;
	box-shadow: 0 0 18px rgba(0, 229, 255, 0.25);
}

.lc-reading-title {
	display: block;
	margin-top: 16px;
	font-size: 1.15rem;
	font-weight: bold;
	line-height: 1.3;
	letter-spacing: 0.02em;
}

.lc-reading-cta {
	display: block;
	margin-top: auto;
	padding-top: 12px;
	font-size: 0.8rem;
	font-weight: bold;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #00e5ff;
}

.lc-reading-cta::after {
	content: " \2192";
}

@keyframes lc-scan {
	from { background-position: 0% 0; }
	to { background-position: 200% 0; }
}

@media (prefers-reduced-motion: reduce) {
	.lc-reading-card,
	.lc-reading-card::before {
		transition: none;
		animation: none;
	}
}

@media (max-width: 1024px) {
	.lc-readings {
		grid-template-columns: repeat(2, 1fr);
		gap: 22px;
	}
}

@media (max-width: 767px) {
	.lc-readings {
		grid-template-columns: 1fr;
		gap: 18px;
	}
}

/* ==========================================================================
   Tablet
   ========================================================================== */

@media (max-width: 1024px) {
	.site-header,
	.site-main,
	.site-footer {
		padding-left: 16px;
		padding-right: 16px;
	}

	h1 {
		font-size: 1.875rem;
	}

	.lc-subtitle {
		font-size: 1.125rem;
	}

	.site-main article {
		padding: 30px;
	}
}

/* ==========================================================================
   Mobile
   ========================================================================== */

@media (max-width: 767px) {
	.site-header,
	.site-main,
	.site-footer {
		padding-left: 12px;
		padding-right: 12px;
	}

	h1 {
		font-size: 1.5rem;
	}

	.lc-subtitle {
		font-size: 1rem;
	}

	.site-main article {
		padding: 20px;
		border-radius: 8px;
	}

	.lc-menu-toggle {
		display: block;
		width: 100%;
		padding: 14px 0;
		background: none;
		border: 0;
		color: #fff;
		font: inherit;
		font-weight: bold;
		text-align: left;
		cursor: pointer;
	}

	.lc-menu {
		display: none;
		flex-direction: column;
		padding-bottom: 10px;
	}

	.site-nav.is-open .lc-menu {
		display: flex;
	}

	.lc-menu a {
		padding: 10px 0;
	}

	.lc-footer-columns {
		flex-direction: column;
		align-items: flex-start;
		gap: 20px;
	}

	.lc-footer-links {
		margin-left: 0;
	}
}
