/* TDS News & Events — all rules scoped to .tds-news */

.tds-news {
	--tds-navy: #10283f;
	--tds-accent: #b3532c;
	--tds-blue: #1d6fbe;
	--tds-blue-dark: #155a9c;
	--tds-sky: #5bb5e5;
	--tds-ink: #16212c;
	--tds-muted: #5d6974;
	--tds-line: #d9dde1;
	--tds-soft: #f1f1f1;
	color: var(--tds-ink);
	font-size: 15px;
	line-height: 1.65;
}
.tds-news *, .tds-news *::before, .tds-news *::after { box-sizing: border-box; }
body:has(.tds-news) { overflow-x: clip; }

/* Remove the spacing that Induzy and WPBakery add around the shortcode */
:is(.vc_row, .vc_column_container, .vc_column-inner, .wpb_column, .wpb_wrapper, .wpb_text_column, .wpb_content_element, .entry-content, .page-content, .main-content, .site-main, .content-area, #content, #primary, .site-content, article.page, .container > .row, .row > [class*="col-"]):has(.tds-listing, .tds-plist, .tds-blist) {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}
:is(.wpb_wrapper, .entry-content):has(> .tds-listing) > p:empty { display: none; }

.tds-news .tds-wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Full-width bands, even inside a boxed theme container */
.tds-news .tds-band {
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	padding: 60px 0;
}
.tds-news .tds-band--soft { background: var(--tds-soft); }
.tds-news .tds-band--navy { background: var(--tds-navy); color: #fff; }
.tds-news .tds-band--first { padding-top: 44px; }

/* Shared type */
.tds-news .tds-eyebrow {
	display: block;
	margin: 0 0 10px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .07em;
	text-transform: uppercase;
	color: var(--tds-accent);
}
.tds-news .tds-h2 {
	margin: 0 0 28px;
	font-size: clamp(26px, 3vw, 34px);
	line-height: 1.2;
	font-weight: 600;
	color: var(--tds-ink);
}
.tds-news .tds-meta {
	margin: 0 0 8px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--tds-accent);
}
.tds-news .tds-link,
.tds-news .tds-back {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 600;
	color: var(--tds-blue);
	text-decoration: none;
}
.tds-news .tds-link:hover,
.tds-news .tds-back:hover { color: var(--tds-blue-dark); text-decoration: underline; }
.tds-news .tds-arrow { width: 14px; height: 14px; flex: none; }
.tds-news .tds-back .tds-arrow { transform: rotate(180deg); }
.tds-news a:focus-visible { outline: 2px solid var(--tds-sky); outline-offset: 3px; }

/* Featured */
.tds-news .tds-featured {
	display: grid;
	grid-template-columns: 1.15fr 1fr;
	background: var(--tds-soft);
	border-radius: 4px;
	overflow: hidden;
}
.tds-news .tds-featured--noimg { grid-template-columns: 1fr; }
.tds-news .tds-featured__media { position: relative; display: block; min-height: 340px; }
.tds-news .tds-featured__media img {
	position: absolute; inset: 0;
	width: 100%; height: 100%;
	object-fit: cover;
}
.tds-news .tds-featured__body { align-self: center; padding: 40px 44px; }
.tds-news .tds-featured__title { margin: 0 0 16px; font-size: 24px; line-height: 1.3; font-weight: 600; }
.tds-news .tds-featured__title a { color: var(--tds-ink); text-decoration: none; }
.tds-news .tds-featured__title a:hover { color: var(--tds-blue); }
.tds-news .tds-featured__text { font-size: 14px; color: var(--tds-muted); }
.tds-news .tds-featured__text p { margin: 0 0 14px; }

/* Latest list + event */
.tds-news .tds-latest {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 40px;
	align-items: start;
}
.tds-news .tds-latest--full { grid-template-columns: minmax(0, 1fr); }
.tds-news .tds-list__title { margin: 0 0 6px; font-size: 22px; font-weight: 600; color: var(--tds-ink); }
.tds-news .tds-list__sub { margin: 0 0 18px; font-size: 12px; color: var(--tds-muted); }
.tds-news .tds-item {
	display: grid;
	grid-template-columns: 120px minmax(0, 1fr);
	gap: 20px;
	padding: 24px 0;
	border-top: 1px solid var(--tds-line);
}
.tds-news .tds-item:last-child { border-bottom: 1px solid var(--tds-line); }
.tds-news .tds-item__date { font-size: 13px; color: var(--tds-muted); padding-top: 1px; }
.tds-news .tds-item__title { margin: 0 0 8px; font-size: 18px; line-height: 1.35; font-weight: 600; }
.tds-news .tds-item__title a { color: var(--tds-ink); text-decoration: none; }
.tds-news .tds-item__title a:hover { color: var(--tds-blue); }
.tds-news .tds-item__excerpt { margin: 0 0 10px; font-size: 13px; color: var(--tds-muted); }

.tds-news .tds-event {
	position: sticky;
	top: 110px;
	background: var(--tds-navy);
	color: #fff;
	border-radius: 4px;
	overflow: hidden;
}
.tds-news .tds-event__media img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.tds-news .tds-event__body { padding: 24px; }
.tds-news .tds-event .tds-eyebrow { color: var(--tds-sky); }
.tds-news .tds-event__when { display: flex; align-items: center; gap: 14px; margin: 6px 0 18px; }
.tds-news .tds-badge {
	min-width: 56px;
	padding: 6px 8px;
	text-align: center;
	line-height: 1.1;
	background: var(--tds-accent);
	border-radius: 2px;
}
.tds-news .tds-badge__m,
.tds-news .tds-badge__y { display: block; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.tds-news .tds-badge__d { display: block; margin: 3px 0; font-size: 26px; font-weight: 700; }
.tds-news .tds-event__range { font-size: 13px; font-weight: 600; }
.tds-news .tds-event__loc { font-size: 12px; color: rgba(255, 255, 255, .75); }
.tds-news .tds-event__title { margin: 0 0 12px; font-size: 20px; line-height: 1.3; font-weight: 600; color: #fff; }
.tds-news .tds-event__desc { margin: 0 0 18px; font-size: 13px; color: rgba(255, 255, 255, .8); }
.tds-news .tds-event__role {
	display: flex; flex-direction: column;
	margin-bottom: 18px; padding-top: 14px;
	border-top: 1px solid rgba(255, 255, 255, .2);
	font-size: 12px; color: rgba(255, 255, 255, .85);
}
.tds-news .tds-event .tds-link { color: var(--tds-sky); }

/* Archive */
.tds-news .tds-archive__intro { margin: -16px 0 24px; font-size: 14px; color: var(--tds-muted); }
.tds-news .tds-year {
	display: grid;
	grid-template-columns: 220px minmax(0, 1fr);
	gap: 30px;
	align-items: center;
	margin-bottom: 16px;
	padding: 28px 32px;
	background: var(--tds-soft);
	border-radius: 4px;
}
.tds-news .tds-year__num { margin: 0 0 6px; font-size: 44px; line-height: 1; font-weight: 600; color: var(--tds-ink); }
.tds-news .tds-year__count { margin: 0; font-size: 13px; color: var(--tds-muted); }
.tds-news .tds-year__rows { list-style: none; margin: 0; padding: 0; }
.tds-news .tds-row {
	display: grid;
	grid-template-columns: 140px minmax(0, 1fr) 20px;
	gap: 20px;
	align-items: center;
	margin: 0;
	padding: 8px 0;
	font-size: 13px;
	color: var(--tds-muted);
}
.tds-news .tds-row__subject { font-weight: 700; color: var(--tds-blue); text-decoration: none; }
.tds-news .tds-row__posts a { color: var(--tds-muted); text-decoration: none; }
.tds-news .tds-row__posts a:hover { color: var(--tds-blue); text-decoration: underline; }
.tds-news .tds-row__go { color: var(--tds-blue); display: inline-flex; }

/* CTA */
.tds-news .tds-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.tds-news .tds-cta .tds-eyebrow { color: var(--tds-sky); }
.tds-news .tds-cta__title { margin: 0 0 10px; font-size: clamp(24px, 3vw, 32px); font-weight: 600; color: #fff; }
.tds-news .tds-cta__text { margin: 0; font-size: 14px; color: rgba(255, 255, 255, .85); }
.tds-news .tds-cta__text a { color: #fff; }
.tds-news .tds-btn {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 12px 22px;
	font-size: 13px; font-weight: 600;
	color: #fff;
	background: var(--tds-blue);
	border-radius: 3px;
	text-decoration: none;
}
.tds-news .tds-btn:hover { color: #fff; background: var(--tds-blue-dark); }

/* Single article */
.tds-news .tds-banner {
	position: relative;
	display: flex; align-items: center;
	min-height: 210px; padding: 0;
	background: var(--tds-navy) center / cover no-repeat;
	color: #fff;
}
.tds-news .tds-banner::before { content: ""; position: absolute; inset: 0; background: rgba(10, 24, 38, .5); }
.tds-news .tds-banner .tds-wrap { position: relative; width: 100%; }
.tds-news .tds-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; text-transform: uppercase; }
.tds-news .tds-crumbs a { color: #fff; text-decoration: none; }
.tds-news .tds-crumbs::after { content: ""; flex-basis: 100%; max-width: 44px; height: 3px; margin-top: 14px; background: var(--tds-sky); }

.tds-news .tds-single__main { padding-top: 36px; }
.tds-news .tds-single__main > .tds-wrap > .tds-back { margin-bottom: 22px; }
.tds-news .tds-single__title { margin: 0 0 12px; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.2; font-weight: 600; color: var(--tds-ink); }
.tds-news .tds-single__subtitle { margin: 0 0 28px; font-size: clamp(17px, 1.9vw, 22px); line-height: 1.4; font-weight: 500; color: var(--tds-muted); }
.tds-news .tds-single__hero { margin: 0 0 36px; }
.tds-news .tds-single__hero img { display: block; width: 100%; max-height: 460px; object-fit: cover; border-radius: 4px; }

/* Photo mosaic built from the featured image + images in the text */
.tds-news .tds-mosaic {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	grid-auto-rows: 190px;
	gap: 10px;
	margin: 0 0 36px;
}
.tds-news .tds-mosaic__item { display: block; overflow: hidden; border-radius: 4px; background: var(--tds-soft); }
.tds-news .tds-mosaic__item:first-child { grid-row: span 2; }
.tds-news .tds-mosaic__item img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-width: none;
	margin: 0;
	object-fit: cover;
	transition: transform .4s ease;
}
.tds-news .tds-mosaic__item:hover img { transform: scale(1.03); }
.tds-news .tds-mosaic--2 { grid-template-columns: 1fr 1fr; grid-auto-rows: 320px; }
.tds-news .tds-mosaic--2 .tds-mosaic__item:first-child { grid-row: auto; }
.tds-news .tds-mosaic--3 { grid-template-columns: 2fr 1fr; }
.tds-news .tds-mosaic--4 { grid-template-columns: 2fr 1fr 1fr; }
.tds-news .tds-mosaic--4 .tds-mosaic__item:last-child { grid-column: span 2; }

/* Gallery mosaic: first image large, the rest in a 2×2 grid */
.tds-news .tds-gallery { margin: 0 0 36px; }
.tds-news .tds-gallery .wp-block-gallery,
.tds-news .tds-gallery .gallery {
	display: grid !important;
	grid-template-columns: 2fr 1fr 1fr;
	grid-auto-rows: 190px;
	gap: 10px !important;
	margin: 0 !important;
}
.tds-news .tds-gallery .wp-block-gallery > figure,
.tds-news .tds-gallery .gallery > .gallery-item {
	width: auto !important;
	max-width: none !important;
	height: 100%;
	margin: 0 !important;
	padding: 0 !important;
	flex: none !important;
	overflow: hidden;
	border-radius: 4px;
}
.tds-news .tds-gallery .wp-block-gallery > figure:first-child,
.tds-news .tds-gallery .gallery > .gallery-item:first-of-type { grid-row: span 2; }
.tds-news .tds-gallery .wp-block-gallery > figure:only-child { grid-column: 1 / -1; }
.tds-news .tds-gallery .wp-block-gallery:has(> figure:nth-child(3):last-child) { grid-template-columns: 2fr 1fr; }
.tds-news .tds-gallery .wp-block-gallery:has(> figure:nth-child(2):last-child) { grid-template-columns: 1fr 1fr; grid-auto-rows: 300px; }
.tds-news .tds-gallery .wp-block-gallery:has(> figure:nth-child(2):last-child) > figure:first-child { grid-row: auto; }
.tds-news .tds-gallery a,
.tds-news .tds-gallery .gallery-icon { display: block; height: 100%; }
.tds-news .tds-gallery img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	margin: 0 !important;
	object-fit: cover;
	border: 0 !important;
}
.tds-news .tds-gallery .gallery > br,
.tds-news .tds-gallery figcaption,
.tds-news .tds-gallery .gallery-caption { display: none !important; }

.tds-news .tds-single__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 56px;
	align-items: start;
}
.tds-news .tds-single__content > :first-child { margin-top: 0; }
.tds-news .tds-single__content h2,
.tds-news .tds-single__content h3 { margin: 30px 0 12px; font-size: 22px; line-height: 1.3; font-weight: 600; color: var(--tds-ink); }
.tds-news .tds-single__content p,
.tds-news .tds-single__content li { font-size: 15px; color: var(--tds-muted); }
.tds-news .tds-single__content strong { color: var(--tds-ink); }
.tds-news .tds-single__content img { max-width: 100%; height: auto; border-radius: 4px; }
.tds-news .tds-single__foot { margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--tds-line); }

.tds-news .tds-glance {
	position: sticky;
	top: 110px;
	padding: 24px;
	background: var(--tds-soft);
	border-radius: 4px;
}
.tds-news .tds-glance__title { margin: 0 0 4px; font-size: 22px; font-weight: 600; color: var(--tds-ink); }
.tds-news .tds-glance__tag { margin: 0; font-size: 12px; font-weight: 600; color: var(--tds-blue); }
.tds-news .tds-glance dl { margin: 18px 0 0; padding-top: 18px; border-top: 1px solid var(--tds-line); }
.tds-news .tds-glance dt { margin: 0; font-size: 11px; color: var(--tds-muted); }
.tds-news .tds-glance dd { margin: 0 0 14px; font-size: 14px; font-weight: 600; color: var(--tds-ink); }
.tds-news .tds-glance__enq { padding-top: 16px; border-top: 1px solid var(--tds-line); font-size: 12px; color: var(--tds-muted); }
.tds-news .tds-glance > .tds-glance__enq:first-child { padding-top: 0; border-top: 0; }
.tds-news .tds-glance__enq p { margin: 0 0 10px; }
.tds-news .tds-glance__enq a { font-weight: 600; color: var(--tds-blue); text-decoration: none; }
.tds-news .tds-glance__enq a.tds-glance__phone { font-weight: 400; color: var(--tds-ink); }

/* Related */
.tds-news .tds-related__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.tds-news .tds-related__head .tds-h2 { margin: 0; }
.tds-news .tds-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.tds-news .tds-card { padding: 24px; background: #fff; border-radius: 4px; }
.tds-news .tds-card__title { margin: 0 0 10px; font-size: 18px; line-height: 1.35; font-weight: 600; }
.tds-news .tds-card__title a { color: var(--tds-ink); text-decoration: none; }
.tds-news .tds-card__title a:hover { color: var(--tds-blue); }
.tds-news .tds-card__text { margin: 0 0 12px; font-size: 13px; color: var(--tds-muted); }

/* Home page block [tds_news_home] */
:is(.vc_row, .vc_column_container, .vc_column-inner, .wpb_column, .wpb_wrapper, .wpb_text_column, .wpb_content_element):has(.tds-home, .tds-phome) {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}
.tds-news .tds-home__band { background: #eff1f5; padding: 80px 0; }
.tds-news .tds-home__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 48px; }
.tds-news .tds-home__eyebrow { display: block; margin-bottom: 10px; font-size: 14px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; color: var(--tds-ink); }
.tds-news .tds-home__title { margin: 0; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.15; font-weight: 700; color: #1f57a6; }
.tds-news .tds-btn--accent { background: var(--tds-accent); padding: 14px 26px; font-size: 14px; }
.tds-news .tds-btn--accent:hover { background: #994523; }

.tds-news .tds-home__grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 20px; align-items: start; }
.tds-news .tds-home__grid--full { grid-template-columns: minmax(0, 1fr); }
.tds-news .tds-hitem {
	display: grid;
	grid-template-columns: 200px minmax(0, 1fr);
	gap: 24px;
	align-items: center;
	padding: 24px 16px;
	border-top: 1px solid var(--tds-line);
}
.tds-news .tds-hitem:last-child { border-bottom: 1px solid var(--tds-line); }
.tds-news .tds-hitem__date { font-size: 14px; color: var(--tds-ink); }
.tds-news .tds-hitem__title { margin: 0 0 10px; font-size: 17px; line-height: 1.4; font-weight: 600; }
.tds-news .tds-hitem__title a { color: var(--tds-ink); text-decoration: none; }
.tds-news .tds-hitem__title a:hover { color: var(--tds-blue); }
.tds-news .tds-hitem__text { margin: 0; font-size: 14px; line-height: 1.7; }
.tds-news .tds-hitem__excerpt { color: var(--tds-accent); margin-right: 8px; }
.tds-news .tds-tag {
	display: inline-block;
	padding: 1px 8px;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.7;
	color: #fff;
	background: var(--tds-navy);
	border-radius: 3px;
	vertical-align: middle;
	white-space: nowrap;
}

.tds-news .tds-hevents { padding: 28px 16px 24px; background: var(--tds-navy); border-radius: 8px; }
.tds-news .tds-hevents__title { margin: 0 0 20px 16px; font-size: 21px; font-weight: 600; color: var(--tds-sky); }
.tds-news .tds-hevent {
	display: grid;
	grid-template-columns: 116px minmax(0, 1fr);
	gap: 18px;
	align-items: start;
	padding: 0 0 18px;
	color: #fff;
	text-decoration: none;
}
.tds-news .tds-hevent + .tds-hevent { padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .15); }
.tds-news .tds-badge--lg { display: flex; flex-direction: column; justify-content: center; min-height: 116px; border-radius: 4px; }
.tds-news .tds-badge--lg .tds-badge__m { font-weight: 500; font-size: 11px; }
.tds-news .tds-badge--lg .tds-badge__d { font-size: 28px; margin: 8px 0 16px; }
.tds-news .tds-badge--lg .tds-badge__y { font-weight: 500; font-size: 11px; }
.tds-news .tds-hevent__name { display: block; margin: 6px 0 14px; font-size: 16px; font-weight: 600; line-height: 1.4; color: #fff; }
.tds-news .tds-hevent:hover .tds-hevent__name { text-decoration: underline; }
.tds-news .tds-hevent__meta { display: block; font-size: 13px; line-height: 1.6; color: var(--tds-sky); }

@media (max-width: 991px) {
	.tds-news .tds-home__grid { grid-template-columns: minmax(0, 1fr); }
	.tds-news .tds-home__band { padding: 56px 0; }
}
@media (max-width: 640px) {
	.tds-news .tds-hitem { grid-template-columns: 1fr; gap: 6px; padding: 20px 4px; }
	.tds-news .tds-home__head { align-items: flex-start; margin-bottom: 28px; }
}

/* ================= Projects ================= */

/* Filter */
.tds-news .tds-plist__band { padding-top: 44px; }
.tds-news .tds-filter {
	display: flex; flex-wrap: wrap; gap: 8px;
	margin: 0 0 28px; padding-bottom: 20px;
	border-bottom: 1px solid var(--tds-line);
}
.tds-news .tds-filter button {
	margin: 0;
	padding: 9px 18px;
	font: inherit; font-size: 13px; font-weight: 500; line-height: 1.2;
	color: var(--tds-ink);
	background: #fff;
	border: 1px solid var(--tds-line);
	border-radius: 3px;
	cursor: pointer;
	box-shadow: none;
	text-transform: none;
	letter-spacing: 0;
	transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.tds-news .tds-filter button:hover { border-color: var(--tds-blue); color: var(--tds-blue); }
.tds-news .tds-filter button.is-active { color: #fff; background: var(--tds-blue); border-color: var(--tds-blue); }
.tds-news .tds-filter button:focus-visible { outline: 2px solid var(--tds-sky); outline-offset: 2px; }
.tds-news .tds-plist__empty { margin: 20px 0 0; color: var(--tds-muted); }

/* Cards */
.tds-news .tds-pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.tds-news .tds-pcard {
	display: flex; flex-direction: column;
	background: #fff;
	border: 1px solid #e3e6ea;
	border-radius: 4px;
	overflow: hidden;
	box-shadow: 0 1px 2px rgba(16, 40, 63, .05);
	transition: box-shadow .2s ease, transform .2s ease;
}
.tds-news .tds-pcard[hidden] { display: none; }
.tds-news .tds-pcard:hover { box-shadow: 0 10px 24px rgba(16, 40, 63, .10); transform: translateY(-2px); }
.tds-news .tds-pcard__media { display: block; aspect-ratio: 16 / 8.5; background: var(--tds-soft); overflow: hidden; }
.tds-news .tds-pcard__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tds-news .tds-pcard__body { display: flex; flex-direction: column; flex: 1; padding: 20px 20px 22px; }
.tds-news .tds-pcard__title { margin: 0 0 6px; font-size: 18px; line-height: 1.3; font-weight: 600; }
.tds-news .tds-pcard__title a { color: var(--tds-ink); text-decoration: none; }
.tds-news .tds-pcard__title a:hover { color: var(--tds-blue); }
.tds-news .tds-pcard__loc { margin: 0 0 12px; font-size: 12px; color: var(--tds-blue); }
.tds-news .tds-pcard__text { margin: 0 0 14px; font-size: 13px; line-height: 1.6; color: var(--tds-muted); }
.tds-news .tds-pcard__foot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--tds-line); }
.tds-news .tds-pcard__tags { margin: 0 0 10px; font-size: 11px; color: var(--tds-muted); }

/* Home block */
.tds-news .tds-phome__band { padding: 80px 0; }

/* Single project: hero */
.tds-news .tds-phero {
	position: relative;
	padding: 90px 0 80px;
	background: var(--tds-navy) center / cover no-repeat;
	color: #fff;
}
.tds-news .tds-phero::before {
	content: "";
	position: absolute; inset: 0;
	background: linear-gradient(90deg, rgba(10, 26, 46, .88) 0%, rgba(10, 26, 46, .7) 45%, rgba(10, 26, 46, .45) 100%);
}
.tds-news .tds-phero .tds-wrap { position: relative; }
.tds-news .tds-phero .tds-crumbs { margin-bottom: 22px; }
.tds-news .tds-phero__title { max-width: 820px; margin: 0; font-size: clamp(28px, 3.6vw, 42px); line-height: 1.2; font-weight: 700; color: #fff; }

/* Single project: scope + side */
.tds-news .tds-project__main { padding-top: 32px; }
.tds-news .tds-project__main .tds-back { margin-bottom: 22px; }
.tds-news .tds-project__grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
.tds-news .tds-panel { padding: 32px 36px; background: #fff; border: 1px solid #e3e6ea; border-radius: 6px; }
.tds-news .tds-panel__title { margin: 0 0 12px; font-size: 22px; line-height: 1.3; font-weight: 600; color: var(--tds-ink); }
.tds-news .tds-panel__text p { margin: 0 0 12px; font-size: 14px; line-height: 1.7; color: var(--tds-muted); }
.tds-news .tds-panel__outcome { margin-top: 26px; padding-top: 26px; border-top: 1px solid var(--tds-line); }
.tds-news .tds-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; margin: 6px 0 0; padding: 0; list-style: none; }
.tds-news .tds-checks li { display: flex; gap: 10px; margin: 0; font-size: 13px; line-height: 1.55; color: var(--tds-ink); }
.tds-news .tds-checks svg { flex: none; width: 16px; height: 16px; margin-top: 2px; color: var(--tds-blue); }

.tds-news .tds-project__side { display: grid; gap: 18px; position: sticky; top: 110px; }
.tds-news .tds-details { padding: 24px; background: #fff; border: 1px solid #e3e6ea; border-radius: 6px; }
.tds-news .tds-details__title { margin: 0 0 14px; font-size: 16px; font-weight: 600; color: var(--tds-ink); }
.tds-news .tds-details dl { margin: 0; }
.tds-news .tds-details dt { margin: 14px 0 3px; padding-top: 14px; border-top: 1px solid var(--tds-line); font-size: 10px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--tds-muted); }
.tds-news .tds-details dt:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.tds-news .tds-details dd { margin: 0; font-size: 13px; line-height: 1.5; color: var(--tds-ink); }
.tds-news .tds-details__logo { display: block; max-width: 120px; max-height: 44px; margin-top: 10px; object-fit: contain; }
.tds-news .tds-details__tags { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 4px; }
.tds-news .tds-chip { display: inline-block; padding: 2px 10px; font-size: 11px; color: var(--tds-ink); border: 1px solid var(--tds-line); border-radius: 99px; }

.tds-news .tds-pcta { padding: 24px; color: #fff; background: var(--tds-blue); border-radius: 6px; }
.tds-news .tds-pcta__title { margin: 0 0 8px; font-size: 17px; font-weight: 600; color: #fff; }
.tds-news .tds-pcta__text { margin: 0 0 16px; font-size: 13px; line-height: 1.55; color: rgba(255, 255, 255, .88); }
.tds-news .tds-pcta__btn {
	display: flex; align-items: center; justify-content: center; gap: 8px;
	padding: 11px 16px;
	font-size: 13px; font-weight: 600;
	color: var(--tds-blue);
	background: #fff;
	border-radius: 3px;
	text-decoration: none;
}
.tds-news .tds-pcta__btn:hover { color: var(--tds-blue-dark); background: #eef4fb; }
.tds-news .tds-pcta__contact { margin: 12px 0 0; font-size: 11px; text-align: center; color: rgba(255, 255, 255, .85); }
.tds-news .tds-pcta__contact a { color: #fff; text-decoration: none; }

/* Single project: image section */
.tds-news .tds-shots { padding-top: 20px; }
.tds-news .tds-shots__head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 20px; }
.tds-news .tds-shots__head .tds-h2 { margin: 0; }
.tds-news .tds-shots__sub { margin: 0; font-size: 13px; color: var(--tds-muted); }
.tds-news .tds-shots__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.tds-news .tds-shot { margin: 0; overflow: hidden; background: #fff; border: 1px solid #e3e6ea; border-radius: 6px; }
.tds-news .tds-shot--wide { grid-column: 1 / -1; }
.tds-news .tds-shot__img { display: block; background: var(--tds-soft); }
.tds-news .tds-shot__img img { display: block; width: 100%; height: auto; }
.tds-news .tds-shot figcaption { display: grid; gap: 4px; padding: 16px 20px 18px; border-top: 1px solid #e3e6ea; }
.tds-news .tds-shot--wide figcaption { grid-template-columns: 240px minmax(0, 1fr); gap: 24px; align-items: baseline; }
.tds-news .tds-shot figcaption strong { font-size: 14px; font-weight: 600; color: var(--tds-ink); }
.tds-news .tds-shot figcaption span { font-size: 13px; line-height: 1.55; color: var(--tds-muted); }

/* Single project: previous / next */
.tds-news .tds-pnav-band { padding-top: 0; }
.tds-news .tds-pnav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.tds-news .tds-pnav__item { display: grid; gap: 6px; padding: 20px 24px; background: #fff; border: 1px solid #e3e6ea; border-radius: 6px; text-decoration: none; transition: border-color .15s ease; }
.tds-news .tds-pnav__item:hover { border-color: var(--tds-blue); }
.tds-news .tds-pnav__item--next { text-align: right; }
.tds-news .tds-pnav__label { display: inline-flex; align-items: center; gap: 8px; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--tds-muted); }
.tds-news .tds-pnav__item--next .tds-pnav__label { justify-content: flex-end; }
.tds-news .tds-pnav__item:not(.tds-pnav__item--next) .tds-arrow { transform: rotate(180deg); }
.tds-news .tds-pnav__title { font-size: 15px; font-weight: 600; color: var(--tds-ink); }

/* Single project: bottom banner */
.tds-news .tds-pfinal-band { padding-top: 10px; }
.tds-news .tds-pfinal {
	display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
	padding: 40px 44px;
	color: #fff;
	background: linear-gradient(100deg, var(--tds-navy) 0%, #174a85 60%, var(--tds-blue) 100%);
	border-radius: 8px;
}
.tds-news .tds-pfinal__title { max-width: 640px; margin: 0 0 8px; font-size: clamp(22px, 2.6vw, 28px); line-height: 1.25; font-weight: 600; color: #fff; }
.tds-news .tds-pfinal__text { margin: 0; max-width: 640px; font-size: 14px; color: rgba(255, 255, 255, .85); }
.tds-news .tds-pfinal__btn { padding: 12px 28px; font-size: 14px; font-weight: 600; color: var(--tds-blue); background: #fff; border-radius: 3px; text-decoration: none; }
.tds-news .tds-pfinal__btn:hover { color: var(--tds-blue-dark); background: #eef4fb; }

@media (max-width: 991px) {
	.tds-news .tds-pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tds-news .tds-project__grid { grid-template-columns: minmax(0, 1fr); }
	.tds-news .tds-project__side { position: static; grid-template-columns: 1fr 1fr; }
	.tds-news .tds-phome__band { padding: 56px 0; }
}
@media (max-width: 640px) {
	.tds-news .tds-pgrid,
	.tds-news .tds-shots__grid,
	.tds-news .tds-pnav,
	.tds-news .tds-project__side,
	.tds-news .tds-checks { grid-template-columns: minmax(0, 1fr); }
	.tds-news .tds-panel { padding: 24px 20px; }
	.tds-news .tds-shot--wide figcaption { grid-template-columns: 1fr; gap: 4px; }
	.tds-news .tds-pnav__item--next { text-align: left; }
	.tds-news .tds-pnav__item--next .tds-pnav__label { justify-content: flex-start; }
	.tds-news .tds-phero { padding: 60px 0 50px; }
	.tds-news .tds-pfinal { padding: 28px 24px; }
}

/* ================= Blog ================= */
.tds-news .tds-blist__band { padding-top: 48px; }
.tds-news .tds-blist__title { margin-bottom: 12px; }
.tds-news .tds-blist__intro { max-width: 700px; margin: 0 0 26px; font-size: 14px; line-height: 1.7; color: var(--tds-muted); }
.tds-news .tds-bgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tds-news .tds-pcard--blog .tds-pcard__media { aspect-ratio: 16 / 10.5; }
.tds-news .tds-pcard--blog .tds-pcard__body { padding: 18px 16px 20px; }
.tds-news .tds-pcard--blog .tds-pcard__title { margin-bottom: 10px; font-size: 17px; }
.tds-news .tds-pcard__foot--plain { padding-top: 0; border-top: 0; }
.tds-news .tds-more-wrap { margin-top: 28px; text-align: center; }
.tds-news .tds-more {
	padding: 11px 26px;
	font: inherit; font-size: 13px; font-weight: 600;
	color: var(--tds-blue);
	background: #fff;
	border: 1px solid var(--tds-blue);
	border-radius: 3px;
	cursor: pointer;
	text-transform: none; letter-spacing: 0; box-shadow: none;
}
.tds-news .tds-more:hover { color: #fff; background: var(--tds-blue); }
.tds-news .tds-more[hidden] { display: none; }
.tds-news .tds-blist__foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 26px; font-size: 12px; color: var(--tds-muted); }

.tds-news .tds-blog-single__title { max-width: 820px; margin-bottom: 28px; }
.tds-news .tds-blog-single__content { max-width: none; }
.tds-news .tds-blog-single__content p { font-size: 14px; line-height: 1.75; }
.tds-news .tds-blog-single .tds-single__main { padding-bottom: 48px; }

/* Home projects block: filter under the heading */
.tds-news .tds-phome .tds-home__head { margin-bottom: 28px; }
.tds-news .tds-phome .tds-filter { margin-bottom: 26px; }

@media (max-width: 1100px) {
	.tds-news .tds-bgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
	.tds-news .tds-bgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
	.tds-news .tds-bgrid { grid-template-columns: minmax(0, 1fr); }
}

/* ================= X logo instead of the Twitter bird ================= */
body.tds-x-logo .fa-twitter::before,
body.tds-x-logo .fa-twitter-square::before,
body.tds-x-logo [class*="icon-twitter"]::before,
body.tds-x-logo [class*="ti-twitter"]::before,
body.tds-x-logo a[href*="twitter.com"] i::before,
body.tds-x-logo a[href*="//x.com"] i::before {
	content: "" !important;
	display: inline-block;
	width: .9em;
	height: .9em;
	vertical-align: -0.1em;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18.901 1.153h3.68l-8.04 9.19L24 22.846h-7.406l-5.8-7.584-6.638 7.584H.474l8.6-9.83L0 1.154h7.594l5.243 6.932ZM17.61 20.644h2.039L6.486 3.24H4.298Z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18.901 1.153h3.68l-8.04 9.19L24 22.846h-7.406l-5.8-7.584-6.638 7.584H.474l8.6-9.83L0 1.154h7.594l5.243 6.932ZM17.61 20.644h2.039L6.486 3.24H4.298Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Right-to-left (Arabic) */
[dir="rtl"] .tds-news .tds-arrow { transform: scaleX(-1); }
[dir="rtl"] .tds-news .tds-back .tds-arrow { transform: none; }
[dir="rtl"] .tds-news .tds-pnav__item--next { text-align: left; }
[dir="rtl"] .tds-news .tds-hitem__excerpt { margin-right: 0; margin-left: 8px; }

/* Tablet */
@media (max-width: 991px) {
	.tds-news .tds-band { padding: 48px 0; }
	.tds-news .tds-featured,
	.tds-news .tds-latest,
	.tds-news .tds-single__grid,
	.tds-news .tds-year { grid-template-columns: minmax(0, 1fr); }
	.tds-news .tds-featured__media { min-height: 260px; }
	.tds-news .tds-event,
	.tds-news .tds-glance { position: static; }
	.tds-news .tds-single__grid { gap: 32px; }
}

/* Phone */
@media (max-width: 640px) {
	.tds-news .tds-featured__body { padding: 26px 22px; }
	.tds-news .tds-item { grid-template-columns: 1fr; gap: 4px; }
	.tds-news .tds-row { grid-template-columns: minmax(0, 1fr) 20px; gap: 4px 12px; padding: 10px 0; }
	.tds-news .tds-row__subject { grid-column: 1 / -1; }
	.tds-news .tds-year { padding: 24px 20px; }
	.tds-news .tds-cards { grid-template-columns: 1fr; }
	.tds-news .tds-related__head { flex-direction: column; align-items: flex-start; }
	.tds-news .tds-gallery .wp-block-gallery,
	.tds-news .tds-gallery .gallery,
	.tds-news .tds-mosaic { grid-template-columns: 1fr 1fr !important; grid-auto-rows: 130px; }
	.tds-news .tds-mosaic .tds-mosaic__item:first-child { grid-column: 1 / -1; grid-row: span 2; }
	.tds-news .tds-mosaic--4 .tds-mosaic__item:last-child { grid-column: auto; }
	.tds-news .tds-gallery .wp-block-gallery > figure:first-child,
	.tds-news .tds-gallery .gallery > .gallery-item:first-of-type { grid-column: 1 / -1; grid-row: span 2; }
}
