* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: "Segoe UI", Arial, sans-serif;
}

:root {
	--bg: #f5f7f8;
	--surface: #ffffff;
	--surface-soft: #eef5f4;
	--text: #17202a;
	--muted: #5f6f7a;
	--line: #dce4e8;
	--primary: #0f766e;
	--primary-dark: #0b5d57;
	--accent: #2563eb;
	--warm: #c47a18;
	--shadow: 0 14px 34px rgba(20, 35, 45, 0.09);
}

html {
	scroll-behavior: smooth;
}

body {
	background: var(--bg);
	color: var(--text);
	transition: background 0.25s ease, color 0.25s ease;
}

a {
	color: inherit;
}

.site-header {
	background: rgba(255, 255, 255, 0.96);
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 18px;
	padding: 12px 28px;
	border-bottom: 1px solid rgba(220, 228, 232, 0.9);
	position: sticky;
	top: 0;
	z-index: 20;
	backdrop-filter: blur(12px);
}

.brand-link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	font-weight: 800;
	color: var(--text);
	white-space: nowrap;
}

.brand-link img {
	width: 40px;
	height: 40px;
	object-fit: contain;
}

.top-nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 18px;
	font-size: 14px;
	color: var(--muted);
}

.top-nav a {
	text-decoration: none;
	font-weight: 650;
	white-space: nowrap;
}

.top-nav a:hover {
	color: var(--primary);
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 10px;
}

.search {
	display: flex;
	align-items: center;
	gap: 8px;
	position: relative;
	background: #eef2f5;
	border: 1px solid transparent;
	padding: 8px 10px;
	border-radius: 8px;
	transition: background 0.25s ease, border-color 0.25s ease;
}

.search:focus-within {
	background: #fff;
	border-color: var(--primary);
	box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.2);
}

.search input {
	border: none;
	outline: none;
	background: transparent;
	width: 150px;
	color: var(--text);
}

.search input[type="search"]::-webkit-search-cancel-button {
	cursor: pointer;
}

.search-results {
	position: absolute;
	top: calc(100% + 9px);
	right: 0;
	z-index: 60;
	width: min(430px, calc(100vw - 24px));
	max-height: min(440px, 58vh);
	overflow-y: auto;
	padding: 8px;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: var(--surface);
	box-shadow: 0 20px 46px rgba(20, 35, 45, 0.18);
}

.search-results[hidden],
.search-result-list[hidden],
.search-empty[hidden] {
	display: none;
}

.search-results-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 5px 7px 9px;
	color: var(--muted);
	font-size: 12px;
}

.search-results-head strong {
	color: var(--text);
	font-size: 13px;
}

.search-result-list {
	display: grid;
	gap: 3px;
}

.search-result {
	display: grid;
	grid-template-columns: 38px minmax(0, 1fr) auto;
	gap: 10px;
	align-items: center;
	padding: 10px;
	border-radius: 8px;
	color: var(--text);
	text-decoration: none;
}

.search-result:hover {
	background: var(--surface-soft);
}

.search-result:focus-visible,
.search-result.is-active {
	outline: 2px solid var(--primary);
	outline-offset: -2px;
	background: var(--surface-soft);
}

.search-result-icon {
	width: 38px;
	height: 38px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	background: rgba(15, 118, 110, 0.1);
	color: var(--primary);
}

.search-result-copy {
	min-width: 0;
}

.search-result-copy strong,
.search-result-copy small {
	display: block;
}

.search-result-copy strong {
	overflow: hidden;
	color: var(--text);
	font-size: 13px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.search-result-copy small {
	display: -webkit-box;
	margin-top: 3px;
	overflow: hidden;
	color: var(--muted);
	font-size: 11px;
	line-height: 1.35;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.search-result-kind {
	padding: 4px 6px;
	border-radius: 6px;
	background: #eef2f5;
	color: var(--muted);
	font-size: 10px;
	font-weight: 800;
}

.search-empty {
	display: grid;
	gap: 8px;
	padding: 16px 12px 12px;
	color: var(--muted);
	font-size: 12px;
	text-align: center;
}

.search-empty strong {
	color: var(--text);
	font-size: 14px;
}

.search-empty-actions {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 7px;
	margin-top: 4px;
}

.search-empty-actions a {
	padding: 7px 9px;
	border-radius: 7px;
	background: var(--surface-soft);
	color: var(--primary-dark);
	font-weight: 800;
	text-decoration: none;
}

.search-status {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.login-btn,
.btn,
.card-cta a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	text-decoration: none;
	border-radius: 8px;
	font-weight: 750;
	transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.login-btn {
	background: var(--primary);
	color: #fff;
	padding: 9px 14px;
	font-size: 14px;
	white-space: nowrap;
}

.login-btn:hover,
.btn-primary:hover {
	background: var(--primary-dark);
}

.dark-toggle {
	width: 38px;
	height: 38px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 8px;
	font-size: 17px;
	cursor: pointer;
	color: var(--text);
}

.hero {
	position: relative;
	min-height: min(640px, calc(100vh - 88px));
	display: flex;
	align-items: center;
	overflow: hidden;
	background: #07161a;
}

.hero-bg,
.hero-overlay {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.hero-bg {
	object-fit: cover;
	object-position: center;
}

.hero-overlay {
	background: rgba(7, 18, 24, 0.66);
}

.hero-content {
	position: relative;
	width: min(1120px, calc(100% - 40px));
	margin: 0 auto;
	color: #fff;
	padding: 58px 0 86px;
}

.hero-eyebrow,
.section-heading span {
	display: inline-block;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0;
	text-transform: uppercase;
	color: #96e8dc;
	margin-bottom: 12px;
}

.hero h1 {
	font-size: clamp(42px, 7vw, 78px);
	line-height: 0.98;
	letter-spacing: 0;
	margin-bottom: 18px;
}

.hero p {
	width: min(760px, 100%);
	font-size: clamp(17px, 2vw, 22px);
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 28px;
}

.btn {
	min-height: 44px;
	padding: 12px 18px;
	font-size: 15px;
}

.btn-primary {
	background: var(--primary);
	color: #fff;
}

.btn-secondary {
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.38);
}

.btn:hover,
.card-cta a:hover {
	transform: translateY(-1px);
}

.hero-stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 170px));
	gap: 12px;
	margin-top: 34px;
}

.hero-stats div {
	border: 1px solid rgba(255, 255, 255, 0.26);
	background: rgba(255, 255, 255, 0.1);
	border-radius: 8px;
	padding: 14px;
}

.hero-stats strong {
	display: block;
	font-size: 24px;
	line-height: 1;
}

.hero-stats span {
	display: block;
	margin-top: 6px;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.78);
}

.solutions-section {
	width: min(1120px, calc(100% - 40px));
	margin: -46px auto 34px;
	position: relative;
	z-index: 4;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 8px;
	box-shadow: var(--shadow);
	padding: 24px;
}

.section-heading {
	margin-bottom: 20px;
}

.section-heading span {
	color: var(--primary);
	margin-bottom: 8px;
}

.section-heading h2 {
	font-size: clamp(24px, 3vw, 34px);
	line-height: 1.12;
	letter-spacing: 0;
}

.section-heading p {
	color: var(--muted);
	margin-top: 9px;
	max-width: 720px;
	line-height: 1.55;
}

.compact-heading {
	margin-bottom: 18px;
}

.module-link-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.module-link-card {
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr) 18px;
	align-items: center;
	gap: 12px;
	min-height: 92px;
	padding: 14px;
	text-decoration: none;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: #fff;
	transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.module-link-card:hover {
	border-color: rgba(15, 118, 110, 0.42);
	transform: translateY(-2px);
	box-shadow: 0 12px 24px rgba(20, 35, 45, 0.08);
}

.module-icon {
	width: 44px;
	height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	background: var(--surface-soft);
	color: var(--primary);
	font-size: 19px;
}

.module-copy {
	min-width: 0;
}

.module-copy strong,
.module-copy small {
	display: block;
}

.module-copy strong {
	font-size: 15px;
	margin-bottom: 4px;
}

.module-copy small {
	color: var(--muted);
	line-height: 1.35;
}

.module-arrow {
	color: var(--warm);
	font-size: 14px;
}

.container {
	width: min(920px, calc(100% - 24px));
	margin: 28px auto 34px;
}

.card {
	background: var(--surface);
	border: 1px solid rgba(220, 228, 232, 0.95);
	border-radius: 8px;
	padding: 18px;
	margin-bottom: 18px;
	box-shadow: 0 8px 20px rgba(20, 35, 45, 0.06);
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.25s ease, color 0.25s ease;
}

.card:hover {
	transform: translateY(-2px);
	box-shadow: var(--shadow);
}

.card-header {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 12px;
}

.card-header i {
	width: 42px;
	height: 42px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	background: var(--surface-soft);
	color: var(--primary);
	font-size: 21px;
	flex: 0 0 auto;
}

.card-title {
	font-weight: 800;
	font-size: 19px;
	line-height: 1.25;
}

.card-content {
	font-size: 15px;
	text-align: justify;
	margin-bottom: 14px;
	line-height: 1.62;
	color: #273642;
}

.card-content b {
	color: #17324d;
}

.card-content ul {
	margin-top: 8px;
}

.card-images {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 8px;
	margin-bottom: 14px;
}

.card-images img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: 8px;
	background: #cdd6dc;
	transition: transform 0.25s ease, filter 0.25s ease;
	max-height: 350px;
	cursor: zoom-in;
}

.card-images img:hover {
	transform: scale(1.015);
	filter: saturate(1.04);
}

.card-cta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 14px;
}

.card-cta a {
	min-height: 36px;
	padding: 8px 11px;
	background: #eef5f4;
	color: var(--primary-dark);
	border: 1px solid rgba(15, 118, 110, 0.18);
	font-size: 13px;
}

.card-cta.multi a {
	background: #f7f8fa;
	color: #273642;
	border-color: var(--line);
}

.card-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	font-size: 13px;
	color: var(--muted);
	border-top: 1px solid var(--line);
	padding-top: 12px;
}

.card-date {
	min-width: 0;
}

.actions {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	white-space: nowrap;
}

.actions i {
	cursor: pointer;
	transition: color 0.2s;
}

.actions i:hover,
.actions i.liked {
	color: var(--primary);
}

.site-footer {
	background: #102327;
	color: rgba(255, 255, 255, 0.78);
	text-align: center;
	padding: 28px 18px 30px;
	font-size: 13px;
}

.site-footer a {
	color: #ffffff;
	text-decoration: none;
}

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

.footer-primary,
.footer-modules {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 10px 16px;
	margin-bottom: 14px;
}

.footer-modules {
	max-width: 1000px;
	margin-left: auto;
	margin-right: auto;
	color: rgba(255, 255, 255, 0.72);
}

.module-hero {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
	gap: 0;
	min-height: min(620px, calc(100vh - 76px));
	background: #102327;
	color: #fff;
	overflow: hidden;
}

.module-hero img {
	width: 100%;
	height: 100%;
	min-height: 420px;
	object-fit: cover;
}

.module-hero-copy {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 56px;
	background: #102327;
}

.module-hero-copy h1 {
	font-size: clamp(38px, 5vw, 62px);
	line-height: 1;
	letter-spacing: 0;
	margin-bottom: 18px;
}

.module-hero-copy p {
	color: rgba(255, 255, 255, 0.86);
	font-size: 18px;
	line-height: 1.58;
}

.breadcrumb {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	width: fit-content;
	margin-bottom: 22px;
	color: #b7f3ea;
	text-decoration: none;
	font-weight: 750;
	font-size: 14px;
}

.breadcrumb:hover {
	color: #fff;
}

.module-detail {
	width: min(1120px, calc(100% - 40px));
	margin: 34px auto 58px;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 24px;
}

.module-detail-main,
.module-detail-side {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 8px;
	box-shadow: 0 8px 20px rgba(20, 35, 45, 0.06);
	padding: 24px;
}

.feature-list {
	display: grid;
	gap: 12px;
}

.feature-row {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	border: 1px solid var(--line);
	border-radius: 8px;
	padding: 14px;
	background: #fbfcfd;
	font-weight: 650;
	line-height: 1.4;
}

.feature-row i {
	color: var(--primary);
	margin-top: 2px;
}

.module-detail-side h3 {
	font-size: 18px;
	margin-bottom: 14px;
}

.side-links {
	display: grid;
	gap: 8px;
}

.side-links a {
	display: grid;
	grid-template-columns: 28px minmax(0, 1fr);
	align-items: center;
	gap: 10px;
	text-decoration: none;
	border: 1px solid var(--line);
	border-radius: 8px;
	padding: 10px;
	color: var(--text);
	background: #fff;
	font-size: 14px;
	font-weight: 650;
}

.side-links a:hover {
	border-color: rgba(15, 118, 110, 0.42);
	color: var(--primary-dark);
}

.side-links i {
	color: var(--primary);
}

.lightbox {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.82);
	display: flex;
	justify-content: center;
	align-items: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.25s ease;
	z-index: 100;
}

.lightbox img {
	max-width: 92%;
	max-height: 90%;
	border-radius: 8px;
	box-shadow: 0 18px 40px rgba(0,0,0,0.45);
}

.lightbox.show {
	opacity: 1;
	visibility: visible;
	cursor: pointer;
}

.modal {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,0.5);
	justify-content: center;
	align-items: center;
	z-index: 9999;
}

#commentModal.show,
.modal.show {
	display: flex;
}

.modal-content {
	background: #fff;
	padding: 24px 20px;
	border-radius: 8px;
	max-width: 450px;
	width: 90%;
	box-shadow: 0 10px 25px rgba(0,0,0,0.2);
	display: flex;
	flex-direction: column;
	gap: 12px;
	animation: slideIn 0.25s ease;
}

@keyframes slideIn {
	from { transform: translateY(-18px); opacity: 0; }
	to { transform: translateY(0); opacity: 1; }
}

.modal-content h3 {
	margin: 0 0 10px;
	font-size: 20px;
	font-weight: 700;
	color: var(--primary);
}

.modal-content input,
.modal-content textarea {
	width: 100%;
	padding: 10px 12px;
	border-radius: 8px;
	border: 1px solid #cfd8dd;
	font-size: 14px;
	transition: border 0.2s, box-shadow 0.2s;
}

.modal-content input:focus,
.modal-content textarea:focus {
	outline: none;
	border-color: var(--primary);
	box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.14);
}

.modal-content textarea {
	resize: vertical;
	min-height: 100px;
}

.modal-content button {
	background: var(--primary);
	color: white;
	border: none;
	padding: 10px 16px;
	border-radius: 8px;
	font-weight: 700;
	cursor: pointer;
	transition: background 0.2s ease;
}

.modal-content button:hover {
	background: var(--primary-dark);
}

.close-btn {
	align-self: flex-end;
	font-size: 18px;
	cursor: pointer;
	color: #4c5a63;
	transition: color 0.2s;
}

.close-btn:hover {
	color: var(--primary);
}

#notifications-container {
	position: fixed;
	top: 20px;
	right: 20px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	z-index: 100020;
}

.notification {
	position: relative;
	padding: 12px 18px 16px;
	border-radius: 8px;
	font-size: 14px;
	color: #fff;
	box-shadow: 0 4px 12px rgba(0,0,0,0.15);
	min-width: 220px;
	opacity: 0;
	transform: translateY(-20px);
	animation: fadeIn 0.3s ease forwards;
	overflow: hidden;
}

.notification.success { background: #188a53; }
.notification.error { background: #c93e3e; }
.notification.info { background: #2563eb; }

.notification .notif-timer {
	height: 4px;
	background: rgba(255,255,255,0.8);
	margin-top: 8px;
	border-radius: 2px;
	width: 100%;
	transform-origin: left;
}

.notification .close-btn {
	position: absolute;
	top: 6px;
	right: 8px;
	background: none;
	border: none;
	color: white;
	font-size: 16px;
	cursor: pointer;
	opacity: 0.8;
}

.notification .close-btn:hover { opacity: 1; }

@keyframes fadeIn {
	from { opacity: 0; transform: translateY(-20px); }
	to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeOut {
	from { opacity: 1; transform: translateY(0); }
	to { opacity: 0; transform: translateY(-20px); }
}

@keyframes progress {
	from { transform: scaleX(1); }
	to { transform: scaleX(0); }
}

html.dark-mode body {
	background: #11181b;
	color: #e8eef0;
}

html.dark-mode .site-header,
html.dark-mode .solutions-section,
html.dark-mode .card,
html.dark-mode .module-link-card,
html.dark-mode .modal-content,
html.dark-mode .module-detail-main,
html.dark-mode .module-detail-side {
	background: #172326;
	color: #e8eef0;
	border-color: rgba(255, 255, 255, 0.12);
}

html.dark-mode .brand-link,
html.dark-mode .top-nav,
html.dark-mode .card-content,
html.dark-mode .card-content b,
html.dark-mode .module-copy small,
html.dark-mode .section-heading p,
html.dark-mode .card-footer {
	color: #d8e1e4;
}

html.dark-mode .search,
html.dark-mode .dark-toggle,
html.dark-mode .module-icon,
html.dark-mode .card-header i,
html.dark-mode .card-cta a,
html.dark-mode .feature-row,
html.dark-mode .side-links a {
	background: #213034;
	border-color: rgba(255, 255, 255, 0.12);
	color: #e8eef0;
}

html.dark-mode .search input {
	color: #e8eef0;
}

html.dark-mode .search:focus-within {
	border-color: #5eead4;
	box-shadow: 0 0 0 3px rgba(94, 234, 212, 0.24);
}

html.dark-mode .search-results {
	border-color: rgba(255, 255, 255, 0.12);
	background: #172326;
	box-shadow: 0 20px 46px rgba(0, 0, 0, 0.34);
}

html.dark-mode .search-results-head,
html.dark-mode .search-result-copy small,
html.dark-mode .search-empty {
	color: #b8c5c9;
}

html.dark-mode .search-results-head strong,
html.dark-mode .search-result-copy strong,
html.dark-mode .search-empty strong {
	color: #e8eef0;
}

html.dark-mode .search-result:hover,
html.dark-mode .search-result:focus-visible,
html.dark-mode .search-result.is-active,
html.dark-mode .search-result-kind,
html.dark-mode .search-empty-actions a {
	background: #213034;
	color: #e8eef0;
}

html.dark-mode .search-result:focus-visible,
html.dark-mode .search-result.is-active {
	outline-color: #5eead4;
}

html.dark-mode .search-result-icon {
	background: rgba(45, 212, 191, 0.13);
	color: #5eead4;
}

@media (max-width: 1200px) {
	.site-header {
		flex-wrap: wrap;
		padding: 12px 18px;
	}

	.top-nav {
		order: 3;
		width: 100%;
		padding-bottom: 2px;
	}

	.header-actions {
		margin-left: auto;
	}
}

@media (max-width: 980px) {
	.module-link-grid {
		grid-template-columns: 1fr;
	}

	.module-hero {
		grid-template-columns: 1fr;
	}

	.module-hero img {
		min-height: 280px;
		max-height: 380px;
	}

	.module-hero-copy {
		padding: 34px 24px 46px;
	}

	.module-detail {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 700px) {
	.site-header {
		gap: 10px;
	}

	.brand-link span {
		font-size: 14px;
	}

	.header-actions {
		width: 100%;
		justify-content: space-between;
		gap: 8px;
	}

	.header-actions.compact-actions {
		width: auto;
		margin-left: auto;
	}

	.search {
		flex: 1;
		min-width: 0;
		max-width: calc(100% - 178px);
	}

	.search input {
		width: 100%;
		min-width: 0;
	}

	.search-results {
		right: auto;
		left: 0;
		width: min(420px, calc(100vw - 36px));
	}

	.login-btn {
		min-width: 112px;
		min-height: 40px;
		padding: 10px 12px;
		font-size: 16px;
		font-weight: 800;
		line-height: 1.55;
	}

	.login-btn span {
		display: inline;
	}

	.hero {
		min-height: auto;
	}

	.hero-content {
		padding: 34px 0 52px;
	}

	.hero-stats {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 6px;
		margin-top: 22px;
	}

	.hero-stats div {
		padding: 10px 8px;
	}

	.hero-stats strong {
		font-size: 19px;
	}

	.hero-stats span {
		font-size: 11px;
	}

	.solutions-section {
		width: min(100% - 20px, 1120px);
		padding: 18px;
		margin-top: -34px;
	}

	.module-link-card {
		grid-template-columns: 40px minmax(0, 1fr);
		min-height: auto;
	}

	.module-arrow {
		display: none;
	}

	.container {
		width: min(100% - 20px, 920px);
	}

	.module-detail {
		width: min(100% - 20px, 1120px);
		margin-top: 22px;
	}

	.module-detail-main,
	.module-detail-side {
		padding: 18px;
	}

	.card {
		padding: 15px;
	}

	.card-title {
		font-size: 16px;
	}

	.card-content {
		font-size: 14px;
	}

	.card-images {
		overflow: hidden;
		border-radius: 8px;
	}

	.card-images img {
		height: 100%;
		min-height: 0;
		aspect-ratio: auto;
		border-radius: 0;
		max-height: none;
	}

	.card-images.layout-1 {
		grid-template-columns: 1fr;
		grid-auto-rows: clamp(190px, 48vw, 280px);
	}

	.card-images.layout-2 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-auto-rows: clamp(132px, 32vw, 190px);
	}

	.card-images.layout-3,
	.card-images.layout-4,
	.card-images.layout-5,
	.card-images.layout-6plus {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-auto-rows: clamp(104px, 28vw, 148px);
	}

	.card-images.layout-3 img:first-child,
	.card-images.layout-4 img:first-child {
		grid-column: 1 / -1;
		grid-row: span 2;
	}

	.card-images.layout-5 img:first-child,
	.card-images.layout-6plus img:first-child {
		grid-column: 1 / -1;
		grid-row: span 2;
	}

	.card-images.layout-4 img:nth-child(4) {
		grid-column: 1 / -1;
	}

	.card-images.layout-5 img:nth-child(n+2),
	.card-images.layout-6plus img:nth-child(n+2) {
		grid-column: span 1;
	}

	.card-footer {
		align-items: flex-start;
		flex-direction: column;
	}

	.actions {
		width: 100%;
		justify-content: space-between;
	}
}

@media (max-width: 380px) {
	.login-btn {
		min-width: 104px;
		gap: 6px;
		padding: 9px 10px;
		font-size: 13px;
	}

	.search {
		max-width: calc(100% - 164px);
	}
}

@media (max-width: 420px) {
	.hero h1 {
		font-size: 40px;
	}

	.btn {
		width: 100%;
	}

	.card-images.layout-1 {
		grid-auto-rows: clamp(178px, 56vw, 240px);
	}

	.card-images.layout-2,
	.card-images.layout-3,
	.card-images.layout-4,
	.card-images.layout-5,
	.card-images.layout-6plus {
		gap: 6px;
		grid-auto-rows: clamp(92px, 30vw, 132px);
	}
}
