/* CLF Core — theme-independent component styles.
 * Extracted from the CLF child-theme stylesheet.
 * Intentionally excludes member-profile rules already maintained in clf-member-profile.css
 * and AttorneyPress-specific header/navigation compatibility adjustments.
 */

/* ===== Migrated from child-theme style.css: CLF homepage events, membership gateway and inducted registration ===== */
/* CLF Homepage Events */
.clf-events-section {
padding: 80px 20px;
background: #f8f7f3;
text-align: center;
}

.clf-events-heading {
max-width: 750px;
margin: 0 auto 45px;
}

.clf-events-label {
display: inline-block;
margin-bottom: 10px;
color: #b89545;
font-size: 13px;
font-weight: 700;
letter-spacing: 2px;
}

.clf-events-heading h2 {
margin: 0 0 15px;
font-size: 38px;
font-weight: 700;
color: #222;
}

.clf-events-heading p {
margin: 0;
color: #666;
font-size: 16px;
line-height: 1.8;
}

.clf-events-list {
max-width: 1200px;
margin: 0 auto;
}

.clf-events-button {
margin-top: 35px;
}

.clf-view-events {
display: inline-block;
padding: 13px 28px;
background: #b89545;
color: #fff !important;
text-decoration: none !important;
font-size: 14px;
font-weight: 600;
border-radius: 3px;
transition: all .3s ease;
}

.clf-view-events:hover {
background: #222;
color: #fff !important;
}

.clf-view-events span {
margin-left: 8px;
}


/* =========================================
   CLF MEMBERSHIP GATEWAY
   ========================================= */

.clf-membership-gateway {
    max-width: 1150px;
    margin: 0 auto;
    padding: 70px 20px;
}

.clf-gateway-header {
    max-width: 760px;
    margin: 0 auto 50px;
    text-align: center;
}

.clf-gateway-eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #b8953e;
}

.clf-gateway-header h1 {
    margin: 0 0 18px;
    font-size: 42px;
    line-height: 1.2;
}

.clf-gateway-header p {
    margin: 0;
    font-size: 17px;
    line-height: 1.8;
    color: #666;
}

.clf-membership-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.clf-membership-card {
    padding: 42px 35px;
    background: #fff;
    border: 1px solid #e7e1d5;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.clf-membership-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.09);
}

.clf-membership-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #b8953e;
    border-radius: 50%;
}

.clf-membership-icon span {
    font-size: 15px;
    font-weight: 700;
    color: #b8953e;
}

.clf-membership-card h2 {
    margin: 0 0 15px;
    font-size: 25px;
}

.clf-membership-card p {
    min-height: 105px;
    margin: 0 0 28px;
    color: #666;
    line-height: 1.75;
}

.clf-membership-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 24px;
    background: #b8953e;
    color: #fff !important;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .5px;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.clf-membership-button:hover {
    background: #111;
    color: #fff !important;
}

.clf-membership-button span {
    font-size: 18px;
    line-height: 1;
}

@media (max-width: 767px) {

    .clf-membership-gateway {
        padding: 50px 18px;
    }

    .clf-gateway-header h1 {
        font-size: 32px;
    }

    .clf-membership-options {
        grid-template-columns: 1fr;
    }

    .clf-membership-card {
        padding: 35px 25px;
    }

    .clf-membership-card p {
        min-height: auto;
    }
}

/* =========================================================
   CLF INDUCTED MEMBER REGISTRATION
   ========================================================= */

.clf-inducted-page {
	width: 100%;
	margin: 0 auto;
	padding-bottom: 70px;
}


/* HERO */

.clf-inducted-hero {
	background: #18212b;
	padding: 70px 30px;
	position: relative;
	overflow: hidden;
}

.clf-inducted-hero:after {
	content: "";
	position: absolute;
	width: 260px;
	height: 260px;
	right: -80px;
	top: -100px;
	border: 1px solid rgba(196, 158, 64, 0.35);
	border-radius: 50%;
}

.clf-inducted-hero-inner {
	max-width: 900px;
	margin: 0 auto;
	position: relative;
	z-index: 2;
}

.clf-inducted-eyebrow {
	display: inline-block;
	color: #c49e40;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 2px;
	margin-bottom: 15px;
}

.clf-inducted-hero h1 {
	color: #ffffff;
	font-size: 42px;
	line-height: 1.2;
	margin: 0 0 15px;
	font-weight: 700;
}

.clf-inducted-hero p {
	color: rgba(255, 255, 255, 0.82);
	font-size: 17px;
	line-height: 1.7;
	max-width: 650px;
	margin: 0;
}


/* MAIN CONTENT */

.clf-inducted-content {
	max-width: 900px;
	margin: -35px auto 0;
	padding: 0 20px;
	position: relative;
	z-index: 5;
}

.clf-inducted-card {
	background: #ffffff;
	border-radius: 10px;
	padding: 45px;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.10);
}


/* INTRO */

.clf-inducted-intro {
	text-align: center;
	margin-bottom: 35px;
}

.clf-inducted-intro h2 {
	font-size: 28px;
	margin: 0 0 12px;
	color: #18212b;
}

.clf-inducted-intro p {
	max-width: 650px;
	margin: 0 auto;
	color: #666666;
	font-size: 15px;
	line-height: 1.7;
}


/* STEPS */

.clf-verification-steps {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin-bottom: 40px;
	padding-bottom: 35px;
	border-bottom: 1px solid #eeeeee;
}

.clf-step {
	display: flex;
	gap: 13px;
	align-items: flex-start;
}

.clf-step-number {
	flex: 0 0 34px;
	width: 34px;
	height: 34px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #c49e40;
	color: #ffffff;
	border-radius: 50%;
	font-size: 14px;
	font-weight: 700;
}

.clf-step strong {
	display: block;
	color: #18212b;
	font-size: 14px;
	margin-bottom: 5px;
}

.clf-step p {
	margin: 0;
	color: #777777;
	font-size: 13px;
	line-height: 1.6;
}


/* FORM SECTION */

.clf-form-section-title {
	font-size: 18px;
	font-weight: 700;
	color: #18212b;
	padding-bottom: 15px;
	margin-bottom: 25px;
	border-bottom: 2px solid #c49e40;
}

.clf-form-field {
	margin-bottom: 24px;
}

.clf-form-field label {
	display: block;
	font-size: 14px;
	font-weight: 600;
	color: #18212b;
	margin-bottom: 8px;
}

.clf-form-field label span {
	color: #c49e40;
}

.clf-form-field input {
	width: 100%;
	height: 52px;
	padding: 0 16px;
	border: 1px solid #dddddd;
	border-radius: 5px;
	background: #ffffff;
	color: #333333;
	font-size: 14px;
	box-sizing: border-box;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.clf-form-field input:focus {
	border-color: #c49e40;
	box-shadow: 0 0 0 3px rgba(196, 158, 64, 0.12);
	outline: none;
}

.clf-form-field input::placeholder {
	color: #aaaaaa;
}

.clf-form-field small {
	display: block;
	margin-top: 7px;
	color: #888888;
	font-size: 12px;
	line-height: 1.5;
}


/* SECURITY NOTICE */

.clf-security-notice {
	display: flex;
	align-items: flex-start;
	gap: 15px;
	background: #f8f6f0;
	border-left: 4px solid #c49e40;
	padding: 18px 20px;
	margin: 30px 0;
	border-radius: 4px;
}

.clf-security-icon {
	flex: 0 0 28px;
	width: 28px;
	height: 28px;
	background: #c49e40;
	color: #ffffff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 14px;
}

.clf-security-notice strong {
	display: block;
	color: #18212b;
	font-size: 14px;
	margin-bottom: 4px;
}

.clf-security-notice p {
	margin: 0;
	color: #777777;
	font-size: 13px;
	line-height: 1.6;
}


/* BUTTON */

.clf-form-submit {
	text-align: center;
	margin-top: 30px;
}

.clf-verify-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 15px;
	background: #c49e40;
	color: #ffffff;
	border: 0;
	border-radius: 5px;
	padding: 15px 30px;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.2s ease;
}

.clf-verify-button:hover {
	background: #a9842f;
	transform: translateY(-1px);
}

.clf-verify-button span {
	font-size: 20px;
	line-height: 0;
}


/* FOOTER LINK */

.clf-form-footer {
	text-align: center;
	margin-top: 25px;
	padding-top: 20px;
	border-top: 1px solid #eeeeee;
}

.clf-form-footer p {
	margin: 0;
	color: #777777;
	font-size: 13px;
}

.clf-form-footer a {
	color: #b28c32;
	font-weight: 600;
	text-decoration: none;
}

.clf-form-footer a:hover {
	text-decoration: underline;
}


/* MOBILE */

@media (max-width: 767px) {

	.clf-inducted-hero {
		padding: 50px 20px;
	}

	.clf-inducted-hero h1 {
		font-size: 30px;
	}

	.clf-inducted-hero p {
		font-size: 15px;
	}

	.clf-inducted-content {
		margin-top: -20px;
		padding: 0 12px;
	}

	.clf-inducted-card {
		padding: 30px 22px;
	}

	.clf-verification-steps {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.clf-inducted-intro h2 {
		font-size: 23px;
	}

	.clf-verify-button {
		width: 100%;
	}

}

.clf-verification-success {
	background: #f0f8f1;
	border-left: 4px solid #4a8f55;
	color: #285d32;
	padding: 16px 20px;
	margin-bottom: 25px;
	border-radius: 4px;
	font-size: 14px;
	line-height: 1.6;
}

.clf-verification-error {
	background: #fff4f4;
	border-left: 4px solid #c94b4b;
	color: #8a2929;
	padding: 16px 20px;
	margin-bottom: 25px;
	border-radius: 4px;
	font-size: 14px;
	line-height: 1.6;
}

/* =========================================================
   CLF INDUCTED MEMBER ACCOUNT CREATION
   ========================================================= */

.clf-account-page {
	width: 100%;
	padding: 40px 20px 70px;
}

.clf-account-card {
	max-width: 950px;
	margin: 0 auto;
	background: #ffffff;
	border-radius: 10px;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
	overflow: hidden;
}

.clf-account-header {
	background: #18212b;
	padding: 45px;
	text-align: center;
}

.clf-account-eyebrow {
	display: block;
	color: #c49e40;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 2px;
	margin-bottom: 12px;
}

.clf-account-header h2 {
	color: #ffffff;
	font-size: 32px;
	margin: 0 0 12px;
}

.clf-account-header p {
	color: rgba(255, 255, 255, 0.82);
	max-width: 650px;
	margin: 0 auto;
	font-size: 15px;
	line-height: 1.7;
}

.clf-account-form {
	padding: 45px;
}

.clf-verified-member {
	background: #f8f6f0;
	border: 1px solid #e7dfca;
	border-left: 4px solid #c49e40;
	padding: 22px;
	margin-bottom: 40px;
	border-radius: 5px;
}

.clf-verified-title {
	color: #18212b;
	font-size: 16px;
	font-weight: 700;
	margin-bottom: 20px;
}

.clf-verified-title span {
	display: inline-flex;
	width: 25px;
	height: 25px;
	align-items: center;
	justify-content: center;
	background: #c49e40;
	color: #ffffff;
	border-radius: 50%;
	font-size: 13px;
	margin-right: 8px;
}

.clf-verified-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

.clf-verified-grid span {
	display: block;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: #888888;
	margin-bottom: 5px;
}

.clf-verified-grid strong {
	display: block;
	color: #18212b;
	font-size: 14px;
}

.clf-verified-note {
	margin: 20px 0 0;
	padding-top: 15px;
	border-top: 1px solid #e5dfd2;
	color: #777777;
	font-size: 12px;
	line-height: 1.6;
}

.clf-account-section {
	margin-bottom: 45px;
}

.clf-account-section-title {
	display: flex;
	align-items: center;
	gap: 12px;
	color: #18212b;
	font-size: 19px;
	font-weight: 700;
	padding-bottom: 14px;
	margin-bottom: 25px;
	border-bottom: 2px solid #c49e40;
}

.clf-account-section-title span {
	display: inline-flex;
	width: 32px;
	height: 32px;
	align-items: center;
	justify-content: center;
	background: #c49e40;
	color: #ffffff;
	border-radius: 50%;
	font-size: 12px;
}

.clf-section-description {
	color: #777777;
	font-size: 13px;
	line-height: 1.7;
	margin: -10px 0 25px;
}

.clf-account-fields {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px 25px;
}

.clf-account-field {
	width: 100%;
}

.clf-full-width {
	grid-column: 1 / -1;
}

.clf-account-field label {
	display: block;
	color: #18212b;
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 8px;
}

.clf-account-field label span {
	color: #c49e40;
}

.clf-account-field input,
.clf-account-field select,
.clf-account-field textarea {
	width: 100%;
	box-sizing: border-box;
	border: 1px solid #dddddd;
	border-radius: 5px;
	background: #ffffff;
	color: #333333;
	font-size: 14px;
	padding: 13px 15px;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.clf-account-field input,
.clf-account-field select {
	height: 50px;
}

.clf-account-field textarea {
	resize: vertical;
	min-height: 110px;
}

.clf-account-field input:focus,
.clf-account-field select:focus,
.clf-account-field textarea:focus {
	border-color: #c49e40;
	box-shadow: 0 0 0 3px rgba(196, 158, 64, 0.12);
	outline: none;
}

.clf-account-field input[readonly] {
	background: #f5f5f5;
	color: #777777;
	cursor: not-allowed;
}

.clf-account-field small {
	display: block;
	color: #888888;
	font-size: 11px;
	line-height: 1.5;
	margin-top: 7px;
}

.clf-account-confirmation {
	display: flex;
	gap: 15px;
	align-items: flex-start;
	background: #f8f6f0;
	border-left: 4px solid #c49e40;
	padding: 20px;
	margin: 10px 0 30px;
	border-radius: 4px;
}

.clf-confirmation-icon {
	flex: 0 0 30px;
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #c49e40;
	color: #ffffff;
	border-radius: 50%;
	font-size: 14px;
	font-weight: 700;
}

.clf-account-confirmation strong {
	color: #18212b;
}

.clf-account-confirmation p {
	margin: 7px 0 0;
	color: #777777;
	font-size: 13px;
	line-height: 1.8;
}

.clf-account-submit {
	text-align: center;
	margin-top: 35px;
}

.clf-create-account-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 15px;
	background: #c49e40;
	color: #ffffff;
	border: 0;
	border-radius: 5px;
	padding: 16px 35px;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.2s ease;
}

.clf-create-account-button:hover {
	background: #a9842f;
	transform: translateY(-1px);
	color: #ffffff;
}

.clf-create-account-button span {
	font-size: 20px;
	line-height: 0;
}

.clf-account-privacy {
	max-width: 700px;
	margin: 20px auto 0;
	text-align: center;
	color: #888888;
	font-size: 11px;
	line-height: 1.6;
}

@media (max-width: 767px) {

	.clf-account-page {
		padding: 20px 12px 50px;
	}

	.clf-account-header {
		padding: 35px 22px;
	}

	.clf-account-header h2 {
		font-size: 25px;
	}

	.clf-account-form {
		padding: 30px 22px;
	}

	.clf-verified-grid {
		grid-template-columns: 1fr 1fr;
	}

	.clf-account-fields {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.clf-full-width {
		grid-column: auto;
	}

	.clf-create-account-button {
		width: 100%;
	}

}


/* =========================================================

/* ===== Migrated from child-theme style.css: CLF membership page and member login ===== */
   CLF MEMBERSHIP PAGE
   ========================================================= */

.clf-membership-page {
	max-width: 1200px;
	margin: 0 auto 50px;
	color: #18212b;
}


/* =========================================================
   MEMBER HEADER
   ========================================================= */

.clf-membership-header {
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
	background: #18212b;
	padding: 35px 40px;
	margin-bottom: 30px;
	border-radius: 4px;
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.clf-membership-header::after {
	content: "";
	position: absolute;
	width: 220px;
	height: 220px;
	border: 1px solid rgba(196, 158, 64, 0.18);
	border-radius: 50%;
	right: -70px;
	top: -100px;
	pointer-events: none;
}

.clf-membership-header::before {
	content: "";
	position: absolute;
	width: 140px;
	height: 140px;
	border: 1px solid rgba(196, 158, 64, 0.12);
	border-radius: 50%;
	right: 60px;
	bottom: -90px;
	pointer-events: none;
}

.clf-membership-header-left {
	position: relative;
	z-index: 3;
	display: flex;
	align-items: center;
	gap: 22px;
	min-width: 0;
}

.clf-membership-photo {
	flex: 0 0 105px;
	width: 105px;
	height: 105px;
	padding: 4px;
	background: #ffffff;
	border: 2px solid #c49e40;
	border-radius: 50%;
	box-sizing: border-box;
	overflow: hidden;
	box-shadow: 0 5px 18px rgba(0, 0, 0, 0.18);
}

.clf-membership-photo img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover;
	border-radius: 50%;
}

.clf-membership-identity {
	min-width: 0;
}

.clf-membership-identity > span {
	display: block;
	margin-bottom: 6px;
	color: #c49e40;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 1.8px;
}

.clf-membership-identity h2 {
	position: relative;
	z-index: 2;
	margin: 0 0 5px;
	color: #ffffff;
	font-size: 28px;
	font-weight: 600;
	line-height: 1.25;
}

.clf-membership-identity p {
	margin: 0;
	color: rgba(255, 255, 255, 0.65);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.3px;
}


/* =========================================================
   MEMBERSHIP STATUS
   ========================================================= */

.clf-membership-header .clf-membership-status {
	position: relative;
	z-index: 5;
	flex: 0 0 auto;
	min-width: 145px;
	padding: 14px 18px;
	border-left: 2px solid #c49e40;
	background: rgba(255, 255, 255, 0.05);
	text-align: left;
}

.clf-membership-header .clf-membership-status span {
	display: block;
	margin-bottom: 5px;
	color: rgba(255, 255, 255, 0.60);
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 1.3px;
	text-transform: uppercase;
}

.clf-membership-header .clf-membership-status strong {
	display: block;
	color: #c49e40;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.3;
}


/* =========================================================
   MEMBERSHIP SECTIONS
   ========================================================= */

.clf-membership-section {
	padding: 30px;
	margin-bottom: 25px;
	background: #ffffff;
	border: 1px solid #e5e7e9;
	border-radius: 4px;
	box-shadow: 0 5px 18px rgba(0, 0, 0, 0.035);
}

.clf-membership-section-heading {
	padding-bottom: 20px;
	margin-bottom: 25px;
	border-bottom: 1px solid #eeeeee;
}

.clf-membership-section-heading h3 {
	margin: 0 0 6px;
	color: #18212b;
	font-size: 21px;
	font-weight: 600;
	line-height: 1.3;
}

.clf-membership-section-heading p {
	margin: 0;
	color: #777f87;
	font-size: 13px;
	line-height: 1.6;
}


/* =========================================================
   MEMBERSHIP DETAILS
   ========================================================= */

.clf-membership-details {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	background: transparent;
	border: 0;
}

.clf-membership-details > div {
	position: relative;
	padding: 20px 20px 18px;
	background: #fafafa;
	border: 1px solid #e7e7e7;
	border-radius: 3px;
	transition: all 0.25s ease;
}

.clf-membership-details > div::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 3px;
	height: 100%;
	background: #c49e40;
	border-radius: 3px 0 0 3px;
}

.clf-membership-details > div:hover {
	background: #ffffff;
	border-color: #d8d8d8;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
	transform: translateY(-2px);
}

.clf-membership-details span {
	display: block;
	margin-bottom: 8px;
	color: #858c92;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.8px;
	line-height: 1.4;
	text-transform: uppercase;
}

.clf-membership-details strong {
	display: block;
	color: #18212b;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.5;
	word-break: break-word;
}


/* =========================================================
   MEMBERSHIP DETAILS — TABLET
   ========================================================= */

@media (max-width: 900px) {

	.clf-membership-details {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

}


/* =========================================================
   MEMBERSHIP DETAILS — MOBILE
   ========================================================= */

@media (max-width: 600px) {

	.clf-membership-details {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.clf-membership-details > div {
		padding: 17px 18px 16px;
	}

}
/* =========================================================
   MEMBERSHIP BENEFITS
   ========================================================= */

.clf-membership-benefits {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

.clf-membership-benefits > div {
	padding: 20px;
	background: #fafafa;
	border: 1px solid #eeeeee;
	border-left: 3px solid #c49e40;
	transition: all 0.25s ease;
}

.clf-membership-benefits > div:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.clf-membership-benefits strong {
	display: block;
	margin-bottom: 7px;
	color: #18212b;
	font-size: 14px;
	font-weight: 700;
}

.clf-membership-benefits p {
	margin: 0;
	color: #777f87;
	font-size: 13px;
	line-height: 1.65;
}


/* =========================================================
   PROFILE LINK
   ========================================================= */

.clf-membership-profile-link {
	padding: 20px 0;
	text-align: center;
}

.clf-membership-profile-link p {
	margin: 0 0 12px;
	color: #777f87;
	font-size: 13px;
}

.clf-membership-profile-link a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 20px;
	background: #c49e40;
	border: 1px solid #c49e40;
	border-radius: 3px;
	color: #18212b !important;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	text-decoration: none !important;
	transition: all 0.25s ease;
}

.clf-membership-profile-link a:hover {
	background: #18212b;
	border-color: #18212b;
	color: #ffffff !important;
}


/* =========================================================
   ATTORNEYPRESS COMPATIBILITY
   ========================================================= */

.clf-membership-page h1,
.clf-membership-page h2,
.clf-membership-page h3,
.clf-membership-page p {
	font-family: inherit;
}

.clf-membership-page img {
	max-width: 100%;
	height: auto;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

	.clf-membership-header {
		padding: 30px;
	}

	.clf-membership-photo {
		width: 90px;
		height: 90px;
		flex-basis: 90px;
	}

	.clf-membership-identity h2 {
		font-size: 25px;
	}

	.clf-membership-header .clf-membership-status {
		min-width: 125px;
	}

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

	.clf-membership-header {
		flex-direction: column;
		align-items: flex-start;
		padding: 28px 22px;
	}

	.clf-membership-header-left {
		width: 100%;
		gap: 17px;
	}

	.clf-membership-photo {
		width: 82px;
		height: 82px;
		flex-basis: 82px;
	}

	.clf-membership-identity h2 {
		font-size: 22px;
	}

	.clf-membership-header .clf-membership-status {
		width: 100%;
		min-width: 0;
		box-sizing: border-box;
		border-left: 0;
		border-top: 2px solid #c49e40;
	}

	.clf-membership-section {
		padding: 22px 18px;
	}

	.clf-membership-details {
		grid-template-columns: 1fr;
	}

	.clf-membership-benefits {
		grid-template-columns: 1fr;
	}

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

	.clf-membership-header-left {
		flex-direction: column;
		align-items: flex-start;
	}

	.clf-membership-photo {
		width: 95px;
		height: 95px;
		flex-basis: 95px;
	}

	.clf-membership-identity h2 {
		font-size: 21px;
	}

	.clf-membership-section-heading h3 {
		font-size: 19px;
	}

}


/* =========================================
   CLF MEMBER DASHBOARD — STAGE 1
   Welcome Header
   ========================================= */

.clf-edit-profile-header {
	position: relative;
	margin-bottom: 45px;
	padding: 35px 40px;
	background: #18212b;
	border-radius: 4px;
	overflow: hidden;
	box-sizing: border-box;
}

.clf-edit-profile-header::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 4px;
	height: 100%;
	background: #c49e40;
}

.clf-edit-profile-header::after {
	content: "";
	position: absolute;
	right: -90px;
	top: -90px;
	width: 220px;
	height: 220px;
	border: 1px solid rgba(196, 158, 64, 0.18);
	border-radius: 50%;
	pointer-events: none;
}

.clf-dashboard-member {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	gap: 30px;
}

.clf-profile-photo {
	flex: 0 0 110px;
	width: 110px;
	height: 110px;
}

.clf-profile-avatar {
	display: block;
	width: 110px !important;
	height: 110px !important;
	border-radius: 50% !important;
	object-fit: cover;
	border: 3px solid rgba(196, 158, 64, 0.9);
	box-sizing: border-box;
}

.clf-dashboard-member-content {
	flex: 1;
	min-width: 0;
}

.clf-dashboard-eyebrow {
	display: block;
	margin-bottom: 7px;
	color: #c49e40;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 2px;
	line-height: 1.5;
}

.clf-dashboard-member-content h2 {
	margin: 0 0 10px;
	color: #ffffff;
	font-size: 30px;
	font-weight: 600;
	line-height: 1.25;
}

.clf-dashboard-intro {
	max-width: 650px;
	margin: 0 0 20px;
	color: rgba(255, 255, 255, 0.72);
	font-size: 14px;
	line-height: 1.7;
}

.clf-dashboard-member-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 25px;
	margin-bottom: 22px;
}

.clf-dashboard-meta-item {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.clf-dashboard-meta-item span {
	color: rgba(255, 255, 255, 0.5);
	font-size: 10px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.clf-dashboard-meta-item strong {
	color: #ffffff;
	font-size: 14px;
	font-weight: 600;
}

.clf-dashboard-profile-button {
	display: inline-block;
	padding: 11px 20px;
	background: #c49e40;
	color: #18212b !important;
	border: 1px solid #c49e40;
	border-radius: 2px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.4;
	text-decoration: none !important;
	transition: all 0.25s ease;
}

.clf-dashboard-profile-button:hover {
	background: #ffffff;
	border-color: #ffffff;
	color: #18212b !important;
}


/* =========================================
   TABLET
   ========================================= */

@media (max-width: 767px) {

	.clf-edit-profile-header {
		margin-bottom: 35px;
		padding: 30px 25px;
	}

	.clf-dashboard-member {
		align-items: flex-start;
		gap: 22px;
	}

	.clf-profile-photo,
	.clf-profile-avatar {
		width: 85px !important;
		height: 85px !important;
	}

	.clf-profile-photo {
		flex: 0 0 85px;
	}

	.clf-dashboard-member-content h2 {
		font-size: 24px;
	}

	.clf-dashboard-intro {
		font-size: 13px;
	}

	.clf-dashboard-member-meta {
		gap: 18px;
	}

}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 520px) {

	.clf-edit-profile-header {
		padding: 28px 20px;
	}

	.clf-dashboard-member {
		display: block;
	}

	.clf-profile-photo {
		margin-bottom: 20px;
	}

	.clf-dashboard-member-content h2 {
		font-size: 23px;
	}

	.clf-dashboard-intro {
		margin-bottom: 18px;
	}

	.clf-dashboard-member-meta {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 15px;
	}

	.clf-dashboard-profile-button {
		width: 100%;
		box-sizing: border-box;
		text-align: center;
	}

}

/* =========================================
   CLF MEMBER LOGIN PAGE — CENTRED
   ========================================= */

body:has(.pmpro_login_wrap) {
    background: #f7f8f9;
}

.pmpro_login_wrap {
    width: 100% !important;
    max-width: 520px !important;
    margin: 60px auto 80px !important;
    padding: 0 !important;
    float: none !important;
    position: relative !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    box-sizing: border-box !important;
}

/* Force the PMPro form itself to remain centred */
.pmpro_login_wrap form.pmpro_form {
    width: 100% !important;
    max-width: 520px !important;
    margin: 0 auto !important;
    padding: 35px 40px 40px !important;
    background: #ffffff;
    border: 1px solid #e1e4e7;
    border-top: 4px solid #c49e40;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,.06);
    box-sizing: border-box !important;
}

/* Heading */
.pmpro_login_wrap h2 {
    margin: 0 0 8px !important;
    color: #18212b !important;
    font-size: 28px !important;
    font-weight: 600 !important;
    line-height: 1.3;
    text-align: center;
}

.pmpro_login_wrap h2::after {
    content: "Access your Construction Law Forum member account";
    display: block;
    margin-top: 9px;
    color: #777f86;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.6;
}

/* Labels */
.pmpro_login_wrap label {
    display: block;
    margin-bottom: 7px;
    color: #18212b !important;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
}

/* Inputs */
.pmpro_login_wrap input[type="text"],
.pmpro_login_wrap input[type="email"],
.pmpro_login_wrap input[type="password"] {
    width: 100% !important;
    height: 48px;
    padding: 0 14px !important;
    background: #fff !important;
    border: 1px solid #d9dde1 !important;
    border-radius: 2px !important;
    color: #18212b !important;
    font-size: 14px !important;
    box-sizing: border-box !important;
    box-shadow: none !important;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.pmpro_login_wrap input[type="text"]:focus,
.pmpro_login_wrap input[type="email"]:focus,
.pmpro_login_wrap input[type="password"]:focus {
    border-color: #c49e40 !important;
    box-shadow: 0 0 0 2px rgba(196,158,64,.12) !important;
    outline: none !important;
}

/* Field spacing */
.pmpro_login_wrap .pmpro_form_field {
    margin-bottom: 20px;
}

.pmpro_login_wrap .pmpro_form_field-password {
    margin-bottom: 10px;
}

/* Remember me */
.pmpro_login_wrap .pmpro_form_field-checkbox {
    margin-top: 5px;
    margin-bottom: 20px;
}

.pmpro_login_wrap .pmpro_form_field-checkbox label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #777f86 !important;
    font-size: 12px;
    font-weight: 400;
}

.pmpro_login_wrap input[type="checkbox"] {
    width: 15px;
    height: 15px;
    accent-color: #c49e40;
}

/* Links */
.pmpro_login_wrap a {
    color: #18212b;
    text-decoration: none;
}

.pmpro_login_wrap a:hover {
    color: #c49e40;
}

/* Login button */
.pmpro_login_wrap input[type="submit"],
.pmpro_login_wrap button[type="submit"] {
    width: 100% !important;
    height: 48px;
    margin-top: 5px;
    padding: 0 20px !important;
    background: #c49e40 !important;
    border: 1px solid #c49e40 !important;
    border-radius: 2px !important;
    color: #18212b !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: .5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all .25s ease;
}

.pmpro_login_wrap input[type="submit"]:hover,
.pmpro_login_wrap button[type="submit"]:hover {
    background: #18212b !important;
    border-color: #18212b !important;
    color: #fff !important;
}

/* Messages */
.pmpro_login_wrap .pmpro_message {
    margin-bottom: 22px;
    padding: 12px 15px;
    border-radius: 2px;
    font-size: 13px;
    line-height: 1.6;
}

/* Bottom links */
.pmpro_login_wrap .pmpro_actions_nav {
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid #e5e7e9;
    text-align: center;
}

.pmpro_login_wrap .pmpro_actions_nav a {
    color: #18212b;
    font-size: 12px;
    font-weight: 600;
}

.pmpro_login_wrap .pmpro_actions_nav a:hover {
    color: #c49e40;
}

/* =========================================
   DESKTOP — FORCE CENTRE
   ========================================= */

@media (min-width: 768px) {

    body:has(.pmpro_login_wrap) .site-content,
    body:has(.pmpro_login_wrap) .content-area,
    body:has(.pmpro_login_wrap) .entry-content {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    body:has(.pmpro_login_wrap) .pmpro_login_wrap {
        display: block !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 600px) {

    .pmpro_login_wrap {
        width: calc(100% - 30px) !important;
        max-width: 520px !important;
        margin: 30px auto 50px !important;
    }

    .pmpro_login_wrap form.pmpro_form {
        width: 100% !important;
        padding: 28px 22px 30px !important;
    }

    .pmpro_login_wrap h2 {
        font-size: 24px !important;
    }
}


/* =========================================================

/* ===== Migrated from child-theme style.css: CLF homepage news grid ===== */
   CLF NEWS GRID — CONSISTENT FEATURED IMAGES
========================================================= */

.clf-home-news-image {
    position: relative;
    display: block;
    width: 100%;
    height: 235px;
    overflow: hidden;
    background: #202326;
    aspect-ratio: 16 / 9;
}

.clf-home-news-image img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    min-width: 100%;
    min-height: 100%;
    max-width: none !important;
    object-fit: cover !important;
    object-position: center center;
    transition: transform .6s ease;
}

.clf-home-news-card:hover .clf-home-news-image img {
    transform: scale(1.045);
}


/* =========================================================
   SECTION HEADING
========================================================= */

.clf-home-news-heading {
    max-width: 760px;
    margin: 0 auto 55px;
    text-align: center;
}

.clf-home-news-kicker {
    position: relative;
    display: inline-block;
    margin-bottom: 13px;
    padding-left: 22px;
    color: #c89b3c;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2.7px;
    line-height: 1.4;
}

.clf-home-news-kicker::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 12px;
    height: 2px;
    background: #c89b3c;
    transform: translateY(-50%);
}

.clf-home-news-heading h2 {
    margin: 0 0 15px;
    color: #111315;
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 700;
    line-height: 1.12;
}

.clf-home-news-heading p {
    max-width: 680px;
    margin: 0 auto;
    color: #6d7074;
    font-size: 15px;
    line-height: 1.8;
}


/* =========================================================
   GRID
========================================================= */

.clf-home-news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 50px;
}


/* =========================================================
   CARD
========================================================= */

.clf-home-news-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: #ffffff;
    border: 1px solid #e6e3dc;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.055);
    transition:
        transform .35s ease,
        box-shadow .35s ease,
        border-color .35s ease;
}

.clf-home-news-card:hover {
    transform: translateY(-7px);
    border-color: rgba(200, 155, 60, 0.65);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.10);
}


/* =========================================================
   IMAGE
========================================================= */

.clf-home-news-image {
    position: relative;
    display: block;
    height: 225px;
    overflow: hidden;
    background: #202326;
}

.clf-home-news-image::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 4px;
    background: #c89b3c;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s ease;
}

.clf-home-news-card:hover .clf-home-news-image::after {
    transform: scaleX(1);
}

.clf-home-news-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

.clf-home-news-card:hover .clf-home-news-image img {
    transform: scale(1.045);
}


/* =========================================================
   FALLBACK IMAGE
========================================================= */

.clf-home-news-no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 30px;
    background:
        linear-gradient(
            135deg,
            #111315,
            #24282b
        );
    color: #e4c36d;
    text-align: center;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}


/* =========================================================
   CONTENT
========================================================= */

.clf-home-news-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 27px 28px 30px;
}

.clf-home-news-category {
    margin-bottom: 11px;
    color: #c89b3c;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    line-height: 1.5;
    text-transform: uppercase;
}

.clf-home-news-content h3 {
    margin: 0 0 11px;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.3;
}

.clf-home-news-content h3 a {
    color: #181a1c;
    text-decoration: none;
    transition: color .25s ease;
}

.clf-home-news-content h3 a:hover {
    color: #a87d27;
}

.clf-home-news-date {
    margin-bottom: 15px;
    color: #8a8d91;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.1px;
    text-transform: uppercase;
}

.clf-home-news-excerpt {
    margin: 0 0 23px;
    color: #6d7074;
    font-size: 14px;
    line-height: 1.75;
}


/* =========================================================
   READ ARTICLE
========================================================= */

.clf-home-news-read {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    color: #111315 !important;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    text-decoration: none !important;
    text-transform: uppercase;
}

.clf-home-news-read strong {
    color: #c89b3c;
    font-size: 19px;
    line-height: 1;
    transition: transform .25s ease;
}

.clf-home-news-read:hover {
    color: #c89b3c !important;
}

.clf-home-news-read:hover strong {
    transform: translateX(5px);
}


/* =========================================================
   FOOTER LINK
========================================================= */

.clf-home-news-footer {
    display: flex;
    justify-content: center;
    margin-top: 52px;
}

.clf-home-news-all {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 15px 25px;
    border: 1px solid #c89b3c;
    color: #111315 !important;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.4px;
    text-decoration: none !important;
    text-transform: uppercase;
    transition:
        background .3s ease,
        color .3s ease;
}

.clf-home-news-all strong {
    color: #c89b3c;
    font-size: 20px;
    line-height: 1;
}

.clf-home-news-all:hover {
    background: #c89b3c;
    color: #111315 !important;
}

.clf-home-news-all:hover strong {
    color: #111315;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .clf-home-news-section {
        padding: 85px 0;
    }

    .clf-home-news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .clf-home-news-image {
        height: 210px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {

    .clf-home-news-section {
        padding: 70px 0 75px;
    }

    .clf-home-news-container {
        width: min(100% - 36px, 1240px);
    }

    .clf-home-news-heading {
        margin-bottom: 38px;
    }

    .clf-home-news-heading h2 {
        font-size: 31px;
    }

    .clf-home-news-heading p {
        font-size: 14px;
    }

    .clf-home-news-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .clf-home-news-image {
        height: 220px;
    }

    .clf-home-news-content {
        padding: 24px 23px 27px;
    }
}


/* CLF NEWS GRID - MOBILE CENTER FIX */
@media (max-width: 650px) {

    .clf-home-news-section {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
        overflow-x: hidden;
    }

    .clf-home-news-container {
        width: calc(100% - 30px) !important;
        max-width: none !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box;
    }

    .clf-home-news-grid {
        width: 100%;
        margin-left: 0 !important;
        margin-right: 0 !important;
        grid-template-columns: 1fr !important;
        gap: 24px;
    }

    .clf-home-news-card {
        width: 100%;
        max-width: 100%;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box;
    }

    .clf-home-news-image {
        width: 100%;
        box-sizing: border-box;
    }
}


/* =========================================================
   CLF CORE — RESPONSIVE SAFETY LAYER
   Keep CLF component layouts readable on phones and tablets.
   This is intentionally scoped to CLF component classes only.
   ========================================================= */
.clf-membership-gateway,
.clf-inducted-page,
.clf-home-news-section,
.clf-home-news-container,
.clf-events-section,
.clf-membership-page,
.clf-membership-details,
.clf-membership-benefits,
.clf-member-dashboard,
.clf-profile-form,
.clf-edit-profile-header {
    box-sizing: border-box;
    min-width: 0;
}

.clf-membership-gateway *,
.clf-inducted-page *,
.clf-home-news-section *,
.clf-events-section *,
.clf-membership-page *,
.clf-member-dashboard *,
.clf-profile-form * {
    box-sizing: border-box;
}

.clf-membership-page img,
.clf-inducted-page img,
.clf-home-news-section img,
.clf-events-section img,
.clf-membership-gateway img {
    max-width: 100%;
    height: auto;
}

.clf-membership-details > div,
.clf-membership-benefits > div,
.clf-membership-card,
.clf-home-news-card,
.clf-profile-form input,
.clf-profile-form select,
.clf-profile-form textarea,
.clf-inducted-page input,
.clf-inducted-page select,
.clf-inducted-page textarea {
    min-width: 0;
    max-width: 100%;
}

@media (max-width: 767px) {
    .clf-events-section {
        padding: 48px 16px;
    }

    .clf-events-heading {
        margin-bottom: 28px;
    }

    .clf-events-heading h2 {
        font-size: clamp(25px, 7vw, 32px);
        line-height: 1.25;
        overflow-wrap: anywhere;
    }

    .clf-events-heading p,
    .clf-gateway-header p {
        font-size: 15px;
        line-height: 1.65;
    }

    .clf-membership-gateway {
        width: 100%;
        padding: 38px 16px;
    }

    .clf-gateway-header {
        margin-bottom: 30px;
    }

    .clf-gateway-header h1 {
        font-size: clamp(27px, 7vw, 34px);
        line-height: 1.2;
        overflow-wrap: anywhere;
    }

    .clf-membership-options,
    .clf-membership-details,
    .clf-membership-benefits,
    .clf-home-news-grid {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .clf-membership-card {
        padding: 28px 20px;
    }

    .clf-membership-card h2 {
        font-size: 22px;
        line-height: 1.3;
        overflow-wrap: anywhere;
    }

    .clf-membership-card p {
        min-height: 0;
    }

    .clf-membership-button,
    .clf-view-events,
    .clf-membership-profile-link a {
        max-width: 100%;
        white-space: normal;
        text-align: center;
        overflow-wrap: anywhere;
    }

    .clf-inducted-hero {
        padding: 42px 18px;
    }

    .clf-inducted-hero:after {
        max-width: 45vw;
        max-height: 45vw;
    }

    .clf-membership-header {
        padding: 22px 18px;
    }

    .clf-membership-photo {
        max-width: 76px;
        max-height: 76px;
        flex-shrink: 0;
    }

    .clf-membership-page h1,
    .clf-membership-page h2,
    .clf-membership-page h3 {
        overflow-wrap: anywhere;
    }

    .clf-membership-page table,
    .clf-inducted-page table,
    .clf-member-dashboard table {
        display: block;
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .clf-profile-form input,
    .clf-profile-form select,
    .clf-profile-form textarea,
    .clf-inducted-page input,
    .clf-inducted-page select,
    .clf-inducted-page textarea {
        width: 100%;
        font-size: 16px;
    }

    .clf-home-news-section {
        overflow-x: clip;
    }

    .clf-home-news-container {
        width: calc(100% - 30px) !important;
        max-width: 100% !important;
    }

    .clf-home-news-card,
    .clf-home-news-content {
        min-width: 0;
        overflow-wrap: anywhere;
    }
}

@media (max-width: 420px) {
    .clf-events-section,
    .clf-membership-gateway {
        padding-left: 12px;
        padding-right: 12px;
    }

    .clf-membership-card {
        padding: 24px 16px;
    }

    .clf-inducted-hero {
        padding: 34px 14px;
    }

    .clf-membership-header {
        padding: 18px 14px;
    }

    .clf-membership-profile-link a,
    .clf-membership-button,
    .clf-view-events {
        width: 100%;
        justify-content: center;
    }
}

/* =========================================================
   CLF HOMEPAGE NEWS GRID — SPACING AND IMAGE CONSISTENCY FIX
   Keep cards close together and crop featured images to a
   consistent frame instead of letting source dimensions vary.
========================================================= */
.clf-home-news-grid {
    column-gap: 0 !important;
    row-gap: 20px !important;
    align-items: stretch;
}

.clf-home-news-image {
    display: block;
    width: 100%;
    height: 225px !important;
    min-height: 225px;
    max-height: 225px;
    aspect-ratio: 16 / 9;
    flex: 0 0 225px;
    overflow: hidden;
    box-sizing: border-box;
}

.clf-home-news-image img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: cover !important;
    object-position: center center;
}

@media (max-width: 1000px) {
    .clf-home-news-grid {
        column-gap: 0 !important;
        row-gap: 20px !important;
    }

    .clf-home-news-image {
        height: 210px !important;
        min-height: 210px;
        max-height: 210px;
        flex-basis: 210px;
    }
}

@media (max-width: 650px) {
    .clf-home-news-grid {
        column-gap: 0 !important;
        row-gap: 20px !important;
    }

    .clf-home-news-image {
        height: 220px !important;
        min-height: 220px;
        max-height: 220px;
        flex-basis: 220px;
    }
}

