/*
Theme Name: Limay Child
Template: hello-elementor
Description: Municipality of Limay official website - 60-30-10 maroon & gold palette
Version: 1.2.0
*/

@font-face { font-family: 'Gontserrat'; font-style: normal; font-weight: 100; font-display: swap; src: url('fonts/Gontserrat-Thin.ttf') format('truetype'); }
@font-face { font-family: 'Gontserrat'; font-style: italic; font-weight: 100; font-display: swap; src: url('fonts/Gontserrat-ThinItalic.ttf') format('truetype'); }
@font-face { font-family: 'Gontserrat'; font-style: normal; font-weight: 200; font-display: swap; src: url('fonts/Gontserrat-ExtraLight.ttf') format('truetype'); }
@font-face { font-family: 'Gontserrat'; font-style: italic; font-weight: 200; font-display: swap; src: url('fonts/Gontserrat-ExtraLightItalic.ttf') format('truetype'); }
@font-face { font-family: 'Gontserrat'; font-style: normal; font-weight: 300; font-display: swap; src: url('fonts/Gontserrat-Light.ttf') format('truetype'); }
@font-face { font-family: 'Gontserrat'; font-style: italic; font-weight: 300; font-display: swap; src: url('fonts/Gontserrat-LightItalic.ttf') format('truetype'); }
@font-face { font-family: 'Gontserrat'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/Gontserrat-Regular.ttf') format('truetype'); }
@font-face { font-family: 'Gontserrat'; font-style: italic; font-weight: 400; font-display: swap; src: url('fonts/Gontserrat-Italic.ttf') format('truetype'); }
@font-face { font-family: 'Gontserrat'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/Gontserrat-Medium.ttf') format('truetype'); }
@font-face { font-family: 'Gontserrat'; font-style: italic; font-weight: 500; font-display: swap; src: url('fonts/Gontserrat-MediumItalic.ttf') format('truetype'); }
@font-face { font-family: 'Gontserrat'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/Gontserrat-SemiBold.ttf') format('truetype'); }
@font-face { font-family: 'Gontserrat'; font-style: italic; font-weight: 600; font-display: swap; src: url('fonts/Gontserrat-SemiBoldItalic.ttf') format('truetype'); }
@font-face { font-family: 'Gontserrat'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/Gontserrat-Bold.ttf') format('truetype'); }
@font-face { font-family: 'Gontserrat'; font-style: italic; font-weight: 700; font-display: swap; src: url('fonts/Gontserrat-BoldItalic.ttf') format('truetype'); }
@font-face { font-family: 'Gontserrat'; font-style: normal; font-weight: 800; font-display: swap; src: url('fonts/Gontserrat-ExtraBold.ttf') format('truetype'); }
@font-face { font-family: 'Gontserrat'; font-style: italic; font-weight: 800; font-display: swap; src: url('fonts/Gontserrat-ExtraBoldItalic.ttf') format('truetype'); }
@font-face { font-family: 'Gontserrat'; font-style: normal; font-weight: 900; font-display: swap; src: url('fonts/Gontserrat-Black.ttf') format('truetype'); }
@font-face { font-family: 'Gontserrat'; font-style: italic; font-weight: 900; font-display: swap; src: url('fonts/Gontserrat-BlackItalic.ttf') format('truetype'); }

:root {
	--ly-primary: #8c1836;
	--ly-deep: #6f1229;
	--ly-darker: #4a0c1c;
	--ly-brick: #a62929;
	--ly-ink: #43141f;
	--ly-accent: #d9a521;
	--ly-accent-deep: #b3860f;
	--ly-cream: #fbf4e0;
	--ly-bg-soft: #f8f3ec;
	--ly-text: #6d5a5e;
	--ly-radius: 6px;
	--ly-shadow: 0 6px 24px rgba(67, 20, 31, 0.12);
}

html { scroll-behavior: smooth; }

body {
	font-family: 'Gontserrat', sans-serif;
	font-size: 17px;
	line-height: 1.55;
	color: var(--ly-text);
	background: #fff;
	margin: 0;
}

h1, h2, h3, h4 { font-family: 'Gontserrat', sans-serif; color: var(--ly-ink); margin: 0 0 14px; }

.ly-container { max-width: 1270px; margin: 0 auto; padding: 0 20px; }

.ly-btn {
	display: inline-block;
	padding: 12px 28px;
	border-radius: var(--ly-radius);
	font-weight: 700;
	font-size: 15px;
	text-decoration: none;
	transition: background 0.2s;
}
.ly-btn-navy { background: var(--ly-primary); color: #fff; }
.ly-btn-navy:hover { background: var(--ly-deep); color: #fff; }

.ly-center { text-align: right; margin-top: 28px; }

/* Top bar */
.ly-topbar { background: var(--ly-darker); color: #fff; padding: 8px 0; }
.ly-topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.ly-brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: #fff; }
.ly-seal {
	width: 80px; height: 80px; border-radius: 50%;
	object-fit: cover; display: block; flex: 0 0 auto;
	background: #fff; box-shadow: 0 0 0 2px rgba(255,255,255,0.85);
}
.ly-brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.ly-brand-text small { font-size: 12px; letter-spacing: 0.5px; opacity: 0.85; text-transform: uppercase; }
.ly-brand-text strong { font-size: 24px; letter-spacing: 1.5px; text-transform: uppercase; line-height: 1.1; }
.ly-utility { display: flex; align-items: center; gap: 26px; }
.ly-utility a { color: #fff; text-decoration: none; font-size: 13px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; opacity: 0.9; }
.ly-utility a:hover { opacity: 1; color: var(--ly-accent); }
.ly-util-drop { position: relative; display: inline-flex; align-items: center; }
.ly-caret { font-size: 9px; opacity: 0.7; margin-left: 3px; }
.ly-util-menu {
	position: absolute; top: 100%; left: 50%; transform: translate(-50%, 8px);
	min-width: 215px; margin: 0; padding: 8px 0; list-style: none;
	background: #fff; border-radius: var(--ly-radius);
	box-shadow: 0 12px 32px rgba(67, 20, 31, 0.28);
	opacity: 0; visibility: hidden; transition: all 0.2s ease; z-index: 300;
}
.ly-util-menu::before { content: ''; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.ly-util-drop:hover .ly-util-menu,
.ly-util-drop:focus-within .ly-util-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.ly-util-menu a {
	display: block; padding: 9px 18px; color: var(--ly-ink);
	text-transform: none; letter-spacing: 0.3px; font-weight: 600; font-size: 13px; opacity: 1;
}
.ly-util-menu a:hover { background: var(--ly-bg-soft); color: var(--ly-primary); }

/* Header nav */
.ly-header {
	background: #fff;
	position: sticky; top: 0; z-index: 100;
	box-shadow: 0 2px 12px rgba(67, 20, 31, 0.08);
}
.ly-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 62px; }
.ly-menu { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.ly-menu > li { position: relative; }
.ly-menu a {
	display: block; padding: 20px 12px;
	color: var(--ly-ink); text-decoration: none;
	font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
	border-bottom: 3px solid transparent;
}
.ly-menu a:hover { color: var(--ly-primary); border-bottom-color: var(--ly-accent); }
.ly-has-sub > a::after, .menu-item-has-children > a::after { content: " \25BE"; font-size: 9px; opacity: 0.7; margin-left: 4px; }
.ly-sub-menu, .ly-menu .sub-menu {
	position: absolute; top: 100%; left: 0;
	min-width: 230px; margin: 0; padding: 8px 0; list-style: none;
	background: #fff; border-radius: var(--ly-radius);
	box-shadow: 0 12px 32px rgba(67, 20, 31, 0.22);
	opacity: 0; visibility: hidden; transform: translateY(8px); transition: all 0.2s ease; z-index: 300;
}
.ly-menu li:hover > .ly-sub-menu,
.ly-menu li:focus-within > .ly-sub-menu,
.ly-menu li:hover > .sub-menu,
.ly-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.ly-sub-menu a, .ly-menu .sub-menu a {
	padding: 10px 18px; border-bottom: 0;
	text-transform: none; letter-spacing: 0.3px; font-weight: 600; font-size: 13px;
}
.ly-sub-menu a:hover, .ly-menu .sub-menu a:hover { background: var(--ly-bg-soft); }
.ly-search { display: flex; }
.ly-search input {
	border: 1px solid #e6dcd2; border-right: 0; border-radius: var(--ly-radius) 0 0 var(--ly-radius);
	padding: 9px 14px; font-family: inherit; font-size: 14px; width: 190px; outline: none;
}
.ly-search button {
	background: var(--ly-primary); color: #fff; border: 0;
	padding: 9px 16px; border-radius: 0 var(--ly-radius) var(--ly-radius) 0;
	font-weight: 700; cursor: pointer; font-family: inherit;
}
.ly-search button:hover { background: var(--ly-deep); }

/* Hero */
.ly-hero { position: relative; height: 540px; overflow: hidden; background: var(--ly-deep); }
.ly-slide {
	position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease;
	display: flex; align-items: center;
}
.ly-slide.is-active { opacity: 1; }
.ly-slide .ly-container { width: 100%; }
.ly-slide.g1 { background: linear-gradient(105deg, rgba(74,12,28,0.95) 0%, rgba(140,24,54,0.78) 55%, rgba(217,165,33,0.38) 130%); }
.ly-slide.g2 { background: linear-gradient(105deg, rgba(67,20,31,0.95) 0%, rgba(166,41,41,0.82) 60%, rgba(217,165,33,0.30) 130%); }
.ly-slide.g3 { background: linear-gradient(105deg, rgba(74,12,28,0.95) 0%, rgba(140,24,54,0.75) 55%, rgba(217,165,33,0.62) 130%); }
.ly-hero-content { max-width: 620px; }
.ly-hero-kicker { color: #fff; font-size: 18px; margin: 0 0 6px; }
.ly-hero-title { color: #fff; font-size: 54px; font-weight: 700; margin: 0 0 10px; }
.ly-hero-title span { color: var(--ly-accent); }
.ly-hero-sub { color: #fff; opacity: 0.9; font-size: 18px; margin: 0 0 4px; }
.ly-hero-place { color: #fff; opacity: 0.75; font-size: 15px; margin: 0 0 26px; }
.ly-dots { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; }
.ly-dot {
	width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0;
	background: rgba(255, 255, 255, 0.45); cursor: pointer;
}
.ly-dot.is-active { background: #fff; transform: scale(1.25); }

/* Section titles */
.ly-section-title { text-align: center; font-size: 32px; font-weight: 700; margin: 0 0 6px; }
.ly-section-sub { text-align: center; margin: 0 0 44px; }

/* Mayor */
.ly-mayor { padding: 80px 0; background: var(--ly-bg-soft); }
.ly-mayor-grid { display: grid; grid-template-columns: 380px 1fr; gap: 56px; align-items: start; }
.ly-portrait-frame {
	height: 440px; border-radius: var(--ly-radius);
	background: linear-gradient(160deg, var(--ly-primary) 0%, var(--ly-darker) 100%);
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
	box-shadow: var(--ly-shadow); color: #fff; text-align: center;
}
.ly-portrait-initial {
	width: 130px; height: 130px; border-radius: 50%;
	background: radial-gradient(circle at 30% 30%, #f3d47c, var(--ly-accent));
	display: flex; align-items: center; justify-content: center;
	font-size: 60px; font-weight: 700; color: var(--ly-darker);
}
.ly-portrait-name { font-weight: 700; letter-spacing: 1px; font-size: 15px; line-height: 1.5; }
.ly-mayor-text h2 { font-size: 30px; }
.ly-mayor-text blockquote {
	margin: 24px 0; padding: 6px 0 6px 22px;
	border-left: 4px solid var(--ly-accent);
}
.ly-mayor-text blockquote p { font-size: 20px; font-style: italic; color: var(--ly-primary); margin: 0 0 8px; }
.ly-mayor-text blockquote footer { font-size: 14px; }
.ly-follow { font-size: 14px; margin-bottom: 10px; }
.ly-social { display: flex; gap: 10px; }
.ly-social a {
	width: 38px; height: 38px; border-radius: 50%;
	background: var(--ly-deep); color: #fff; text-decoration: none;
	display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px;
}
.ly-social a:hover { background: var(--ly-primary); }

/* Meet our Municipal Team */
.ly-team { padding: 80px 0; background: var(--ly-bg-soft); }
.ly-team-photo {
	margin: 0 auto 30px; max-width: 1100px;
	border-radius: var(--ly-radius); overflow: hidden;
	box-shadow: var(--ly-shadow); background: #fff;
}
.ly-team-photo img { display: block; width: 100%; height: auto; }
.ly-team-follow { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.ly-team-follow .ly-follow { margin: 0; }
.ly-btn-fb { display: inline-flex; align-items: center; gap: 10px; }
.ly-btn-fb i { font-size: 14px; }
@media (max-width: 768px) {
	.ly-team { padding: 56px 0; }
	.ly-team-photo { margin-bottom: 22px; }
}

/* News */
.ly-news { padding: 80px 0; background: var(--ly-cream); }
.ly-news-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.ly-news-card {
	background: #fff; border-radius: var(--ly-radius); overflow: hidden;
	box-shadow: var(--ly-shadow); display: flex; flex-direction: column;
}
.ly-news-thumb {
	display: block; position: relative; height: 170px;
	background: linear-gradient(140deg, #e3cfa8, #c9a06a);
}
.ly-news-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ly-date-badge {
	position: absolute; left: 12px; bottom: 12px;
	background: var(--ly-accent); color: var(--ly-darker);
	font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 3px;
}
.ly-news-body { padding: 18px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.ly-news-body h3 { font-size: 16px; line-height: 1.4; margin: 0; }
.ly-news-body h3 a { color: var(--ly-ink); text-decoration: none; }
.ly-news-body h3 a:hover { color: var(--ly-primary); }
.ly-readmore {
	margin-top: auto; align-self: flex-start;
	background: #f1e8da; color: var(--ly-ink); text-decoration: none;
	font-size: 13px; font-weight: 700; padding: 8px 14px; border-radius: 4px;
}
.ly-readmore:hover { background: var(--ly-primary); color: #fff; }
.ly-empty { grid-column: 1 / -1; text-align: center; padding: 30px; }

/* News auto-carousel — slides 1 card at a time */
.ly-news-carousel { position: relative; }
.ly-news-viewport { overflow: hidden; }
.ly-news-track {
	display: flex; gap: 22px;
	transition: transform 0.55s ease;
	will-change: transform;
}
.ly-news-track .ly-news-card {
	flex: 0 0 calc((100% - 66px) / 4);
}
.ly-news-dots { display: flex; justify-content: center; gap: 8px; margin-top: 28px; flex-wrap: wrap; }
.ly-news-dot {
	width: 8px; height: 8px; border-radius: 50%; border: 0; cursor: pointer; padding: 0;
	background: #c9b8a0; transition: background 0.2s, transform 0.2s;
}
.ly-news-dot.is-active { background: var(--ly-primary); transform: scale(1.25); width: 22px; border-radius: 4px; }
.ly-news-dot:hover { background: var(--ly-primary); }
@media (max-width: 1024px) {
	.ly-news-track .ly-news-card { flex: 0 0 calc((100% - 22px) / 2); }
}
@media (max-width: 640px) {
	.ly-news-track .ly-news-card { flex: 0 0 100%; }
}

/* Services */
.ly-services { padding: 80px 0; }
.ly-services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.ly-service-list {
	background: var(--ly-primary); border-radius: var(--ly-radius); overflow: hidden;
	display: flex; flex-direction: column;
}
.ly-service-head { background: var(--ly-deep); color: #fff; padding: 22px 24px; font-size: 22px; font-weight: 700; }
.ly-service-list a {
	display: flex; justify-content: space-between; align-items: center; gap: 12px;
	color: #fff; text-decoration: none; padding: 17px 24px;
	font-weight: 600; font-size: 15px; border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.ly-service-list a:last-child { border-bottom: 0; }
.ly-service-list a:hover { background: rgba(255, 255, 255, 0.1); padding-left: 30px; transition: all 0.2s; }
.ly-service-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.ly-tile {
	border-radius: var(--ly-radius); text-decoration: none;
	display: flex; align-items: flex-end; padding: 20px;
	color: #fff; font-weight: 700; font-size: 19px; min-height: 150px;
	box-shadow: var(--ly-shadow); transition: transform 0.2s;
}
.ly-tile:hover { transform: translateY(-4px); color: #fff; }
.ly-tile.t1 { background: linear-gradient(135deg, #8c1836, #b3475e); }
.ly-tile.t2 { background: linear-gradient(135deg, #4a0c1c, #8c1836); }
.ly-tile.t3 { background: linear-gradient(135deg, #b3860f, #d9a521); color: var(--ly-darker); }
.ly-tile.t4 { background: linear-gradient(135deg, #a62929, #6f1229); }
.ly-tile.ly-tile-logo {
	background: #fff; color: var(--ly-ink);
	padding: 0; overflow: hidden; gap: 0;
	align-items: stretch; justify-content: center; text-align: center;
}
.ly-tile.ly-tile-logo:hover { color: var(--ly-primary); }
.ly-tile-logo .ly-tile-img { display: block; width: 100%; height: 100%; line-height: 0; }
.ly-tile-logo .ly-tile-img img { display: block; width: 100%; height: 100%; max-width: none; max-height: none; object-fit: contain; }
.ly-tile-logo .ly-tile-label { font-size: 15px; font-weight: 700; line-height: 1.3; }

/* Highlights */
.ly-highlights { padding: 80px 0 0; }
.ly-highlight-strip {
	display: flex; gap: 16px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none; margin-top: 44px; padding: 10px 20px 10px 20px; scroll-behavior: smooth; scroll-padding: 0 20px; cursor: grab; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
}
.ly-highlight-strip:active { cursor: grabbing; }
.ly-highlight-strip::-webkit-scrollbar { display: none; }
.ly-highlight-strip .ly-highlight { flex: 0 0 300px; scroll-snap-align: start; flex-shrink: 0; }
.ly-highlight {
	position: relative; height: 300px; text-decoration: none;
	display: flex; align-items: flex-end; padding: 22px; overflow: hidden;
	transition: opacity 0.2s;
}
.ly-highlight:hover { opacity: 0.92; }
.ly-highlight span {
	color: #fff; font-weight: 700; font-size: 21px;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
}
.ly-highlight.h1 { background: linear-gradient(160deg, #d9a521, #a62929); }
.ly-highlight.h2 { background: linear-gradient(160deg, #8c1836, #4a0c1c); }
.ly-highlight.h3 { background: linear-gradient(160deg, #a62929, #6f1229); }
.ly-highlight.h4 { background: linear-gradient(160deg, #d9a521, #8c1836); }

/* Footer */
.ly-footer { background: var(--ly-darker); color: rgba(255, 255, 255, 0.75); padding: 64px 0 0; margin-top: 0; }
.ly-footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
.ly-footer h4 { color: #fff; font-size: 17px; margin: 0 0 18px; }
.ly-footer ul { list-style: none; margin: 0; padding: 0; }
.ly-footer ul li { margin-bottom: 10px; }
.ly-footer a { color: rgba(255, 255, 255, 0.75); text-decoration: none; font-size: 14px; }
.ly-footer a:hover { color: var(--ly-accent); }
.ly-footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.ly-footer-brand .ly-seal { width: 52px; height: 52px; }
.ly-footer-brand strong { color: #fff; font-size: 17px; letter-spacing: 1px; text-transform: uppercase; }
.ly-footer-address, .ly-footer-meta { font-size: 14px; margin: 0 0 12px; }
.ly-badges { display: flex; flex-wrap: wrap; gap: 12px; }
.ly-badge {
	width: 74px; height: 74px; border-radius: 50%;
	border: 2px dashed rgba(255, 255, 255, 0.4);
	display: inline-flex; align-items: center; justify-content: center;
	text-align: center; font-size: 10px; font-weight: 700; color: rgba(255, 255, 255, 0.7);
	padding: 8px;
}
.ly-footer-bottom {
	margin-top: 48px; padding: 18px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	text-align: center; font-size: 13px;
}

/* Responsive */
@media (max-width: 1024px) {
	.ly-news-grid { grid-template-columns: repeat(2, 1fr); }
	.ly-mayor-grid { grid-template-columns: 1fr; }
	.ly-portrait-frame { max-width: 380px; }
	.ly-services-grid { grid-template-columns: 1fr; }
	.ly-footer-grid { grid-template-columns: 1fr 1fr; }
	.ly-hero-title { font-size: 42px; }
}
@media (max-width: 640px) {
	.ly-topbar-inner { flex-direction: column; align-items: flex-start; }
	.ly-utility { flex-wrap: wrap; gap: 12px; }
	.ly-header-inner { flex-direction: column; align-items: flex-start; padding: 12px 20px; }
	.ly-menu a { padding: 10px 12px 10px 0; }
	.ly-news-grid { grid-template-columns: 1fr; }
	.ly-footer-grid { grid-template-columns: 1fr; }
	.ly-hero { height: 460px; }
	.ly-hero-title { font-size: 34px; }
	.ly-service-tiles { grid-template-columns: 1fr; }
}

/* Inner pages */
.ly-page { padding: 50px 0 80px; }
.ly-page-title { font-size: 34px; font-weight: 700; margin: 0 0 12px; }
.ly-page-intro { margin: 0 0 36px; max-width: 820px; }
.ly-prose { max-width: 900px; }
.ly-prose p { margin: 0 0 18px; }

.ly-profile-grid { display: grid; grid-template-columns: 1fr 400px; gap: 50px; align-items: start; }
.ly-vm h3 { font-size: 19px; letter-spacing: 1.5px; text-transform: uppercase; margin: 26px 0 10px; }
.ly-vm h3:first-child { margin-top: 0; }
.ly-values { list-style: none; margin: 0; padding: 0; }
.ly-values li { padding: 6px 0 6px 22px; position: relative; }
.ly-values li::before { content: ''; position: absolute; left: 0; top: 14px; width: 9px; height: 9px; border-radius: 50%; background: var(--ly-accent); }
.ly-profile-side { display: flex; justify-content: center; }
.ly-seal-large {
	width: 360px; height: 360px; border-radius: 50%;
	background: #fff; border: 8px solid var(--ly-accent);
	display: block; padding: 0; overflow: hidden; box-shadow: var(--ly-shadow);
}
.ly-seal-large img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 50%; }
.ly-seal-large .ly-portrait-initial { width: 110px; height: 110px; font-size: 52px; background: #fff; color: var(--ly-primary); }
.ly-map-ph {
	height: 420px; border-radius: var(--ly-radius); margin: 44px 0 30px;
	background: linear-gradient(135deg, #e8dfd2, #d4c5ae);
	display: flex; align-items: center; justify-content: center;
	color: var(--ly-ink); font-weight: 700; font-size: 17px;
}

.ly-history-grid { display: grid; grid-template-columns: 1fr 380px; gap: 50px; align-items: start; }
.ly-history-photos { display: flex; flex-direction: column; gap: 24px; position: sticky; top: 90px; }
.ly-photo-ph {
	height: 240px; border-radius: var(--ly-radius);
	background: linear-gradient(150deg, var(--ly-primary), var(--ly-darker));
	display: flex; align-items: center; justify-content: center;
	color: rgba(255, 255, 255, 0.85); font-weight: 700;
}

.ly-gov-section { margin: 0 0 64px; }
.ly-gov-title { font-size: 27px; margin: 0 0 24px; padding-bottom: 12px; border-bottom: 3px solid var(--ly-accent); display: inline-block; }
.ly-exec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.ly-official-card { border: 1px solid #eadfd6; border-radius: var(--ly-radius); overflow: hidden; box-shadow: var(--ly-shadow); background: #fff; }
.ly-official-head { background: linear-gradient(120deg, var(--ly-primary), var(--ly-deep)); color: #fff; padding: 20px 24px; }
.ly-official-head small { display: block; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; opacity: 0.85; margin-bottom: 4px; }
.ly-official-head strong { font-size: 20px; }
.ly-official-body { padding: 18px 24px; }
.ly-official-body p { margin: 0 0 8px; font-size: 14px; }
.ly-official-body p:last-child { margin: 0; }

.ly-sb-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ly-sb-card { border: 1px solid #eadfd6; border-radius: var(--ly-radius); background: #fff; padding: 18px 20px; box-shadow: var(--ly-shadow); }
.ly-sb-card strong { display: block; color: var(--ly-ink); font-size: 15px; margin-bottom: 8px; }
.ly-sb-card p { margin: 10px 0 0; font-size: 13px; }
.ly-tag { display: inline-block; background: var(--ly-primary); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 3px 9px; border-radius: 20px; }
.ly-tag-green { background: #2e7d32; }

.ly-dept-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ly-dept-card { border: 1px solid #eadfd6; border-radius: var(--ly-radius); background: #fff; padding: 20px; box-shadow: var(--ly-shadow); border-top: 4px solid var(--ly-primary); }
.ly-dept-card strong { display: block; color: var(--ly-ink); font-size: 15px; margin-bottom: 8px; }
.ly-dept-card p { margin: 0 0 8px; font-size: 13px; }
.ly-dept-card p:last-child { margin: 0; }
.ly-dept-contact { color: var(--ly-primary); font-weight: 600; }
.ly-dept-contact-line { display: block; line-height: 1.5; }

.ly-bgy-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ly-bgy-card { border: 1px solid #eadfd6; border-radius: var(--ly-radius); background: #fff; padding: 16px 18px; box-shadow: var(--ly-shadow); }
.ly-bgy-card strong { display: block; color: var(--ly-ink); font-size: 14px; margin-bottom: 6px; }
.ly-bgy-card p { margin: 0 0 4px; font-size: 12.5px; }

@media (max-width: 1024px) {
	.ly-profile-grid, .ly-history-grid { grid-template-columns: 1fr; }
	.ly-history-photos { position: static; flex-direction: row; }
	.ly-photo-ph { flex: 1; }
	.ly-sb-grid, .ly-dept-grid { grid-template-columns: repeat(2, 1fr); }
	.ly-bgy-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
	.ly-exec-grid, .ly-sb-grid, .ly-dept-grid, .ly-bgy-grid { grid-template-columns: 1fr; }
	.ly-history-photos { flex-direction: column; }
	.ly-seal-large { width: 280px; height: 280px; }
}

/* Department card icons */
.ly-dept-card { position: relative; padding-left: 64px; min-height: 118px; }
.ly-dept-icon {
	position: absolute; left: 18px; top: 18px;
	width: 34px; height: 34px; border-radius: 8px;
	background: var(--ly-bg-soft); color: var(--ly-primary);
	display: inline-flex; align-items: center; justify-content: center;
	font-size: 16px;
}
.ly-bgy-pin { color: var(--ly-accent); margin-right: 2px; }

/* Statistics page */
.ly-stat-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 60px; }
.ly-stat-card {
	background: #fff; border: 1px solid #eadfd6; border-radius: var(--ly-radius);
	box-shadow: var(--ly-shadow); padding: 26px 20px; text-align: center;
	display: flex; flex-direction: column; gap: 6px; align-items: center;
}
.ly-stat-card i { font-size: 22px; color: var(--ly-primary); background: var(--ly-bg-soft); width: 48px; height: 48px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; }
.ly-stat-card strong { font-size: 26px; color: var(--ly-ink); }
.ly-stat-card span { font-size: 13px; }
.ly-stat-section { background: var(--ly-bg-soft); border-radius: var(--ly-radius); padding: 40px 36px; }
.ly-gov-ico { color: var(--ly-primary); margin-right: 8px; }
.ly-income-cards { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 18px; margin-bottom: 28px; }
.ly-income-main { background: linear-gradient(130deg, var(--ly-primary), var(--ly-deep)); border-radius: var(--ly-radius); color: #fff; padding: 26px; }
.ly-income-main span, .ly-income-sub span { display: block; font-size: 13px; opacity: 0.85; margin-bottom: 8px; }
.ly-income-main strong { font-size: 32px; font-weight: 700; }
.ly-income-sub { background: #fff; border: 1px solid #eadfd6; border-radius: var(--ly-radius); padding: 26px; box-shadow: var(--ly-shadow); }
.ly-income-sub strong { font-size: 24px; color: var(--ly-ink); }
.ly-income-bar-wrap { background: #fff; border: 1px solid #eadfd6; border-radius: var(--ly-radius); padding: 24px; box-shadow: var(--ly-shadow); }
.ly-bar-label { font-weight: 700; color: var(--ly-ink); margin: 0 0 14px; }
.ly-income-bar { display: flex; height: 34px; border-radius: 8px; overflow: hidden; }
.ly-bar-internal { background: linear-gradient(90deg, var(--ly-primary), var(--ly-brick)); }
.ly-bar-external { background: linear-gradient(90deg, var(--ly-accent-deep), var(--ly-accent)); }
.ly-bar-legend { display: flex; gap: 28px; margin-top: 14px; font-size: 13px; }
.ly-bar-legend i { display: inline-block; width: 11px; height: 11px; border-radius: 3px; margin-right: 6px; }
.ly-dot-internal { background: var(--ly-primary); }
.ly-dot-external { background: var(--ly-accent); }
.ly-chart-chips { display: flex; gap: 16px; margin-bottom: 20px; }
.ly-chip { background: #fff; border: 1px solid #eadfd6; border-radius: var(--ly-radius); padding: 12px 22px; font-size: 20px; font-weight: 700; color: var(--ly-ink); box-shadow: var(--ly-shadow); }
.ly-chip small { display: block; font-size: 11px; font-weight: 600; color: var(--ly-text); }
.ly-chip-now { background: var(--ly-primary); border-color: var(--ly-primary); color: #fff; }
.ly-chip-now small { color: rgba(255, 255, 255, 0.8); }
.ly-chart-box { background: #fff; border: 1px solid #eadfd6; border-radius: var(--ly-radius); padding: 26px; box-shadow: var(--ly-shadow); height: 380px; }
@media (max-width: 1024px) {
	.ly-stat-cards { grid-template-columns: repeat(2, 1fr); }
	.ly-income-cards { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	.ly-stat-cards { grid-template-columns: 1fr; }
	.ly-chart-box { height: 300px; padding: 16px; }
}

/* Services hub */
.ly-back-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 13px; color: var(--ly-primary); margin-bottom: 24px; text-decoration: none; }
.ly-back-link:hover { color: var(--ly-accent); }
.ly-svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.ly-svc-card { background: #fff; border: 1px solid #eadfd6; border-radius: var(--ly-radius); box-shadow: var(--ly-shadow); padding: 28px 24px; text-decoration: none; color: var(--ly-ink); display: flex; flex-direction: column; gap: 8px; transition: border-color .2s, box-shadow .2s, transform .15s; }
.ly-svc-card:hover { border-color: var(--ly-primary); box-shadow: 0 10px 30px rgba(0,0,0,.10); transform: translateY(-2px); color: var(--ly-ink); }
.ly-svc-ico { width: 44px; height: 44px; border-radius: 10px; background: var(--ly-bg-soft); color: var(--ly-primary); display: inline-flex; align-items: center; justify-content: center; font-size: 18px; }
.ly-svc-card strong { font-size: 17px; }
.ly-svc-card p { font-size: 13px; color: var(--ly-text); margin: 0; }
.ly-svc-count { font-size: 12px; color: var(--ly-primary); font-weight: 700; margin-top: 4px; }
@media (max-width: 640px) { .ly-svc-grid { grid-template-columns: 1fr; } }

/* Service list (category archive) */
/* Breadcrumb */
.ly-breadcrumb { font-size: 13px; color: var(--ly-text); margin-bottom: 28px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.ly-breadcrumb a { color: var(--ly-primary); text-decoration: none; }
.ly-breadcrumb a:hover { text-decoration: underline; }

/* Services Hub */
.ly-svc-hub-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.ly-svc-hub-card {
	background: #fff; border: 1px solid #eadfd6; border-radius: var(--ly-radius);
	box-shadow: var(--ly-shadow); padding: 28px 24px; text-decoration: none; color: var(--ly-ink);
	display: flex; flex-direction: column; gap: 6px; transition: border-color .2s, transform .15s;
}
.ly-svc-hub-card:hover { border-color: var(--ly-primary); transform: translateY(-2px); color: var(--ly-ink); }
.ly-svc-hub-icon {
	width: 52px; height: 52px; border-radius: 12px; background: var(--ly-bg-soft);
	color: var(--ly-primary); display: inline-flex; align-items: center; justify-content: center;
	font-size: 22px; margin-bottom: 8px;
}
.ly-svc-hub-card strong { font-size: 16px; }
.ly-svc-hub-card p { font-size: 13px; color: var(--ly-text); margin: 0; line-height: 1.5; }
.ly-svc-hub-office { font-size: 11px; font-weight: 700; color: var(--ly-primary); text-transform: uppercase; letter-spacing: .04em; margin-top: auto; padding-top: 8px; }

/* Service Category */
.ly-svc-cat-header { display: flex; gap: 20px; align-items: center; margin-bottom: 32px; }
.ly-svc-cat-icon {
	width: 56px; height: 56px; border-radius: 14px; background: var(--ly-primary);
	color: #fff; display: inline-flex; align-items: center; justify-content: center;
	font-size: 24px; flex-shrink: 0;
}
.ly-svc-cat-header .ly-page-title { margin-bottom: 0; }
.ly-svc-list { display: flex; flex-direction: column; gap: 12px; }
.ly-svc-list-item {
	display: flex; align-items: center; gap: 20px;
	background: #fff; border: 1px solid #eadfd6; border-radius: var(--ly-radius);
	padding: 22px 26px; box-shadow: var(--ly-shadow); text-decoration: none; color: var(--ly-ink);
	transition: border-color .2s, transform .15s;
}
.ly-svc-list-item:hover { border-color: var(--ly-primary); transform: translateY(-1px); color: var(--ly-ink); }
.ly-svc-list-body { flex: 1; }
.ly-svc-list-body strong { display: block; font-size: 16px; margin-bottom: 4px; }
.ly-svc-list-body p { font-size: 13px; color: var(--ly-text); margin: 0; }
.ly-svc-list-meta { display: flex; gap: 12px; flex-shrink: 0; flex-wrap: wrap; }
.ly-svc-meta-chip { font-size: 12px; color: var(--ly-text); white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; background: var(--ly-bg-soft); padding: 4px 10px; border-radius: 6px; }
.ly-svc-meta-chip i { color: var(--ly-primary); font-size: 11px; }
.ly-svc-meta-fee i { color: var(--ly-accent-deep); }
.ly-svc-arrow { color: var(--ly-muted); font-size: 13px; flex-shrink: 0; }
.ly-empty-state { text-align: center; padding: 60px 24px; background: #fff; border: 1px solid #eadfd6; border-radius: var(--ly-radius); color: var(--ly-text); }
.ly-empty-state i { font-size: 36px; color: var(--ly-muted); margin-bottom: 14px; display: block; }
.ly-empty-state p { max-width: 420px; margin: 0 auto; font-size: 14px; line-height: 1.6; }

/* Service Detail */
.ly-svc-detail-wrap { display: grid; grid-template-columns: 1.6fr 1fr; gap: 32px; align-items: start; }
.ly-svc-detail-main { background: #fff; border: 1px solid #eadfd6; border-radius: var(--ly-radius); padding: 32px; box-shadow: var(--ly-shadow); }
.ly-svc-detail-main .ly-page-title { margin-bottom: 16px; }
.ly-svc-detail-content { line-height: 1.7; color: var(--ly-ink); }
.ly-svc-detail-content p { margin-bottom: 14px; }
.ly-svc-detail-section { margin-top: 28px; padding-top: 24px; border-top: 1px solid #eadfd6; }
.ly-svc-detail-section h2 { font-size: 18px; margin-bottom: 14px; }
.ly-svc-req-list { list-style: none; margin: 0; padding: 0; }
.ly-svc-req-list > li { padding: 10px 0; border-bottom: 1px solid #f0ebe5; font-size: 14px; display: flex; gap: 10px; align-items: flex-start; }
.ly-svc-req-list > li:last-child { border-bottom: none; }
.ly-req-check { color: #22c55e; margin-top: 3px; flex-shrink: 0; }
.ly-req-body { flex: 1; min-width: 0; }
.ly-svc-req-sub { list-style: disc; margin: 6px 0 0 0; padding-left: 20px; }
.ly-svc-req-sub li { padding: 2px 0; font-size: 13px; color: var(--ly-text); display: list-item; }
.ly-svc-detail-aside { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 90px; }
.ly-svc-aside-card {
	background: #fff; border: 1px solid #eadfd6; border-radius: var(--ly-radius);
	padding: 22px 24px; box-shadow: var(--ly-shadow); text-align: center;
}
.ly-svc-aside-icon { font-size: 20px; color: var(--ly-primary); margin-bottom: 6px; }
.ly-svc-aside-card span { display: block; font-size: 12px; color: var(--ly-text); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 4px; }
.ly-svc-aside-card strong { display: block; font-size: 16px; color: var(--ly-ink); }
.ly-svc-print {
	display: block; text-align: center; padding: 14px; background: var(--ly-bg-soft);
	border-radius: var(--ly-radius); color: var(--ly-primary); font-weight: 700; font-size: 14px;
	text-decoration: none; transition: background .2s;
}
.ly-svc-print:hover { background: #eadfd6; color: var(--ly-primary); }

@media (max-width: 1024px) {
	.ly-svc-hub-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
	.ly-svc-list-item { flex-direction: column; align-items: flex-start; gap: 10px; padding: 18px 20px; }
	.ly-svc-list-meta { width: 100%; }
	.ly-svc-detail-wrap { grid-template-columns: 1fr; }
	.ly-svc-detail-aside { position: static; }
}

/* Legislative */
.ly-leg-toolbar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; margin-bottom: 24px; }
.ly-leg-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.ly-leg-tab {
	background: #fff; border: 1px solid #eadfd6; border-radius: var(--ly-radius);
	padding: 10px 20px; font-size: 14px; font-weight: 600; color: var(--ly-text);
	cursor: pointer; transition: all .2s;
}
.ly-leg-tab:hover { border-color: var(--ly-primary); color: var(--ly-primary); }
.ly-leg-tab.active { background: var(--ly-primary); border-color: var(--ly-primary); color: #fff; }
.ly-leg-search {
	position: relative; flex-shrink: 0;
}
.ly-leg-search i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--ly-muted); font-size: 13px; }
.ly-leg-search input {
	padding: 10px 14px 10px 38px; border: 1px solid #eadfd6; border-radius: var(--ly-radius);
	font-size: 14px; width: 260px; background: #fff; font-family: inherit;
}
.ly-leg-search input:focus { outline: none; border-color: var(--ly-primary); box-shadow: 0 0 0 3px rgba(140, 24, 54, 0.08); }
.ly-leg-table-wrap {
	background: #fff; border: 1px solid #eadfd6; border-radius: var(--ly-radius);
	box-shadow: var(--ly-shadow); overflow: hidden;
}
.ly-leg-table { width: 100%; border-collapse: collapse; }
.ly-leg-table th {
	text-align: left; padding: 14px 18px; font-size: 12px; font-weight: 700;
	text-transform: uppercase; letter-spacing: .04em; color: var(--ly-text);
	background: var(--ly-bg-soft); border-bottom: 1px solid #eadfd6;
}
.ly-leg-table td {
	padding: 14px 18px; border-bottom: 1px solid #f0ebe5; font-size: 14px; vertical-align: middle;
}
.ly-leg-table tbody tr:last-child td { border-bottom: none; }
.ly-leg-table tbody tr:hover { background: #fdf9f5; }
.ly-leg-pdf {
	display: inline-flex; align-items: center; gap: 5px;
	background: #fef2f2; color: var(--ly-primary); padding: 4px 12px; border-radius: 6px;
	font-size: 13px; font-weight: 600; text-decoration: none; transition: background .2s;
}
.ly-leg-pdf:hover { background: #fde8e8; color: var(--ly-primary); }
.ly-leg-empty { text-align: center; padding: 48px 20px; color: var(--ly-text); }
.ly-leg-empty i { display: block; font-size: 28px; color: var(--ly-muted); margin-bottom: 10px; }
.ly-muted { color: var(--ly-muted); }
@media (max-width: 768px) {
	.ly-leg-toolbar { flex-direction: column; align-items: stretch; }
	.ly-leg-search input { width: 100%; }
	.ly-leg-table { font-size: 13px; }
	.ly-leg-table th:nth-child(3), .ly-leg-table td:nth-child(3) { display: none; }
}

/* Transparency */
.ly-tf-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.ly-tf-card {
	background: #fff; border: 1px solid #eadfd6; border-radius: var(--ly-radius);
	box-shadow: var(--ly-shadow); overflow: hidden;
}
.ly-tf-card-head {
	display: flex; gap: 16px; align-items: flex-start; padding: 24px 24px 0;
}
.ly-tf-icon {
	width: 44px; height: 44px; border-radius: 10px; background: var(--ly-primary);
	color: #fff; display: inline-flex; align-items: center; justify-content: center;
	font-size: 18px; flex-shrink: 0;
}
.ly-tf-card-head strong { display: block; font-size: 15px; margin-bottom: 2px; }
.ly-tf-card-head p { font-size: 12px; color: var(--ly-text); margin: 0; line-height: 1.4; }
.ly-tf-card-body { padding: 16px 24px 24px; }
.ly-tf-empty { font-size: 13px; color: var(--ly-muted); text-align: center; padding: 18px 0 0; margin: 0; }
.ly-tf-empty i { margin-right: 4px; }
.ly-tf-docs { list-style: none; margin: 0; padding: 0; }
.ly-tf-docs li {
	display: flex; justify-content: space-between; align-items: center; gap: 12px;
	padding: 10px 0; border-bottom: 1px solid #f0ebe5;
}
.ly-tf-docs li:last-child { border-bottom: none; }
.ly-tf-doc-info strong { display: block; font-size: 13px; margin-bottom: 2px; }
.ly-tf-doc-info p { font-size: 12px; color: var(--ly-text); margin: 0; }
.ly-tf-doc-link {
	display: inline-flex; align-items: center; gap: 4px;
	background: #fef2f2; color: var(--ly-primary); padding: 4px 12px; border-radius: 6px;
	font-size: 12px; font-weight: 600; text-decoration: none; white-space: nowrap;
	transition: background .2s;
}
.ly-tf-doc-link:hover { background: #fde8e8; color: var(--ly-primary); }
@media (max-width: 768px) {
	.ly-tf-grid { grid-template-columns: 1fr; }
}

/* Bids & Awards - Balanga style */
.ly-bids-year { font-size: 15px; font-weight: 700; color: var(--ly-primary); margin: 36px 0 10px; }
.ly-bids-year:first-of-type { margin-top: 8px; }
.ly-bids-list { display: flex; flex-direction: column; gap: 6px; margin-bottom: 28px; }
.ly-bids-item { border: 1px solid #e5e5e5; border-radius: 3px; overflow: hidden; }
.ly-bids-head {
	width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px;
	background: #e9e9e9; border: 0; padding: 13px 16px; cursor: pointer;
	font-family: inherit; font-size: 13px; font-weight: 700; color: #222; text-align: left;
}
.ly-bids-head:hover { background: #e0e0e0; }
.ly-bids-head-left { display: inline-flex; align-items: center; gap: 8px; }
.ly-bids-head-left i { font-size: 11px; width: 14px; text-align: center; }
.ly-bids-toggle { font-size: 16px; font-weight: 400; line-height: 1; }
.ly-bids-body { display: none; background: #fff; padding: 16px 18px; border-top: 1px solid #e5e5e5; }
.ly-bids-item.is-open .ly-bids-body { display: block; }
.ly-bids-empty { margin: 0; font-size: 13px; color: var(--ly-muted); }
.ly-bids-docs { list-style: none; margin: 0; padding: 0; }
.ly-bids-docs li { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid #f0ebe5; }
.ly-bids-docs li:last-child { border-bottom: 0; }
.ly-bids-doc-info strong { display: block; font-size: 13px; color: var(--ly-ink); }
.ly-bids-doc-info p { margin: 2px 0 0; font-size: 12px; color: var(--ly-text); }
.ly-bids-doc-link { display: inline-flex; align-items: center; gap: 5px; background: #fef2f2; color: var(--ly-primary); padding: 4px 10px; border-radius: 4px; font-size: 12px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.ly-bids-doc-link:hover { background: #fde8e8; }


.ly-stat-source a { color: var(--ly-primary); text-decoration: underline; }
.ly-stat-source { font-size: 12px; color: var(--ly-muted); font-style: italic; margin: 10px 0 0; }
.ly-econ-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-bottom: 18px; }
.ly-econ-card { background:#fff; border:1px solid #eadfd6; border-radius: var(--ly-radius); padding:16px; text-align:center; box-shadow: var(--ly-shadow); }
.ly-econ-card span { display:block; font-size:12px; color:var(--ly-text); margin-bottom:6px; }
.ly-econ-card strong { font-size:20px; color:var(--ly-ink); }
.ly-econ-card small { font-size:12px; color:var(--ly-text); font-weight:600; }
.ly-table-wrap { background:#fff; border:1px solid #eadfd6; border-radius: var(--ly-radius); overflow:hidden; box-shadow: var(--ly-shadow); }
@media(max-width:768px){ .ly-econ-grid{ grid-template-columns:1fr; } }
.ly-ci-controls{ display:flex; flex-wrap:wrap; gap:16px; align-items:center; justify-content:space-between; margin-bottom:16px; }
.ly-ci-controls select{ padding:8px 12px; border:1px solid #eadfd6; border-radius:6px; font-family:inherit; }
.ly-ci-pills{ display:flex; flex-wrap:wrap; gap:8px; }
.ly-ci-pill{ padding:8px 14px; border-radius:999px; border:1px solid #eadfd6; background:#fff; font-size:13px; font-weight:600; cursor:pointer; }
.ly-ci-pill.is-active{ background:var(--ly-primary); color:#fff; border-color:var(--ly-primary); }
.ly-ci-pill:hover{ border-color:var(--ly-primary); }
/* Footer updates */
.ly-footer-col-1 { max-width:260px; }
.ly-footer-brand { margin-bottom:16px; }
.ly-footer-brand .ly-seal { width:80px; height:80px; }
.ly-gazette-link { margin-bottom:18px; }
.ly-gazette-link img { display:block; }
.ly-footer-address { font-size:13px; margin:0 0 10px; display:flex; align-items:flex-start; gap:8px; line-height:1.5; }
.ly-footer-address i { font-size:14px; margin-top:2px; color:var(--ly-primary); }
.ly-footer-meta { font-size:13px; margin:8px 0 0; display:flex; align-items:flex-start; gap:8px; line-height:1.5; }
.ly-footer-meta i { font-size:14px; margin-top:2px; color:var(--ly-primary); }
.ly-footer a { transition:color .2s; }
.ly-footer a:hover { color:var(--ly-accent); }
@media(max-width:768px){ .ly-footer-col-1 { max-width:none; } }

/* Infobar below primary menu - like screenshot, maroon/gold palette */
.ly-infobar { background: #0f2a44; color: #d6e2f0; border-top: 1px solid rgba(217,165,33,0.35); border-bottom: 1px solid rgba(0,0,0,0.25); font-size: 13px; }
.ly-infobar-inner { display: flex; justify-content: flex-end; align-items: center; min-height: 32px; }
.ly-infobar-right { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.ly-infobar-item { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.ly-infobar-item i { color: var(--ly-accent); font-size: 12px; }
.ly-infobar-sep { width: 1px; height: 14px; background: rgba(255,255,255,0.25); display: inline-block; }
.ly-infobar-dot { opacity: 0.6; font-size: 10px; }
@media(max-width:768px){ .ly-infobar { font-size: 11px; } .ly-infobar-right { gap: 8px; } .ly-infobar-sep { display: none; } }
/* Infobar - 60-30-10: 60% light neutral page, 30% secondary maroon bar, 10% gold accent */
.ly-infobar { background: var(--ly-primary); color: #fff; border-top: 3px solid var(--ly-accent); border-bottom: 1px solid var(--ly-deep); font-size: 13px; }
.ly-infobar-inner { display: flex; justify-content: flex-end; align-items: center; min-height: 32px; }
.ly-infobar-right { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.ly-infobar-item { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.ly-infobar-item i { color: var(--ly-accent); font-size: 12px; }
#lyFx { transition: opacity 0.2s; display: inline-block; min-width: 130px; }
.ly-infobar-sep { width: 1px; height: 14px; background: rgba(217,165,33,0.45); display: inline-block; }
.ly-infobar-dot { color: var(--ly-accent); opacity: 0.9; font-size: 10px; }
@media(max-width:768px){ .ly-infobar{ font-size:11px;} .ly-infobar-right{ gap:8px;} .ly-infobar-sep{ display:none;} }
/* Hero slide with optional background image */
.ly-hero { position: relative; height: 540px; overflow: hidden; }
.ly-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; display: flex; align-items: center; }
.ly-slide.is-active { opacity: 1; }
.ly-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: 0; filter: brightness(0.45); }
.ly-slide .ly-container { position: relative; z-index: 1; width: 100%; }
.ly-slide.g1 { background: linear-gradient(105deg, rgba(74,12,28,0.95) 0%, rgba(140,24,54,0.78) 55%, rgba(217,165,33,0.38) 130%); }
.ly-slide.g2 { background: linear-gradient(105deg, rgba(67,20,31,0.95) 0%, rgba(166,41,41,0.82) 60%, rgba(217,165,33,0.30) 130%); }
.ly-slide.g3 { background: linear-gradient(105deg, rgba(74,12,28,0.95) 0%, rgba(140,24,54,0.75) 55%, rgba(217,165,33,0.62) 130%); }
/* Highlight detail page */
.ly-highlight-detail { max-width: 900px; margin: 0 auto; }
.ly-highlight-header { margin-bottom: 32px; }
.ly-highlight-hero { border-radius: var(--ly-radius); overflow: hidden; margin-top: 16px; }
.ly-highlight-hero-img { width: 100%; height: 400px; object-fit: cover; display: block; }
.ly-highlight-content { line-height: 1.8; color: var(--ly-ink); }
.ly-highlight-content h2 { margin-top: 32px; margin-bottom: 12px; }
.ly-highlight-content p { margin-bottom: 16px; }
.ly-highlight-gallery { margin-top: 48px; padding-top: 24px; border-top: 1px solid #eadfd6; }
.ly-gallery-title { font-size: 20px; margin: 0 0 20px; }
.ly-gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.ly-gallery-item { border-radius: var(--ly-radius); overflow: hidden; aspect-ratio: 4/3; }
.ly-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.ly-gallery-item:hover img { transform: scale(1.03); }
@media (max-width: 768px) { .ly-gallery-grid { grid-template-columns: 1fr; } .ly-highlight-hero-img { height: 260px; } }

/* Highlight strip updates */
.ly-highlight { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; min-height: 300px; text-decoration: none; color: #fff; text-align: center; padding: 24px; overflow: hidden; transition: transform .2s; }
.ly-highlight:hover { transform: translateY(-4px); }
.ly-highlight::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.7) 100%); z-index: 0; }
.ly-highlight h1, .ly-highlight .ly-highlight-title { margin: 0; z-index: 1; }
.ly-highlight .ly-highlight-desc { font-size: 13px; opacity: 0.9; margin-top: 6px; z-index: 1; }
.ly-highlight.h1 { background: linear-gradient(160deg, #d9a521, #a62929); }
.ly-highlight.h2 { background: linear-gradient(160deg, #8c1836, #4a0c1c); }
.ly-highlight.h3 { background: linear-gradient(160deg, #a62929, #6f1229); }
.ly-highlight.h4 { background: linear-gradient(160deg, #d9a521, #8c1836); }
.ly-highlight img.ly-highlight-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; opacity: 0.35; }
.ly-highlight-desc { font-size: 12px; opacity: 0.9; margin-top: 4px; }
@media (max-width: 768px) { .ly-highlight { min-height: 240px; padding: 16px; } }
/* Governance photos - interactive placeholders */
.ly-official-photo-wrap, .ly-sb-photo-wrap, .ly-dept-photo-wrap { display:flex; justify-content:center; padding:16px 0 8px; }
.ly-gov-photo { display:block; box-shadow: var(--ly-shadow); }
.ly-gov-photo-placeholder { border-radius:50%; background:#f6f7f7; border:2px dashed #ccd0d4; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:6px; color:#999; font-size:11px; text-align:center; }
.ly-gov-photo-placeholder i { font-size:28px; color:#bbb; }
.ly-official-card .ly-gov-photo-placeholder { border-color: var(--ly-accent); }
.ly-dept-card { padding-top: 12px; }
/* Governance - horizontal cards, limited vertical height, icon right */
.ly-card-horizontal { display:flex; align-items:center; gap:16px; padding:14px 16px !important; min-height:96px; }
.ly-card-horizontal .ly-card-body { flex:1; min-width:0; }
.ly-card-horizontal .ly-card-body strong { font-size:14px; margin-bottom:2px; }
.ly-card-horizontal .ly-card-body p { font-size:12.5px; margin:2px 0; line-height:1.4; }
.ly-dept-card.ly-card-horizontal { padding-left:16px !important; min-height:96px; border-top: 4px solid var(--ly-primary); }
.ly-dept-icon-right { position:static !important; width:36px; height:36px; border-radius:8px; background:var(--ly-bg-soft); color:var(--ly-primary); display:inline-flex; align-items:center; justify-content:center; font-size:15px; flex-shrink:0; }
.ly-official-card.ly-card-horizontal { padding:12px; }
.ly-sb-card.ly-card-horizontal { padding:12px; }
.ly-bgy-card.ly-card-horizontal { min-height:72px; }
.ly-gov-photo-placeholder { border-radius:50%; background:#f6f7f7; border:2px dashed #ccd0d4; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:2px; color:#999; font-size:10px; text-align:center; flex-shrink:0; }
.ly-gov-photo-placeholder i { font-size:18px; color:#bbb; }
@media(max-width:768px){ .ly-card-horizontal { gap:12px; } .ly-exec-grid { grid-template-columns:1fr; } }
/* Latest News archive */
.ly-pagination .page-numbers { display:inline-block; padding:8px 14px; border:1px solid #eadfd6; border-radius:6px; background:#fff; color:var(--ly-ink); text-decoration:none; font-size:13px; }
.ly-pagination .page-numbers.current { background:var(--ly-primary); color:#fff; border-color:var(--ly-primary); }
.ly-pagination .page-numbers:hover { border-color:var(--ly-primary); }
/* Highlight share */
.ly-share { display:flex; align-items:center; gap:12px; margin-top:32px; padding-top:24px; border-top:1px solid #eadfd6; flex-wrap:wrap; }
.ly-share span { font-size:14px; font-weight:600; color:var(--ly-ink); }
.ly-share-btn { display:inline-flex; align-items:center; gap:6px; padding:8px 16px; border-radius:6px; font-size:13px; font-weight:600; text-decoration:none; color:#fff; }
.ly-share-fb { background:#1877f2; }
.ly-share-fb:hover { background:#166fe5; color:#fff; }
.ly-share-tw { background:#000; }
.ly-share-tw:hover { background:#222; color:#fff; }
/* Hero video background - continuous loop */
.ly-hero-video { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:0; filter:brightness(0.5); }
/* Mobile drawer nav (<=768px): off-canvas panel + overlay + smooth accordions */
.ly-nav-toggle { display: none; background: var(--ly-primary); border: 0; border-radius: 6px; width: 44px; height: 44px; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; flex-shrink: 0; }
.ly-nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s, opacity .25s; }
body.ly-nav-open .ly-nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.ly-nav-open .ly-nav-toggle span:nth-child(2) { opacity: 0; }
body.ly-nav-open .ly-nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.ly-nav-overlay { position: fixed; inset: 0; background: rgba(20,5,10,.55); opacity: 0; visibility: hidden; transition: opacity .3s; z-index: 998; }
@media (max-width: 768px) {
	.ly-nav-toggle { display: inline-flex; }
	.ly-header-inner { flex-direction: row; align-items: center; }
	.ly-nav { position: fixed; top: 0; right: 0; bottom: 0; width: min(320px, 85vw); background: #fff; z-index: 999; transform: translateX(105%); transition: transform .32s ease; overflow-y: auto; -webkit-overflow-scrolling: touch; box-shadow: -12px 0 32px rgba(67,20,31,.25); padding: 76px 0 24px; }
	body.ly-nav-open .ly-nav { transform: translateX(0); }
	body.ly-nav-open { overflow: hidden; }
	body.ly-nav-open .ly-nav-overlay { opacity: 1; visibility: visible; }
	.ly-nav .ly-menu { flex-direction: column; gap: 0; width: 100%; opacity: 1; visibility: visible; }
	.ly-nav .ly-menu > li { border-top: 1px solid #f0ebe5; opacity: 0; transform: translateX(16px); transition: opacity .3s, transform .3s; }
	body.ly-nav-open .ly-nav .ly-menu > li { opacity: 1; transform: none; }
	body.ly-nav-open .ly-nav .ly-menu > li:nth-child(1) { transition-delay: .05s; }
	body.ly-nav-open .ly-nav .ly-menu > li:nth-child(2) { transition-delay: .1s; }
	body.ly-nav-open .ly-nav .ly-menu > li:nth-child(3) { transition-delay: .15s; }
	body.ly-nav-open .ly-nav .ly-menu > li:nth-child(4) { transition-delay: .2s; }
	body.ly-nav-open .ly-nav .ly-menu > li:nth-child(5) { transition-delay: .25s; }
	body.ly-nav-open .ly-nav .ly-menu > li:nth-child(6) { transition-delay: .3s; }
	body.ly-nav-open .ly-nav .ly-menu > li:nth-child(7) { transition-delay: .35s; }
	body.ly-nav-open .ly-nav .ly-menu > li:nth-child(8) { transition-delay: .4s; }
	.ly-nav .ly-menu a { padding: 13px 20px; min-height: 44px; display: flex; align-items: center; border-bottom: 0; }
	.ly-nav .ly-menu .sub-menu, .ly-nav .ly-sub-menu { position: static; display: grid; grid-template-rows: 0fr; opacity: 1; visibility: visible; transform: none; box-shadow: none; min-width: 0; padding: 0; margin: 0; transition: grid-template-rows .3s ease; }
	.ly-nav .ly-menu .sub-menu > *, .ly-nav .ly-sub-menu > * { overflow: hidden; }
	.ly-nav .ly-menu li.ly-sub-open > .sub-menu, .ly-nav .ly-menu li.ly-sub-open > .ly-sub-menu { grid-template-rows: 1fr; }
	.ly-nav .ly-menu .sub-menu a, .ly-nav .ly-sub-menu a { padding-left: 36px; background: var(--ly-bg-soft); font-size: 14px; }
	.ly-nav .menu-item-has-children > a::after, .ly-nav .ly-has-sub > a::after { margin-left: auto; transition: transform .3s; }
	.ly-nav li.ly-sub-open > a::after { transform: rotate(180deg); }
	.ly-search { width: 100%; order: 4; padding-bottom: 12px; }
	.ly-search input { flex: 1; width: auto; font-size: 16px; }
	.ly-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
	.ly-table-wrap table { min-width: 640px; }
	.ly-leg-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
	.ly-leg-table { min-width: 640px; }
	.ly-hero { height: auto; min-height: 420px; padding: 48px 0; }
	.ly-hero-title { font-size: 32px; }
	.ly-infobar-right { justify-content: flex-start; }
	.ly-stat-section { padding: 28px 20px; }
	.ly-chart-box { padding: 16px; height: 300px; }
	.ly-ci-pills { gap: 6px; }
	.ly-ci-pill { min-height: 44px; }
}

/* ===== Price Watch ===== */
.pw-page { padding-bottom: 60px; }
.pw-hero { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 26px; flex-wrap: wrap; }
.pw-stats { display: flex; gap: 14px; flex-wrap: wrap; }
.pw-stat { background: var(--ly-cream); border: 1px solid #eadfd6; border-radius: var(--ly-radius); padding: 12px 18px; text-align: center; min-width: 110px; }
.pw-stat strong { display: block; font-size: 26px; color: var(--ly-primary); }
.pw-stat span { font-size: 12px; text-transform: uppercase; letter-spacing: .5px; color: var(--ly-text); }

.pw-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; border-bottom: 2px solid #eadfd6; }
.pw-tab { background: transparent; border: 0; border-bottom: 3px solid transparent; padding: 12px 18px; font: inherit; font-weight: 700; color: var(--ly-text); cursor: pointer; display: inline-flex; gap: 8px; align-items: center; }
.pw-tab:hover { color: var(--ly-primary); }
.pw-tab.is-active { color: var(--ly-primary); border-bottom-color: var(--ly-primary); }

.pw-panel { display: none; }
.pw-panel.is-active { display: block; animation: pwFade .25s ease; }
@keyframes pwFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.pw-card { background: #fff; border: 1px solid #eee3d7; border-radius: var(--ly-radius); box-shadow: var(--ly-shadow); padding: 26px; margin-bottom: 26px; }
.pw-card-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; margin-bottom: 18px; }
.pw-card-head h2 { font-size: 24px; margin: 0 0 6px; display: flex; gap: 10px; align-items: center; }
.pw-card-head h2 i { color: var(--ly-primary); font-size: 20px; }
.pw-card-head h2 small { font-size: 13px; font-weight: 600; color: var(--ly-text); }
.pw-card-head p { margin: 0; font-size: 14px; }

.pw-avg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 26px; }
.pw-avg { background: linear-gradient(135deg, #fff8ec, #fdf1dd); border: 1px solid #efdfc4; border-radius: var(--ly-radius); padding: 18px 20px; }
.pw-avg-label { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .4px; color: var(--ly-text); margin-bottom: 8px; }
.pw-avg-label b { color: var(--ly-primary); }
.pw-avg strong { font-size: 30px; color: var(--ly-ink); }

.pw-subhead { font-size: 18px; margin: 8px 0 4px; }
.pw-subhead small { font-size: 12px; font-weight: 600; color: var(--ly-text); }
.pw-note { font-size: 13px; color: var(--ly-text); margin: 0 0 12px; }

.pw-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.pw-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.pw-table th, .pw-table td { padding: 12px; text-align: left; border-bottom: 1px solid #f0e7db; vertical-align: top; }
.pw-table thead th { background: var(--ly-primary); color: #fff; font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .4px; white-space: nowrap; }
.pw-table tbody tr:hover { background: #fdf8f1; }
.pw-table .pw-name { font-weight: 700; color: var(--ly-ink); }
.pw-table .pw-name small { display: block; font-weight: 400; color: var(--ly-text); font-size: 12px; }
.pw-price-cell { white-space: nowrap; font-weight: 600; color: var(--ly-ink); }
.pw-station-row { cursor: pointer; }
.pw-station-row.is-open { background: #fdf1dd; }
.pw-station-row:focus-visible { outline: 2px solid var(--ly-primary); outline-offset: -2px; }
.pw-change { display: block; font-size: 11px; font-weight: 700; margin-top: 3px; }
.pw-change.up { color: #c0392b; }
.pw-change.down { color: #1e8e4e; }
.pw-change.neutral { color: #9b8b8f; font-weight: 500; }

.pw-hist-row > td { background: #fbf4e0; padding: 0; }
.pw-hist { padding: 18px 20px; }
.pw-hist h4 { margin: 0 0 10px; font-size: 15px; }
.pw-hist-table thead th { background: var(--ly-deep); }
.pw-hist-table td, .pw-hist-table th { font-size: 13px; }

.pw-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.pw-filter { background: #f3ece2; border: 1px solid #e7dbcd; color: var(--ly-ink); font: inherit; font-size: 13px; font-weight: 600; padding: 8px 14px; border-radius: 20px; cursor: pointer; }
.pw-filter:hover { background: #eadfce; }
.pw-filter.is-active { background: var(--ly-primary); border-color: var(--ly-primary); color: #fff; }

.pw-commodity-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pw-commodity-card { border: 1px solid #eee3d7; border-radius: var(--ly-radius); padding: 16px; background: #fffdf9; cursor: pointer; transition: box-shadow .2s, transform .2s; }
.pw-commodity-card:hover { box-shadow: var(--ly-shadow); transform: translateY(-2px); }
.pw-commodity-card:focus-visible { outline: 2px solid var(--ly-primary); }
.pw-cd-top { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; margin-bottom: 10px; }
.pw-cd-name { font-weight: 700; color: var(--ly-ink); font-size: 14px; line-height: 1.35; }
.pw-cd-tag { font-size: 10px; text-transform: uppercase; letter-spacing: .4px; background: #f3e6d2; color: var(--ly-primary); padding: 3px 7px; border-radius: 10px; white-space: nowrap; }
.pw-cd-price { font-size: 24px; font-weight: 700; color: var(--ly-primary); }
.pw-unit { font-size: 12px; font-weight: 500; color: var(--ly-text); margin-left: 4px; }
.pw-cd-change { margin-top: 4px; }
.pw-cd-history { margin-top: 12px; border-top: 1px dashed #e3d6c6; padding-top: 10px; }
.pw-cd-history h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .4px; margin: 0 0 6px; color: var(--ly-text); }
.pw-cd-history .pw-table th, .pw-cd-history .pw-table td { padding: 6px 8px; font-size: 12px; }

.pw-empty { text-align: center; padding: 30px; background: #fbf7f1; border-radius: var(--ly-radius); color: var(--ly-text); }
.pw-footnote { font-size: 12px; color: var(--ly-text); text-align: center; margin-top: 8px; }

@media (max-width: 1024px) { .pw-commodity-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) {
	.pw-card { padding: 18px; }
	.pw-avg-grid { grid-template-columns: 1fr; }
	.pw-hero { align-items: flex-start; }
	.pw-stats { width: 100%; }
	.pw-stat { flex: 1; }
	.pw-tab { padding: 10px 12px; font-size: 14px; }
}
@media (max-width: 560px) { .pw-commodity-grid { grid-template-columns: 1fr; } }

/* ===== Emergency Hotlines widget (site-wide, sticky) ===== */
.ly-emergency-toggle {
	position: fixed; right: 24px; bottom: 24px; z-index: 995;
	display: inline-flex; align-items: center; gap: 10px;
	background: linear-gradient(135deg, #b0231f, #8c1836);
	color: #fff; border: 0; border-radius: 50px;
	padding: 14px 22px 14px 18px;
	font: inherit; font-size: 15px; font-weight: 700; letter-spacing: .2px;
	cursor: pointer;
	box-shadow: 0 8px 24px rgba(140, 24, 54, .38);
	transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
	animation: lyEmPulse 2.6s ease-out infinite;
}
.ly-emergency-toggle:hover { transform: translateY(-2px); background: linear-gradient(135deg, #c02a24, #a01c3f); }
.ly-emergency-toggle:focus-visible { outline: 3px solid var(--ly-accent); outline-offset: 3px; }
.ly-emergency-toggle i { font-size: 18px; }
@keyframes lyEmPulse {
	0%   { box-shadow: 0 8px 24px rgba(140, 24, 54, .38), 0 0 0 0 rgba(176, 35, 31, .5); }
	70%  { box-shadow: 0 8px 24px rgba(140, 24, 54, .38), 0 0 0 16px rgba(176, 35, 31, 0); }
	100% { box-shadow: 0 8px 24px rgba(140, 24, 54, .38), 0 0 0 0 rgba(176, 35, 31, 0); }
}
@media (prefers-reduced-motion: reduce) { .ly-emergency-toggle { animation: none; } }

.ly-emergency-overlay {
	position: fixed; inset: 0; z-index: 1000;
	background: rgba(20, 5, 10, .5);
	animation: lyEmFade .2s ease forwards;
}
@keyframes lyEmFade { from { opacity: 0; } to { opacity: 1; } }

.ly-emergency-panel {
	position: fixed; right: 24px; bottom: 96px; z-index: 1001;
	width: min(400px, calc(100vw - 32px));
	max-height: calc(100vh - 130px);
	display: flex; flex-direction: column;
	background: #fff; border: 1px solid #eadfd6; border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 24px 60px rgba(20, 5, 10, .35);
	animation: lyEmSlide .22s ease;
}
@keyframes lyEmSlide { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.ly-emergency-panel[hidden], .ly-emergency-overlay[hidden] { display: none; }

.ly-emergency-head {
	display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
	padding: 18px 20px;
	background: linear-gradient(135deg, #8c1836, #6f1229);
	color: #fff;
}
.ly-emergency-title { margin: 0; font-size: 20px; color: #fff; display: flex; align-items: center; gap: 8px; }
.ly-emergency-title i { color: var(--ly-accent); }
.ly-emergency-sub { margin: 6px 0 0; font-size: 13px; color: rgba(255, 255, 255, .85); }
.ly-emergency-sub a { color: var(--ly-accent); font-weight: 700; text-decoration: underline; }
.ly-emergency-close {
	background: rgba(255, 255, 255, .15); border: 0; color: #fff;
	width: 34px; height: 34px; border-radius: 50%;
	font-size: 22px; line-height: 1; cursor: pointer; flex-shrink: 0;
}
.ly-emergency-close:hover { background: rgba(255, 255, 255, .3); }
.ly-emergency-close:focus-visible { outline: 2px solid var(--ly-accent); outline-offset: 2px; }

.ly-emergency-body { overflow-y: auto; padding: 6px 20px 10px; -webkit-overflow-scrolling: touch; }
.ly-emergency-group { padding: 12px 0; border-bottom: 1px solid #f0e7db; }
.ly-emergency-group:last-child { border-bottom: 0; }
.ly-emergency-group h3 {
	margin: 0 0 6px; font-size: 12px; text-transform: uppercase;
	letter-spacing: .6px; color: var(--ly-primary);
}
.ly-emergency-group ul { list-style: none; margin: 0; padding: 0; }
.ly-em-link {
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	padding: 8px 10px; margin: 0 -10px; border-radius: 8px;
	text-decoration: none; transition: background .15s ease;
}
.ly-em-link:hover, .ly-em-link:focus-visible { background: #fbf1e4; }
.ly-em-link:focus-visible { outline: 2px solid var(--ly-primary); outline-offset: 1px; }
.ly-em-name { font-size: 14px; font-weight: 600; color: var(--ly-ink); line-height: 1.35; }
.ly-em-num {
	display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
	font-size: 14px; font-weight: 700; color: var(--ly-primary);
}
.ly-em-num i { font-size: 11px; }
.ly-emergency-note {
	margin: 0; padding: 10px 20px 14px;
	font-size: 12px; color: var(--ly-text); background: #fbf7f1;
}

@media (max-width: 640px) {
	.ly-emergency-toggle { right: 16px; bottom: 16px; padding: 13px 18px; font-size: 14px; }
	.ly-emergency-panel { right: 12px; left: 12px; bottom: 80px; width: auto; max-height: calc(100vh - 100px); }
	.ly-em-link { align-items: flex-start; flex-direction: column; gap: 2px; padding: 9px 10px; }
	.ly-em-num { font-size: 15px; }
}