/*
Theme Name: Ladies in Law Static
Author: Estate Engine
Description: Static-rendered replacement theme for Ladies in Law without Elementor runtime rendering.
Version: 0.1.4
Text Domain: lil-static
*/

:root {
  --lil-green: #007565;
  --lil-teal: #08a889;
  --lil-lime: #a3c655;
  --lil-ink: #202020;
  --lil-muted: #5d625f;
  --lil-paper: #ffffff;
  --e-global-color-primary: #000000;
  --e-global-color-secondary: #555555;
  --e-global-color-text: #000000;
  --e-global-color-accent: #a3c655;
  --e-global-typography-primary-font-family: "Rosario";
  --e-global-typography-primary-font-size: 50px;
  --e-global-typography-primary-font-weight: 600;
  --e-global-typography-secondary-font-family: "Rosario";
  --e-global-typography-secondary-font-weight: 400;
  --e-global-typography-text-font-family: "PT Sans";
  --e-global-typography-text-font-weight: 400;
  --e-global-typography-accent-font-family: "PT Sans";
  --e-global-typography-accent-font-weight: 400;
  --e-global-typography-accent-font-style: italic;
}

html { scroll-behavior: smooth; }
body { margin: 0; color: var(--lil-ink); background: var(--lil-paper); }
.lil-native { font-family: Mulish, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.6; }
.lil-native a { color: var(--lil-green); }
.lil-wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.lil-header { padding: 22px 0; border-bottom: 1px solid #e6ecea; background: #fff; }
.lil-header .lil-wrap { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.lil-logo img { width: 220px; max-width: 52vw; height: auto; display: block; }
.lil-nav { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; font-size: 15px; font-weight: 700; }
.lil-nav a { color: #1d3733; text-decoration: none; }
.lil-nav a:hover { color: var(--lil-green); }
.lil-main { padding: 56px 0 72px; }
.lil-post-hero { padding: 58px 0 34px; background: #f4faf8; }
.lil-post-hero h1 { max-width: 900px; margin: 0; color: var(--lil-green); font-family: Georgia, serif; font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.05; }
.lil-meta { margin-top: 16px; color: var(--lil-muted); font-weight: 700; }
.lil-content { max-width: 850px; margin: 0 auto; font-size: 18px; }
.lil-content img { max-width: 100%; height: auto; }
.lil-content h2, .lil-content h3 { color: var(--lil-green); line-height: 1.18; margin-top: 2em; }
.lil-post-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 26px; }
.lil-card { border: 1px solid #e4ece9; padding: 24px; background: #fff; border-radius: 4px; }
.lil-card h2 { margin-top: 0; font-size: 1.25rem; line-height: 1.25; }
.lil-card h2 a { color: var(--lil-green); text-decoration: none; }
.lil-card time { color: var(--lil-muted); font-size: 14px; font-weight: 700; }
.lil-footer { padding: 42px 0; background: #063c35; color: #fff; }
.lil-footer a { color: #fff; }

/* The captured Elementor mobile menu inherits page heading sizes unless reset. */
.elementor-location-header .elementor-nav-menu--toggle .elementor-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 4px;
  color: #202020;
  background: #f1f3f4;
  line-height: 1;
}

.elementor-location-header .elementor-nav-menu--toggle .elementor-menu-toggle svg {
  width: 24px;
  height: 24px;
}

.elementor-location-header .elementor-nav-menu--toggle .elementor-nav-menu--dropdown {
  box-sizing: border-box;
  left: 50% !important;
  right: auto !important;
  transform: none !important;
  margin-left: max(-260px, calc(-50vw + 10px)) !important;
  width: min(100vw, 520px) !important;
  max-width: calc(100vw - 24px);
  max-height: min(72vh, 620px) !important;
  overflow-y: auto !important;
  margin: 12px auto 0;
  padding: 10px 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.96);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.elementor-location-header .elementor-nav-menu--toggle .elementor-nav-menu--dropdown ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.elementor-location-header .elementor-nav-menu--toggle .elementor-nav-menu--dropdown li {
  margin: 0;
}

.elementor-location-header .elementor-nav-menu--toggle .elementor-nav-menu--dropdown a.elementor-item,
.elementor-location-header .elementor-nav-menu--toggle .elementor-nav-menu--dropdown a.elementor-sub-item {
  display: block;
  box-sizing: border-box;
  width: 100%;
  padding: 9px 22px;
  color: #ffffff;
  font-family: "PT Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(17px, 2.1vw, 22px) !important;
  font-weight: 400 !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
  text-align: center !important;
  text-decoration: none;
  white-space: normal;
}

.elementor-location-header .elementor-nav-menu--toggle .elementor-nav-menu--dropdown a:hover,
.elementor-location-header .elementor-nav-menu--toggle .elementor-nav-menu--dropdown a:focus,
.elementor-location-header .elementor-nav-menu--toggle .elementor-nav-menu--dropdown a.elementor-item-active {
  color: #ffffff;
  background: rgba(163, 198, 85, 0.32);
}

.elementor-location-header .elementor-nav-menu--toggle .elementor-menu-toggle:not(.elementor-active) + .elementor-nav-menu--dropdown {
  max-height: 0 !important;
  overflow: hidden !important;
  padding-top: 0;
  padding-bottom: 0;
  border-width: 0;
  transform: scaleY(0) !important;
}

.elementor-location-header .elementor-nav-menu--toggle .elementor-menu-toggle.elementor-active + .elementor-nav-menu--dropdown {
  transform: none !important;
}

@media (max-width: 767px) {
  .elementor-location-header .elementor-nav-menu--toggle .elementor-nav-menu--dropdown {
    width: calc(100vw - 20px) !important;
    max-height: min(560px, calc(100vh - 270px)) !important;
    margin-top: 10px;
  }

  .elementor-location-header .elementor-nav-menu--toggle .elementor-nav-menu--dropdown a.elementor-item,
  .elementor-location-header .elementor-nav-menu--toggle .elementor-nav-menu--dropdown a.elementor-sub-item {
    padding: 8px 18px;
    font-size: 18px !important;
  }
}

@media (min-width: 1025px) {
  .elementor-27 .elementor-element.elementor-element-53090f5:not(.elementor-motion-effects-element-type-background),
  .elementor-27 .elementor-element.elementor-element-53090f5 > .elementor-motion-effects-container > .elementor-motion-effects-layer {
    background-image: linear-gradient(116deg, #a4c655 0 calc(50% - 170px), #000000 calc(50% - 168px) 100%) !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-size: 100% 100% !important;
  }
}

/* Dynamic blog posts use the captured Elementor shell, with native post content. */
.lil-single-post {
	background: #fff;
	color: #2f2f2f;
	font-family: "PT Sans", Arial, sans-serif;
}

.lil-post-article {
	max-width: 1240px;
	margin: 0 auto;
	padding: 30px;
}

.lil-post-hero {
	text-align: center;
	margin: 0 auto 28px;
	padding: 30px;
	background: transparent;
}

.lil-post-hero h1 {
	color: #000;
	font-family: "Rosario", Arial, sans-serif;
	font-size: clamp(40px, 4vw, 50px);
	font-weight: 600;
	line-height: 1.14;
	max-width: none;
	margin: 0;
}

.lil-post-layout {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(280px, 3fr);
	gap: 0;
	align-items: start;
}

.lil-post-content {
	font-size: 18px;
	line-height: 1.55;
}

.lil-post-content p,
.lil-post-content ul,
.lil-post-content ol {
	margin: 0 0 15px;
}

.lil-post-content li {
	margin-top: 15px;
}

.lil-post-content li:last-child {
	margin-bottom: 20px;
}

.lil-post-content figure {
	padding: 10px;
}

.lil-post-content h2,
.lil-post-content h3,
.lil-post-content h4 {
	color: #000;
	font-family: "Rosario", Arial, sans-serif;
	font-weight: 700;
	line-height: 1.15;
	margin: 20px 0 0.5em;
}

.lil-post-content h2 {
	font-size: 32px;
}

.lil-post-content h3 {
	font-size: 26px;
}

.lil-post-content a {
	color: #86a93f;
	text-decoration: underline !important;
}

.lil-post-sidebar {
	padding-left: 30px;
}

.lil-post-cta {
	position: relative;
	margin-bottom: 24px;
	background-color: #e4e4e4;
	border: 7px solid #e4e4e4;
	overflow: hidden;
}

.lil-post-cta-image {
	aspect-ratio: 1.35 / 1;
	background-position: center;
	background-size: cover;
}

.lil-post-cta-content {
	position: relative;
	width: 100%;
	padding: 20px;
	text-align: center;
	background: #e4e4e4;
}

.lil-post-cta h3 {
	color: #000;
	font-family: "Rosario", Arial, sans-serif;
	font-size: 20px;
	font-weight: 500;
	line-height: 1.22;
	margin: 0 0 14px;
	-webkit-text-stroke: 0;
	text-shadow: none;
}

.lil-post-cta h3 span {
	text-decoration: underline;
}

.lil-post-cta a {
	display: inline-block;
	background: #a3c655;
	color: #000;
	font-family: "PT Sans", Arial, sans-serif;
	font-weight: 500;
	padding: 12px 18px;
	text-decoration: none;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.lil-author-box {
	display: grid;
	grid-template-columns: 35% 1fr;
	gap: 18px;
	align-items: start;
	margin: 8px 0 30px;
}

.lil-author-box img {
	width: 100%;
	height: auto;
	display: block;
}

.lil-author-box h2 {
	color: #000;
	font-family: "Rosario", Arial, sans-serif;
	font-size: 30px;
	font-weight: 600;
	line-height: 1.1;
	margin: 0 0 8px;
}

.lil-author-box p {
	font-size: 15px;
	line-height: 1.45;
	margin: 0;
}

.lil-related-posts {
	margin-top: 18px;
}

.lil-related-posts > h3 {
	color: #000;
	font-family: "Rosario", Arial, sans-serif;
	font-size: 30px;
	font-weight: 600;
	margin: 0 0 18px;
}

.lil-related-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.lil-related-card img {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	margin-bottom: 15px;
}

.lil-related-card h4 {
	font-family: "Rosario", Arial, sans-serif;
	font-size: 17px;
	font-weight: 600;
	line-height: 19px;
	margin: 0 0 8px;
}

.lil-related-card h4 a {
	color: #000;
	text-decoration: none;
}

.lil-related-read {
	color: #a3c655;
	font-family: "PT Sans", Arial, sans-serif;
	font-size: 16px;
	text-decoration: none;
}

.lil-not-found {
	max-width: 980px;
	margin: 0 auto;
	padding: 80px 28px 96px;
	text-align: center;
	font-family: "PT Sans", Arial, sans-serif;
}

.lil-not-found h1 {
	color: #000;
	font-family: "Rosario", Arial, sans-serif;
	font-size: clamp(44px, 5vw, 68px);
	font-weight: 600;
	line-height: 1.1;
	margin: 0 0 18px;
}

.lil-not-found p {
	font-size: 24px;
	margin: 0 0 26px;
}

.lil-not-found a {
	display: inline-block;
	background: #a3c655;
	color: #000;
	font-size: 20px;
	font-weight: 700;
	padding: 14px 26px;
	text-decoration: none;
	box-shadow: 0 2px 7px rgba(0, 0, 0, 0.22);
}

@media (max-width: 767px) {
	.lil-post-article {
		padding: 30px 20px 60px;
	}

	.lil-post-hero h1 {
		font-size: 40px;
	}

	.lil-post-layout {
		display: block;
	}

	.lil-post-sidebar {
		padding-left: 0;
		margin-top: 30px;
	}

	.lil-author-box,
	.lil-related-grid {
		grid-template-columns: 1fr;
	}
}
