/*
Theme Name: ICDCS 2027 Clone
Theme URI: https://icdcs2027.icdcs.org/
Description: Modern ICDCS 2027 conference theme built as a child of Twenty Eleven.
Author: ICDCS 2027 Web Team
Template: twentyeleven
Version: 0.2.4
Text Domain: icdcs-2027-clone
*/

:root {
	--icdcs-navy: #102a43;
	--icdcs-navy-deep: #0a1f33;
	--icdcs-blue: #127da8;
	--icdcs-blue-dark: #0b668d;
	--icdcs-cyan: #39b8d4;
	--icdcs-bg: #f3f6f9;
	--icdcs-surface: #ffffff;
	--icdcs-surface-soft: #f7fafc;
	--icdcs-text: #25364a;
	--icdcs-muted: #64748b;
	--icdcs-border: #dce5ed;
	--icdcs-shadow: 0 22px 60px rgba(15, 42, 67, 0.12);
	--icdcs-radius: 20px;
	--icdcs-radius-sm: 12px;
}

html {
	background: var(--icdcs-bg);
}

body,
body.custom-background {
	margin: 0;
	background: var(--icdcs-bg) !important;
	background-image: none !important;
	color: var(--icdcs-text);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

a {
	color: var(--icdcs-blue-dark);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.14em;
}

a:hover,
a:focus {
	color: var(--icdcs-navy);
}

#page,
.one-column #page {
	max-width: 1180px;
	margin: 32px auto 48px;
	overflow: hidden;
	border: 1px solid rgba(214, 226, 236, 0.9);
	border-radius: var(--icdcs-radius);
	background: var(--icdcs-surface);
	box-shadow: var(--icdcs-shadow);
}

#branding {
	position: relative;
	z-index: 20;
	border-top: 0;
	background: var(--icdcs-surface);
}

.site-header-flex {
	display: flex;
	align-items: center;
	gap: 28px;
	padding: 42px 56px 34px;
}

.site-logo-mark {
	display: flex;
	flex: 0 0 138px;
	min-height: 88px;
	box-sizing: border-box;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 18px;
	background: linear-gradient(145deg, var(--icdcs-navy) 0%, var(--icdcs-blue) 100%);
	box-shadow: 0 14px 28px rgba(16, 42, 67, 0.2);
	color: #fff;
	font-size: 27px;
	font-style: normal;
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.04em;
	text-align: center;
	text-shadow: none;
}

.site-logo-mark span {
	display: block;
}

.site-logo-mark small {
	display: block;
	margin-top: 7px;
	color: #bdebf5;
	font-size: 20px;
	font-weight: 700;
	letter-spacing: 0.12em;
}

.site-text {
	flex: 1;
	min-width: 0;
	padding-right: 190px;
	white-space: normal;
}

.site-text h1,
.site-text h2 {
	margin: 0;
	padding: 0;
}

#site-title {
	width: auto;
	margin-right: 0;
	padding: 0;
	white-space: nowrap;
}

#site-title span,
#site-title a {
	display: inline-block;
	white-space: nowrap;
}

#site-title a {
	color: var(--icdcs-navy-deep);
	font-size: clamp(30px, 3vw, 40px);
	font-weight: 780;
	line-height: 1.08;
	letter-spacing: -0.035em;
	text-decoration: none;
}

#site-description,
#site-description-date,
#site-description-tagline {
	margin: 7px 0 0;
	padding: 0;
	color: var(--icdcs-muted);
	font-size: 14px;
	font-weight: 480;
	line-height: 1.4;
}

#site-description {
	color: var(--icdcs-text);
	font-size: 15px;
	font-weight: 600;
}

#site-description-date {
	color: var(--icdcs-blue-dark);
	font-weight: 680;
}

#site-description-tagline.icdcs-tagline {
	margin-top: 10px;
	margin-bottom: 0;
	color: var(--icdcs-muted);
}

#site-description-tagline em {
	font-style: normal;
}

#branding #searchform {
	top: 42px;
	right: 56px;
}

#branding #s {
	width: 150px;
	height: 38px;
	box-sizing: border-box;
	padding: 7px 36px 7px 14px;
	border: 1px solid var(--icdcs-border);
	border-radius: 999px;
	background: var(--icdcs-surface-soft);
	color: var(--icdcs-text);
	font-family: inherit;
	font-size: 14px;
	transition: width 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

#branding #s:focus {
	width: 190px;
	border-color: var(--icdcs-blue);
	outline: 0;
	background: #fff;
	box-shadow: 0 0 0 4px rgba(18, 125, 168, 0.12);
}

#branding #searchsubmit {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
}

#branding > a[rel="home"] {
	display: block;
	position: relative;
	background: var(--icdcs-navy-deep);
}

.icdcs-hero {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1000 / 288;
	border: 0;
	object-fit: cover;
	filter: saturate(0.96) contrast(1.03);
}

#access {
	margin: 0;
	border: 0;
	background: linear-gradient(90deg, var(--icdcs-navy-deep), var(--icdcs-navy));
	box-shadow: 0 8px 24px rgba(10, 31, 51, 0.16);
	font-family: inherit;
}

#access .menu > ul {
	display: flex;
	align-items: stretch;
	justify-content: center;
	flex-wrap: wrap;
	margin: 0;
	padding: 0 24px;
	list-style: none;
}

#access .menu > ul > li {
	float: none;
	position: relative;
}

#access a {
	display: block;
	box-sizing: border-box;
	padding: 0 17px;
	border: 0;
	border-bottom: 3px solid transparent;
	background: transparent;
	color: #eaf4f8;
	font-family: inherit;
	font-size: 14px;
	font-weight: 650;
	line-height: 54px;
	letter-spacing: 0.01em;
	text-decoration: none;
	transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

#access .current-menu-item > a,
#access .current_page_item > a,
#access .current_page_ancestor > a,
#access li:hover > a,
#access a:focus {
	border-bottom-color: var(--icdcs-cyan);
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
}

#access ul ul {
	display: none;
	top: 100%;
	left: 0;
	width: 270px;
	padding: 8px 0;
	border: 1px solid var(--icdcs-border);
	border-radius: 0 0 14px 14px;
	background: #fff;
	box-shadow: 0 18px 40px rgba(10, 31, 51, 0.2);
}

#access li:hover > ul,
#access li:focus-within > ul {
	display: block;
	left: 0;
}

#access ul ul li {
	float: none;
	width: 100%;
}

#access ul ul a {
	width: auto;
	height: auto;
	padding: 10px 18px;
	border: 0;
	background: #fff;
	color: var(--icdcs-text);
	font-size: 13px;
	font-weight: 560;
	line-height: 1.35;
	white-space: normal;
}

#access ul ul li:hover > a,
#access ul ul a:focus,
#access ul ul .current-menu-item > a,
#access ul ul .current_page_item > a {
	border: 0;
	background: #eef7fa;
	color: var(--icdcs-blue-dark);
}

#main {
	padding: 0 0 34px;
	background: var(--icdcs-surface);
}

.one-column #content,
.singular .entry-header,
.singular .entry-content,
.singular footer.entry-meta,
.singular #comments-title {
	width: auto;
	max-width: none;
}

.one-column #content {
	margin: 0;
	padding: 52px 64px 64px;
}

.singular .hentry {
	padding: 0;
}

.entry-header {
	margin-bottom: 28px;
}

.entry-title,
.singular .entry-title {
	padding: 0 0 18px;
	border-bottom: 1px solid var(--icdcs-border);
	color: var(--icdcs-navy-deep);
	font-family: inherit;
	font-size: clamp(30px, 3.2vw, 44px);
	font-weight: 780;
	line-height: 1.18;
	letter-spacing: -0.035em;
}

.entry-title a {
	color: inherit;
	text-decoration: none;
}

.entry-content,
.entry-summary {
	color: var(--icdcs-text);
	font-family: inherit;
	font-size: 16px;
	line-height: 1.75;
	overflow-wrap: anywhere;
}

.entry-content p {
	margin: 0 0 1.15em;
}

.entry-content h2,
.entry-content h3,
.entry-content h4,
.elementor-heading-title {
	color: var(--icdcs-navy);
	font-family: inherit;
	font-weight: 720;
	letter-spacing: -0.02em;
}

.entry-content h2 {
	margin: 1.9em 0 0.65em;
	font-size: clamp(24px, 2.4vw, 32px);
	line-height: 1.25;
}

.entry-content h3 {
	margin: 1.5em 0 0.55em;
	font-size: clamp(19px, 1.9vw, 23px);
	line-height: 1.3;
}

.entry-content h4 {
	margin: 1.35em 0 0.45em;
	font-size: 17px;
}

.entry-content ul,
.entry-content ol {
	margin: 0 0 1.35em 1.35em;
}

.entry-content li {
	margin-bottom: 0.35em;
}

.entry-content blockquote {
	margin: 1.8em 0;
	padding: 20px 24px;
	border: 0;
	border-left: 4px solid var(--icdcs-cyan);
	border-radius: 0 var(--icdcs-radius-sm) var(--icdcs-radius-sm) 0;
	background: #f1f8fa;
	box-shadow: none;
	color: var(--icdcs-text);
	font-family: inherit;
	font-style: normal;
}

.entry-content img,
.wp-block-image img,
.elementor img {
	border-radius: var(--icdcs-radius-sm);
}

.entry-content hr {
	margin: 2.5em 0;
	border: 0;
	border-top: 1px solid var(--icdcs-border);
}

.entry-content table,
.tablepress {
	width: 100% !important;
	margin: 1.4em 0 2em !important;
	border: 1px solid var(--icdcs-border) !important;
	border-spacing: 0 !important;
	border-collapse: separate !important;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 10px 28px rgba(16, 42, 67, 0.07);
	overflow: hidden;
}

.entry-content th,
.entry-content td,
.tablepress th,
.tablepress td {
	padding: 11px 13px !important;
	border: 0 !important;
	border-right: 1px solid var(--icdcs-border) !important;
	border-bottom: 1px solid var(--icdcs-border) !important;
	vertical-align: top;
	font-family: inherit;
	font-size: 14px;
	line-height: 1.5;
}

.entry-content tr > *:last-child,
.tablepress tr > *:last-child {
	border-right: 0 !important;
}

.entry-content tr:last-child > *,
.tablepress tr:last-child > * {
	border-bottom: 0 !important;
}

.entry-content th,
.tablepress thead th,
.tablepress tfoot th {
	background: var(--icdcs-navy) !important;
	color: #fff !important;
	font-weight: 700;
}

.entry-content tbody tr:nth-child(even) td,
.tablepress tbody tr:nth-child(even) td {
	background: var(--icdcs-surface-soft) !important;
}

.entry-content tbody tr:hover td,
.tablepress tbody tr:hover td {
	background: #eef7fa !important;
}

.wp-block-button__link,
.entry-content .button,
.entry-content input[type="submit"],
.entry-content button {
	padding: 11px 20px;
	border: 0;
	border-radius: 999px;
	background: var(--icdcs-blue);
	box-shadow: 0 8px 18px rgba(18, 125, 168, 0.2);
	color: #fff;
	font-family: inherit;
	font-weight: 680;
	text-decoration: none;
	transition: transform 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

.wp-block-button__link:hover,
.entry-content .button:hover,
.entry-content input[type="submit"]:hover,
.entry-content button:hover {
	background: var(--icdcs-blue-dark);
	box-shadow: 0 10px 22px rgba(11, 102, 141, 0.26);
	color: #fff;
	transform: translateY(-1px);
}

body.home .entry-content > .elementor > .e-con:first-child .elementor-widget-text-editor:first-child .elementor-widget-container {
	padding: 24px 26px;
	border: 1px solid #d7eaf1;
	border-radius: 16px;
	background: linear-gradient(135deg, #f3fafc, #f8fbfd);
}

body.page-id-26 .elementor-widget-image-box .elementor-image-box-wrapper,
body.page-id-27 .elementor-widget-image-box .elementor-image-box-wrapper {
	height: 100%;
	box-sizing: border-box;
	padding: 18px;
	border: 1px solid var(--icdcs-border);
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 10px 28px rgba(16, 42, 67, 0.07);
	transition: transform 160ms ease, box-shadow 160ms ease;
}

body.page-id-26 .elementor-widget-image-box .elementor-image-box-wrapper:hover,
body.page-id-27 .elementor-widget-image-box .elementor-image-box-wrapper:hover {
	box-shadow: 0 15px 34px rgba(16, 42, 67, 0.12);
	transform: translateY(-2px);
}

body.page-id-26 .elementor-image-box-img img,
body.page-id-27 .elementor-image-box-img img {
	border-radius: 12px;
}

.entry-meta,
.home .entry-meta,
.entry-footer,
.home .entry-footer {
	display: none !important;
}

.icdcs-draft-note {
	display: none !important;
}

.icdcs-draft-link {
	cursor: not-allowed;
	opacity: 0.62;
}

#colophon {
	border-top: 0;
	background: var(--icdcs-navy-deep);
	color: #cbdbe5;
}

#site-generator {
	padding: 24px 48px;
	border-top: 0;
	background: transparent;
	color: #cbdbe5;
	font-family: inherit;
}

#site-generator a {
	color: #fff;
}

@media (max-width: 1220px) {
	#page,
	.one-column #page {
		margin-right: 18px;
		margin-left: 18px;
	}
}

@media (max-width: 900px) {
	.site-header-flex {
		gap: 20px;
		padding: 40px 32px 30px;
	}

	.site-text {
		padding-right: 0;
	}

	#branding #searchform {
		top: 24px;
		right: 32px;
	}

	#branding #s {
		width: 130px;
	}

	.one-column #content {
		padding: 44px 38px 54px;
	}

	#access .menu > ul {
		justify-content: flex-start;
	}
}

@media (max-width: 768px) {
	html,
	body,
	body.custom-background {
		background: #fff !important;
	}

	#page,
	.one-column #page {
		width: 100%;
		margin: 0;
		border: 0;
		border-radius: 0;
		box-shadow: none;
	}

	.site-header-flex {
		display: grid;
		grid-template-columns: 104px minmax(0, 1fr);
		gap: 18px;
		padding: 82px 24px 28px;
	}

	#branding #searchform {
		top: 22px !important;
		right: 24px;
	}

	#branding #s,
	#branding #s:focus {
		width: 150px;
	}

	.site-logo-mark {
		min-height: 78px;
		flex-basis: auto;
		border-radius: 15px;
		font-size: 22px;
	}

	.site-logo-mark small {
		font-size: 17px;
	}

	#site-title a {
		font-size: clamp(25px, 8vw, 32px);
	}

	#site-description,
	#site-description-date,
	#site-description-tagline {
		font-size: 12px;
		line-height: 1.42;
	}

	.icdcs-hero {
		width: 100%;
	}

	#access .menu > ul {
		justify-content: flex-start;
		flex-wrap: nowrap;
		overflow-x: auto;
		padding: 0 10px;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}

	#access .menu > ul::-webkit-scrollbar {
		display: none;
	}

	#access .menu > ul > li {
		flex: 0 0 auto;
	}

	#access a {
		padding: 0 14px;
		font-size: 13px;
		line-height: 50px;
		white-space: nowrap;
	}

	#access ul ul {
		position: absolute;
		width: min(260px, calc(100vw - 32px));
	}

	.one-column #content {
		padding: 36px 22px 48px;
	}

	.entry-title,
	.singular .entry-title {
		font-size: 31px;
	}

	.entry-content,
	.entry-summary {
		font-size: 15px;
	}

	.entry-content {
		overflow-x: auto;
	}

	.entry-content table,
	.tablepress {
		min-width: 620px;
	}

	#site-generator {
		padding: 22px 24px;
	}
}

@media (max-width: 480px) {
	.site-header-flex {
		grid-template-columns: 84px minmax(0, 1fr);
		gap: 15px;
		padding-right: 20px;
		padding-left: 20px;
	}

	.site-logo-mark {
		min-height: 70px;
		font-size: 19px;
	}

	.site-logo-mark small {
		font-size: 15px;
	}

	#site-title a {
		font-size: 25px;
	}

	#site-description-tagline {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}
