:root {
    --conservative-blue: #142e52;
    --campaign-red: #ed1e39;
    --campaign-gold: #fedf00;
    --campaign-gold-light: #fffdf0;
    --text-white: #ffffff;
    --text-black: #222222;
}

body, html {
    margin: 0;
    padding: 0;
    font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    box-sizing: border-box;
    scroll-behavior: smooth;
    overflow-x: hidden;
    padding: 0.5%;
    padding-top: 0;
    padding-bottom: 0;
}

b, strong {
    color: #142e52;
}

/* --- Buttons --- */
.btn-red {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	background-color: var(--campaign-red);
	color: white;
	border: 3px solid var(--campaign-red);

	padding: 12px 24px;
	font-size: 1.3rem;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;

	cursor: pointer;
	transition: all 0.3s ease-in-out;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	border-radius: 10px;
}

.btn-red:hover { background-color: white; color: var(--campaign-red); }

/* --- Interactive Gold Text (Fixed) --- */
.gold-interactive {
    display: inline-block;
    vertical-align: baseline;
    /* Lighter Gradient: Gold -> White/Light -> Gold */
    background: linear-gradient(
        110deg, 
        var(--campaign-gold) 0%, 
        var(--campaign-gold) 30%, 
        var(--campaign-gold-light) 50%, 
        var(--campaign-gold) 70%, 
        var(--campaign-gold) 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    transition: background-position 0.1s ease-out;
}

/* --- Hero / Landing Page --- */
.hero-container {
    position: relative;
    height: 67vh; /*was 80*/
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
    box-shadow: 0px 15px 8px #aab;
}
.hero-bg-layer {
    position: absolute;
    top: -5%; left: -5%; width: 110%; height: 110%;
    background: linear-gradient(rgba(26, 70, 129, 0.4), rgba(20, 46, 82, 0.6)), url('/images/jess-barnett-NwqvG6lb2jU-unsplash.jpg');
    background-size: cover; background-position: center; z-index: -1;
    transition: transform 0.1s ease-out;
}
.hero-content {
    z-index: 1; position: relative;
    padding: 0 20px; /* Added padding for mobile edges */
    padding-top: 18vh;
    max-width: 100%;
    box-sizing: border-box;
}

.hero-title { font-size: 7rem; 
    margin-bottom: 10px;
    font-weight: 800;
    line-height: 1.1;
}
.hero-title-small { font-size: 4rem; 
    margin-bottom: 0px;
    font-weight: 800;
    line-height: 1.1;
}
.hero-tagline { font-size: 2rem; font-weight: 500; }

/* Mobile Hero Adjustments */
@media screen and (max-width: 768px) {
    .hero-title { font-size: 3rem; }
    .hero-tagline { font-size: 1.2rem; }
}

/* --- Navbar --- */
.navbar {
    position: fixed; top: 0; width: 98%; display: flex; justify-content: space-between; align-items: center;
    padding: 20px 40px; z-index: 1000; background: linear-gradient(to bottom, rgba(20, 46, 82, 0.9), transparent); box-sizing: border-box;
}

.navbar .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
  }
  
  .navbar .logo img {
    height: 40px;
    width: auto;
    max-height: 100%;
    object-fit: contain;
    display: block;
  }
.logo { font-size: 1.5rem; font-weight: bold; color: white; text-transform: uppercase; }
.menu-toggle { font-size: 2rem; color: white; cursor: pointer; transition: color 0.3s; }
.menu-toggle:hover { color: var(--campaign-gold); }

/* --- Sidebar --- */
.sidebar {
    height: 100%; width: 0; position: fixed; z-index: 999; top: 0; right: 0;
    background-color: var(--conservative-blue); overflow-x: hidden; transition: 0.4s;
    padding-top: 100px; box-shadow: -5px 0 15px rgba(0,0,0,0.3);
}
.sidebar.active { width: 350px; }
@media screen and (max-width: 768px) { .sidebar.active { width: 100%; } }
.sidebar a {
    padding: 15px 30px; text-decoration: none; font-size: 1.5rem; color: white; display: block; transition: 0.2s; text-align: center;
}
.sidebar a:hover { color: var(--campaign-gold); padding-left: 40px; }

/* --- Footer --- */
.site-footer {
    background: linear-gradient(45deg, #0f2d52, #1a4681); color: white;
    padding: 60px 20px 20px 20px; margin-top: 10px;
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
}
.footer-container {
    max-width: 1000px; margin: 0 auto; display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px; margin-bottom: 40px;
}
/* Mobile Footer Centering */
@media screen and (max-width: 768px) {
    .footer-container { text-align: center; }
    .social-icons { justify-content: center; }
}
.footer-col h4 { color: white; text-transform: uppercase; margin-bottom: 20px; font-size: 1.1rem; letter-spacing: 1px; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: #e0e0e0; text-decoration: none; transition: color 0.2s; }
.footer-col ul li a:hover { color: white; text-decoration: underline; }
.social-icons { display: flex; gap: 15px; }
.social-icons a { color: white; font-size: 1.5rem; transition: transform 0.2s, color 0.2s; }
.social-icons a:hover { color: var(--campaign-gold); transform: translateY(-3px); }
.footer-bottom { text-align: center; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; font-size: 0.9rem; color: rgba(255,255,255,0.6); }

/* --- Updated Newsletter Section --- */
.newsletter-section-wrapper {
    padding: 80px 20px;
    /* padding-top: 0px; */
    text-align: center;
    background-color: #ffffff; /* Clean white background like the image */
}

.newsletter-title {
    color: var(--conservative-blue);
    font-size: 2.2rem;
    font-weight: 800; /* Extra bold like the name title */
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.newsletter-subtitle {
    color: #555;
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 40px;
}

/* The "Pill" Container */
.newsletter-group {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 650px; /* Slightly wider for a premium look */
    margin: 0 auto;
}

.newsletter-input {
    flex-grow: 1;
    padding: 20px 30px;
    font-size: 1.1rem;
    border: 1px solid #ddd;
    border-right: none;
    border-radius: 50px 0 0 50px; /* Deep rounding on the left */
    outline: none;
    font-family: inherit;
    transition: border-color 0.3s;
}

.newsletter-input:focus {
    border-color: var(--conservative-blue);
}

.newsletter-btn {
    padding: 0 45px;
    font-size: 1.1rem;
    font-weight: 700;
    background-color: var(--campaign-red);
    color: white;
    border: none;
    border-radius: 0 50px 50px 0; /* Deep rounding on the right */
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-transform: uppercase;
}

.newsletter-btn:hover {
    background-color: #c4192f; /* Slightly darker red on hover */
}

/* --- Mobile Fixes --- */
@media screen and (max-width: 600px) {
    .newsletter-group {
        flex-direction: column;
        gap: 15px;
    }
    
    .newsletter-input {
        border-radius: 50px; /* Full pill for mobile */
        border-right: 1px solid #ddd;
        text-align: center;
    }
    
    .newsletter-btn {
        border-radius: 50px; /* Full pill for mobile */
        padding: 18px;
    }
    
    .newsletter-title {
        font-size: 1.6rem;
    }
}

/* --- About Page (Polaroids) --- */
.content-section { padding: 60px 20px; max-width: 900px; margin: 0 auto; overflow: hidden; } /* Overflow hidden clears floats */
.page-hero {
    height: 50vh;
    background: var(--conservative-blue);
    display: flex; flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
    box-shadow: 0px 15px 8px #aab;
}

.polaroid-img {
    width: 250px;
    height: auto;
    border: 12px solid white;
    box-shadow: 0 8px 15px rgba(0,0,0,0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Bouncy transition */
    cursor: zoom-in;
    margin: 20px;
    background: white;
}

.polaroid-img:hover {
    transform: scale(1.1) rotate(0deg) !important; /* Force straighten on hover */
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
    z-index: 10;
    position: relative;
}

/* Floating Utils for Desktop */
.float-start { float: left; margin-right: 40px; }
.float-end { float: right; margin-left: 40px; }

/* Clearfix for paragraphs wrapping floated images */
.content-block {
    margin-bottom: 40px;
    display: flow-root; /* Modern clearfix */
}

/* Mobile Polaroids */
@media screen and (max-width: 768px) {
    .polaroid-img {
        float: none !important;
        display: block;
        margin: 20px auto;
        transform: none !important; /* Remove rotation on mobile */
        width: 85%;
        max-width: 400px;
    }

    p {
        text-align: center;
    }
}

/* --- Lightbox Modal --- */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    top: 0; left: 0;
    width: 100.5%; height: 100%;
    background-color: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80%;
    border: 10px solid white;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    animation: zoomIn 0.3s ease;
}

.lightbox-caption {
    color: white;
    margin-top: 15px;
    font-size: 1.2rem;
    font-weight: 300;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    transition: color 0.3s;
}
.lightbox-close:hover { color: var(--campaign-red); }

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* --- Donate Page --- */
.donate-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 30px; }
.donate-btn {
    padding: 25px; border: 3px solid var(--conservative-blue); background: white;
    color: var(--conservative-blue); font-size: 1.3rem; font-weight: bold;
    cursor: pointer; transition: all 0.2s; border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
    min-height: 90px;
    max-height: 90px;
}
.donate-btn:hover { transform: translateY(-5px); box-shadow: 0 10px 15px rgba(0,0,0,0.1); }
.donate-btn.selected { background: var(--conservative-blue); color: white; }
.custom-amount {
    width: 100%; padding: 15px; font-size: 1rem; border: 3px solid #ddd;
    border-radius: 8px; margin-bottom: 20px; box-sizing: border-box;
}

.donate-container {
    max-width: 600px;
    margin: 40px auto;
    overflow: hidden; /* Hides the card that isn't active */
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.donate-wrapper {
    display: flex;
    width: 200%; /* Two cards wide */
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.donate-card {
    width: 50%; /* Each card takes half of the 200% wrapper */
    padding: 40px;
    box-sizing: border-box;
}

.w-100 { width: 100%; }

.step-title { color: var(--conservative-blue); margin-bottom: 20px; }

.input-group input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    border-bottom-color: rgb(223, 224, 225);
    border-left-color: rgb(223, 224, 225);
    box-shadow: rgba(0, 0, 0, 0.03) 0px 1px 1px 0px, rgba(0, 0, 0, 0.02) 0px 3px 6px 0px, rgba(20, 46, 82, 0.008) 0px 0px 0px 0.105773px, rgba(0, 0, 0, 0.004) 0px 0.0352576px 0.0352576px 0px;
    border-right-color: rgb(223, 224, 225);
    border-top-color: rgb(223, 224, 225);
}

.city-postal { display: grid; grid-template-columns: 2fr 1fr; gap: 10px; }

.checkbox-container {
    display: block;
    font-size: 0.85rem;
    color: #555;
    text-align: left;
    margin: 15px 0;
    cursor: pointer;
}

.button-row { display: flex; gap: 10px; margin-top: 20px; }
.button-row button { flex: 1; }

/* --- Iain Black Profile Section --- */
.profile-feature-section {
    padding: 60px 20px;
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.profile-container {
    display: flex;
    align-items: center;
    gap: 60px;
    width: 100%;
}

/* Left side image styling */
.profile-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.profile-main-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 15px; /* Matches the rounded look in the photo */
    display: block;
}

/* Right side text styling */
.profile-text-wrapper {
    flex: 1;
    text-align: left;
}

.profile-name {
    font-size: 4rem;
    font-weight: 800;
    color: var(--conservative-blue);
    margin: 0 0 10px 0;
    line-height: 1;
    text-transform: uppercase;
}

.profile-subtitle {
    font-size: 1.4rem;
    color: var(--text-black);
    font-weight: 600;
    margin-bottom: 30px;
    line-height: 1.4;
    max-width: 500px;
}

/* Button Styling */
.btn-outline-blue {
    display: inline-block;
    padding: 12px 35px;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--conservative-blue);
    text-decoration: none;
    border: 3px solid var(--conservative-blue);
    border-radius: 10px;
    transition: all 0.3s ease;
    background: white;
    text-align: center;
}

.btn-outline-blue:hover {
    background-color: var(--conservative-blue);
    color: white;
}

/* --- Mobile Responsiveness --- */
@media screen and (max-width: 992px) {
    .profile-container {
        flex-direction: column; /* Stack vertically */
        text-align: center;
        gap: 30px;
    }

    .profile-image-wrapper {
        justify-content: center;
    }

    .profile-text-wrapper {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .profile-name {
        font-size: 3rem;
    }

    .profile-subtitle {
        font-size: 1.2rem;
    }
}

@media screen and (max-width: 600px) {
    .donate-grid {
        grid-template-columns: 1fr; /* Stacked */
        gap: 10px;
    }
    .donate-btn {
        padding: 15px;
    }
    .donate-card {
        padding: 20px; /* Less padding on mobile */
    }
}

/* Volunteer Form Specifics */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 10px;
}

.input-group label {
    display: block;
    text-align: left;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--conservative-blue);
}

.checkbox-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    text-align: left;
    margin-bottom: 25px;
}

.check-item {
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.custom-textarea {
    width: 100%;
    height: 120px;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    resize: vertical;
    box-sizing: border-box;
}

.inline-input {
    border: none;
    border-bottom: 2px solid #ccc;
    background: transparent;
    padding: 0 5px;
    outline: none;
    width: 150px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
    color: var(--conservative-blue);
}

/* Highlight the line when active */
.inline-input:focus {
    border-bottom-color: var(--campaign-red);
}

/* Visual state for when it's disabled */
.inline-input:disabled {
    border-bottom-style: dotted;
    cursor: not-allowed;
    color: #999;
}

.membership-box {
    margin: 20px 0;
    padding: 10px;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

/* --- Status Message Box --- */
.status-message {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    transition: all 0.3s ease;
}

.status-message.error {
    background-color: #fce8e8;
    color: var(--campaign-red);
    border: 1px solid var(--campaign-red);
}

.status-message.success {
    background-color: #e8f4fc;
    color: var(--conservative-blue);
    border: 1px solid var(--conservative-blue);
}

.hidden {
    display: none;
}

@media screen and (max-width: 600px) {
    .form-grid, .checkbox-grid {
        grid-template-columns: 1fr;
    }
}

*, *::before, *::after {
    box-sizing: border-box;
}

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(20, 46, 82, 0.8); /* Conservative Blue with transparency */
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.3s ease;
}

/* Modal Box */
.modal-card {
    background: white;
    width: 90%;
    max-width: 500px;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    position: relative;
    text-align: center;
}

.modal-header h2 {
    margin-top: 0;
    font-size: 2rem;
    font-weight: 800;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #999;
}

.modal-body p {
    color: #444;
    line-height: 1.6;
    font-size: 1.1rem;
}

.membership-benefit {
    background: #e3efff;
    padding: 10px;
    border-radius: 8px;
    font-weight: 600;
    color: var(--conservative-blue) !important;
}

/* Hidden state */
.modal-overlay.hidden {
    display: none;
    opacity: 0;
}

.home-section {
	padding: 70px 20px;
	border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.home-section--white {
	background: white;
}

.home-section-inner {
	max-width: 1100px;
	margin: 0 auto;
}

.home-section-title {
	color: var(--conservative-blue);
	font-weight: 800;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	margin: 0 0 18px 0;
	font-size: 2.2rem;
}

.home-section-title--center {
	text-align: center;
}

.home-section-lead {
	color: #444;
	font-size: 1.25rem;
	line-height: 1.6;
	margin: 0 0 28px 0;
}

.home-section-lead--center {
	text-align: center;
	max-width: 900px;
	margin-left: auto;
	margin-right: auto;
}

.home-section-copy p {
	color: var(--text-black);
	font-size: 1.25rem;
	line-height: 1.7;
	margin: 0 0 16px 0;
}

.pillars-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin-top: 28px;
}

.pillar-card {
	background: white;
	border: 2px solid var(--conservative-blue);
	border-radius: 18px;
	padding: 28px;
	box-shadow: 0px 10px 18px rgba(0, 0, 0, 0.08);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	text-align: center;
}

.pillar-card:hover {
	transform: translateY(-4px);
	box-shadow: 0px 14px 26px rgba(0, 0, 0, 0.12);
}

.pillar-icon {
	font-size: 2.6rem;
	color: var(--campaign-red);
	margin-bottom: 14px;
}

.pillar-icon svg {
	width: 2.6rem;
	height: 2.6rem;
}

.pillar-title {
	color: var(--conservative-blue);
	font-size: 1.5rem;
	font-weight: 800;
	margin: 0 0 10px 0;
}

.pillar-text {
	color: #444;
	font-size: 1.1rem;
	line-height: 1.6;
	margin: 0;
}

.home-cta-row {
	margin-top: 28px;
	text-align: center;
}

@media screen and (max-width: 900px) {
	.pillars-grid {
		grid-template-columns: 1fr;
	}

    .home-section-title {
        text-align: center;
    }
}

.join-movement-section {
	padding: 80px 20px;
    border-radius: 10px;
	background: var(--conservative-blue);
}

.join-movement-card {
	max-width: 1100px;
	margin: 0 auto;
	background: white;
	border-radius: 28px;
	padding: 50px 40px;
	box-shadow: 0px 18px 30px rgba(0, 0, 0, 0.18);
	display: grid;
	grid-template-columns: 1.2fr 0.8fr;
	gap: 40px;
	align-items: center;
}

.join-movement-title {
	margin: 0 0 14px 0;
	color: var(--conservative-blue);
	font-weight: 800;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	font-size: 2.2rem;
}

.join-movement-text {
	margin: 0 0 22px 0;
	color: #444;
	font-size: 1.2rem;
	line-height: 1.7;
}

.join-movement-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-bottom: 24px;
}

.join-movement-updates {
	margin-top: 18px;
}

.join-movement-image-wrapper {
	text-align: center;
}

.join-movement-image {
	width: 100%;
	height: auto;
	border-radius: 18px;
	box-shadow: 0px 10px 18px rgba(0, 0, 0, 0.18);
}

.join-movement-image-note {
	margin: 12px 0 0 0;
	color: rgba(0, 0, 0, 0.55);
	font-size: 0.95rem;
}

@media screen and (max-width: 900px) {
	.join-movement-card {
		grid-template-columns: 1fr;
		padding: 40px 22px;
	}

	.join-movement-actions {
		justify-content: center;
	}

	.join-movement-title,
	.join-movement-text {
		text-align: center;
	}
}

.content-heading {
	color: var(--conservative-blue);
	font-weight: 800;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	margin: 0 0 14px 0;
}

.about-cta-row {
	margin-top: 22px;
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

.about-cta-row {
	margin-top: 22px;
	display: flex;
	justify-content: center;
	gap: 14px;
	flex-wrap: wrap;
}

.about-cta-row a {
	width: 260px;
	box-sizing: border-box;
}

@media screen and (max-width: 768px) {
	.about-cta-row {
		justify-content: center;
	}

    .about-cta-row a {
		width: 100%;
		max-width: 360px;
	}

    .content-heading {
        text-align: center;
    }
}

.content-heading {
	color: var(--conservative-blue);
	font-weight: 800;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	margin: 0 0 14px 0;
}

.content-subheading {
	color: var(--conservative-blue);
	font-weight: 800;
	margin: 22px 0 10px 0;
	font-size: 1.4rem;
}

.priorities-bullets {
	margin: 14px 0 18px 0;
	padding-left: 18px;
	line-height: 1.7;
}

.priorities-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 18px;
	margin: 30px 0;
}

.priority-card {
	border: 2px solid var(--conservative-blue);
	border-radius: 18px;
	padding: 22px;
	box-shadow: 0px 10px 18px rgba(0, 0, 0, 0.08);
}

.priority-top {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	margin-bottom: 10px;
}

.priority-number {
	flex: 0 0 46px;
	width: 46px;
	height: 46px;

	border-radius: 999px;
	background: var(--campaign-red);
	color: white;

	display: flex;
	align-items: center;
	justify-content: center;

	font-weight: 800;
	font-size: 1.1rem;
	line-height: 1;
	box-sizing: border-box;
}

.priority-title {
    margin: auto 0px;
}

.priority-checkline {
	margin-top: 12px;
	font-weight: 700;
	color: #333;
	display: flex;
	align-items: center;
	gap: 10px;
}

.priority-checkline svg {
	flex: 0 0 auto;
	width: 22px;
	height: 22px;
    color: var(--campaign-red);
}

.end-graphic-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
	margin-top: 30px;
}

.end-graphic-card {
	border: 2px solid var(--conservative-blue);
	border-radius: 18px;
	padding: 22px;
	text-align: center;
	box-shadow: 0px 10px 18px rgba(0, 0, 0, 0.08);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.end-graphic-card:hover {
	transform: translateY(-4px);
	box-shadow: 0px 14px 26px rgba(0, 0, 0, 0.12);
}

.end-graphic-icon {
	color: var(--campaign-red);
	margin-bottom: 10px;
	display: flex;
	justify-content: center;
}

.end-graphic-icon svg {
	width: 42px;
	height: 42px;
}

.end-graphic-title {
	margin: 0 0 6px 0;
	color: var(--conservative-blue);
	font-weight: 800;
}

.end-graphic-lead {
	margin: 0 0 10px 0;
	font-weight: 700;
	color: #333;
}

.end-graphic-text {
	margin: 0;
	color: #444;
	line-height: 1.6;
}

@media screen and (max-width: 900px) {
	.end-graphic-grid {
		grid-template-columns: 1fr;
	}
}

.hero-container {
    position: relative;
}

.hero-candidate {
    position: absolute;
    bottom: 0;

    left: 25%;

    height: 90%;

    transform: translateX(-50%);
    z-index: 0;
    pointer-events: none;
}

.hero-candidate-img {
    height: 100% !important;
    width: auto !important;
    max-width: none !important;
    max-height: none !important;
    display: block;
    object-fit: contain;
    object-position: bottom center;
}

@media (max-width: 1100px) {
    .hero-candidate { left: 40%; }
}

@media (max-width: 768px) {
    .hero-candidate {
        left: 50%;
        height: 85%;
    }
}

@media (max-width: 420px) {
    .hero-candidate { height: 78%; }
}

.hero-title {
    z-index: 2;
    text-shadow: 2px 2px 5px black;
}

/* --- 404 Error Page --- */
.error-page-wrapper {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.error-code {
    font-size: 8rem;
    font-weight: 900;
    color: var(--conservative-blue);
    margin: 0;
    line-height: 1;
    opacity: 0.2; /* Subtle background look */
}

@media screen and (max-width: 768px) {
    .error-code {
        font-size: 5rem;
    }
}

/* --- Navbar Middle Link & Glow --- */
.nav-middle-link {
    flex: 1;
    text-align: center;
}

.event-glow-link {
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: softGlow 3s infinite ease-in-out;
    transition: transform 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.event-glow-link i { font-size: 1.2rem; }

.event-glow-link:hover {
    transform: scale(1.05);
    color: white;
}

.event-glow-link .short-text { display: none; }

@keyframes softGlow {
    0%, 100% { text-shadow: 0 0 5px rgba(255,255,255,0.2); opacity: 0.9; }
    50% { text-shadow: 0 0 15px rgba(255,255,255,1), 0 0 20px rgba(255,255,255,0.5); opacity: 1; }
}

/* Responsive Navbar Toggle */
@media (max-width: 992px) {
    .event-glow-link .full-text { display: none; }
    .event-glow-link .short-text { display: inline; font-size: 0.85rem; }
}
@media (max-width: 480px) {
    .nav-middle-link { text-align: right; margin-right: 15px; }
}

/* --- Events Page Specifics --- */
/* --- Event Page Layout Improvements --- */
.event-header-notes {
    max-width: 800px;
    margin: 0 auto 40px auto;
    text-align: center;
}

.event-info-horizontal {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 30px 0;
}

.info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.info-item i {
    font-size: 2rem;
    color: var(--campaign-red);
    margin-bottom: 10px;
}

.parking-callout-centered {
    background: #f8f9fa;
    padding: 15px 25px;
    border-radius: 10px;
    border: 1px solid #ddd;
    display: inline-block;
    font-size: 0.95rem;
    color: #444;
}

.event-footer-links {
    text-align: center;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

#rsvpForm .input-group input {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    box-shadow: rgba(0, 0, 0, 0.03) 0px 1px 1px 0px, 
                rgba(0, 0, 0, 0.02) 0px 3px 6px 0px, 
                rgba(20, 46, 82, 0.008) 0px 0px 0px 0.1px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

#rsvpForm .input-group input:focus {
    border-color: var(--conservative-blue);
    outline: none;
    box-shadow: 0 0 0 3px rgba(20, 46, 82, 0.1);
}

@media screen and (max-width: 600px) {
    .event-info-horizontal {
        flex-direction: column;
        gap: 20px;
    }
}

.rrsp-card {
    padding: 40px;
    box-sizing: border-box;
}

#postalCode {
    text-transform: uppercase;
}

#postalCode::placeholder {
    text-transform: none;
}

#postalCode::-webkit-input-placeholder {
    text-transform: none;
}
#postalCode::-moz-placeholder {
    text-transform: none;
}