/* ==========================================================================
   It's Time To Get Married — main stylesheet
   --------------------------------------------------------------------------
   Bootstrap 5 handles the grid and components. This file only adds the
   theme look (fonts and colors match the "Live Event – Solid" design).
   Sections follow the order of the homepage.

   1.  Variables
   2.  Base
   3.  Helpers (sections, headings, buttons, social icons)
   4.  Header & navigation
   5.  Hero slider
   6.  Countdown
   7.  About
   8.  Speakers
   9.  Gallery slider
   10. Register form (Contact Form 7)
   11. Sponsors
   12. Testimonials
   13. News cards
   14. Newsletter
   15. FAQ
   16. Contact
   17. Footer
   18. Inner pages (news archive, single, 404)
   19. Modals
   20. Responsive tweaks
   ========================================================================== */


/* 1. Variables
   ========================================================================== */
:root {
	/* Colors from the reference design */
	--ittgm-primary: #31a2f0;          /* main blue: buttons, lines, icons */
	--ittgm-secondary: #6e65de;        /* purple, used in the gradient */
	--ittgm-gradient: linear-gradient(to right, #6e65de 0%, #30a3f0 100%);
	--ittgm-heading: #222222;          /* headings */
	--ittgm-text: #797979;             /* body text */
	--ittgm-border: #e1e1e1;           /* borders */
	--ittgm-soft-bg: #f9f9f9;          /* light grey sections */
	--ittgm-dark-bg: #06131c;          /* footer */
	--ittgm-overlay: rgba(0, 0, 0, 0.85); /* dark photo sections */

	/* Fonts from the reference design */
	--ittgm-font-heading: "Montserrat Alternates", sans-serif;
	--ittgm-font-body: "Lato", sans-serif;
	--ittgm-font-numbers: "Oswald", sans-serif;

	--ittgm-radius: 10px;
	--ittgm-transition: all 0.4s ease;
	--ittgm-header-height: 86px;

	/* Bootstrap overrides */
	--bs-body-font-family: var(--ittgm-font-body);
	--bs-body-color: var(--ittgm-text);
	--bs-link-color-rgb: 49, 162, 240;
	--bs-link-hover-color-rgb: 34, 34, 34;
}


/* 2. Base
   ========================================================================== */
html {
	scroll-behavior: smooth;
	scroll-padding-top: var(--ittgm-header-height);
}

body {
	font-size: 16px;
	line-height: 1.6;
	background-color: #ffffff;
	overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--ittgm-font-heading);
	font-weight: 700;
	line-height: 1.2;
	color: var(--ittgm-heading);
}

a {
	text-decoration: none;
	transition: var(--ittgm-transition);
}

img {
	max-width: 100%;
	height: auto;
}

.skip-link:focus {
	position: fixed;
	top: 10px;
	left: 10px;
	z-index: 2000;
	padding: 10px 16px;
	background: #ffffff;
	color: var(--ittgm-heading);
}


/* 3. Helpers
   ========================================================================== */

/* Section spacing and backgrounds */
.section-padding {
	padding: 100px 0;
}

.bg-soft {
	background-color: var(--ittgm-soft-bg);
}

/* Dark section with a photo background + dark overlay.
   The photo is set inline (style="background-image: ...") in the template. */
.section-dark {
	position: relative;
	background-color: var(--ittgm-dark-bg);
	background-position: center;
	background-size: cover;
	color: #999999;
}

.section-dark::before {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--ittgm-overlay);
}

.section-dark > .container {
	position: relative; /* keep content above the overlay */
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
	color: #ffffff;
}

/* Section heading */
.section-heading {
	max-width: 760px;
	margin: 0 auto 70px;
}

.section-title {
	position: relative;
	padding-bottom: 20px;
	margin-bottom: 30px;
	font-size: 40px;
	text-transform: capitalize;
}

.section-title::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 0;
	width: 60px;
	height: 4px;
	background: var(--ittgm-primary);
	transform: translateX(-50%);
}

.section-intro {
	margin-bottom: 0;
}

/* Buttons */
.btn {
	min-width: 150px;
	padding: 11px 30px;
	border-radius: 50px;
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	transition: var(--ittgm-transition);
}

.btn-lg {
	padding: 14px 40px;
	font-size: 15px;
}

/* Icons inside buttons */
.btn .bi {
	display: inline-block;
	font-size: 1.1em;
	line-height: 1;
	vertical-align: -0.1em;
	transition: transform 0.3s ease;
}

.btn .bi:first-child {
	margin-right: 8px;
}

.btn .bi:last-child {
	margin-left: 8px;
}

.btn:hover .bi-arrow-right {
	transform: translateX(4px);
}

.btn:hover .bi:first-child {
	transform: scale(1.12);
}

/* Solid blue button: turns transparent on hover */
.btn-brand {
	border: 2px solid var(--ittgm-primary);
	background: var(--ittgm-primary);
	color: #ffffff;
}

.btn-brand:hover,
.btn-brand:focus {
	border-color: var(--ittgm-primary);
	background: transparent;
	color: var(--ittgm-heading);
}

.section-dark .btn-brand:hover,
.hero .btn-brand:hover {
	color: #ffffff;
}

/* Outline blue button: fills on hover */
.btn-brand-outline {
	border: 2px solid var(--ittgm-primary);
	background: transparent;
	color: var(--ittgm-heading);
}

.btn-brand-outline:hover {
	background: var(--ittgm-primary);
	color: #ffffff;
}

/* Round social icons */
.social-links a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #ffffff;
	color: var(--ittgm-primary);
}

.social-links a:hover {
	background: var(--ittgm-heading);
	color: #ffffff;
}

.social-links-lg a {
	width: 46px;
	height: 46px;
	font-size: 18px;
	background: transparent;
	border: 2px dashed #696969;
	color: #ffffff;
}

.social-links-lg a:hover {
	border-color: var(--ittgm-primary);
	background: var(--ittgm-primary);
	color: #ffffff;
}


/* 4. Header & navigation
   ========================================================================== */
.site-header {
	position: sticky;
	top: 0;
	z-index: 1030;
	background: #ffffff;
	transition: box-shadow 0.3s ease;
}

.admin-bar .site-header {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .site-header {
		top: 46px;
	}
}

@media (max-width: 600px) {
	.admin-bar .site-header {
		top: 0; /* WordPress makes the admin bar scroll away on small screens */
	}
}

/* Added by main.js after scrolling down */
.site-header.is-scrolled {
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.site-header .navbar {
	min-height: var(--ittgm-header-height);
	padding: 0;
}

.site-logo {
	flex: 1 1 0;
	min-width: 0; /* lets a long site name wrap instead of overflowing */
}

.site-logo img {
	max-height: 56px;
	width: auto;
}

.navbar-brand {
	font-family: var(--ittgm-font-heading);
	font-size: 24px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--ittgm-heading);
	white-space: normal;
}

.navbar-brand:hover {
	color: var(--ittgm-primary);
}

/* Menu links: pill border on hover / active (as in the reference) */
.site-header .nav-link {
	margin: 0 2px;
	padding: 8px 14px !important;
	border: 2px solid transparent;
	border-radius: 50px;
	font-size: 16px;
	color: #000000;
}

.site-header .nav-link:hover,
.site-header .nav-link.active,
.site-header .current-menu-item > .nav-link {
	border-color: var(--ittgm-primary);
	color: #000000;
}

.site-header .btn {
	white-space: nowrap;
}

/* Mobile menu */
@media (max-width: 1199.98px) {
	.site-header .nav-link {
		padding: 6px 10px !important;
		font-size: 15px;
	}
}

@media (max-width: 991.98px) {
	.site-header .navbar {
		min-height: 70px;
		padding: 10px 0;
	}

	.site-header .navbar-collapse {
		padding: 10px 0 20px;
	}

	.site-header .nav-link {
		margin: 4px 0;
	}
}


/* 5. Hero slider
   ========================================================================== */
.hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: max(560px, min(calc(100vh - var(--ittgm-header-height)), 850px));
	overflow: hidden;
	color: #ffffff;
}

/* The carousel fills the whole hero, behind the text */
.hero-carousel,
.hero-carousel .carousel-inner,
.hero-carousel .carousel-item {
	position: absolute;
	inset: 0;
	height: 100%;
}

.hero-carousel .carousel-item {
	background-position: center;
	background-size: cover;
}

.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
	z-index: 3;
	width: 8%;
}

.hero-overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: rgba(0, 0, 0, 0.7);
	pointer-events: none;
}

.hero-content {
	position: relative;
	z-index: 2;
	padding: 80px 15px;
}

.hero-title {
	display: inline-block;
	margin-bottom: 20px;
	padding: 10px 30px;
	border: 2px solid var(--ittgm-primary);
	font-size: clamp(30px, 5vw, 50px);
	color: #ffffff;
	overflow-wrap: break-word;
}

.hero-subtitle {
	margin-bottom: 36px;
	font-family: var(--ittgm-font-heading);
	font-size: clamp(18px, 3vw, 30px);
	font-weight: 700;
}


/* 6. Countdown
   ========================================================================== */
.countdown-title {
	margin-bottom: 14px;
	font-size: clamp(30px, 4vw, 50px);
	color: #000000;
}

.countdown-date {
	position: relative;
	margin-bottom: 60px;
	padding-bottom: 20px;
	font-size: 24px;
	color: #000000;
}

.countdown-date::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 0;
	width: 60px;
	height: 4px;
	background: var(--ittgm-primary);
	transform: translateX(-50%);
}

.countdown-number {
	display: block;
	padding: 20px 0;
	border: 1px solid var(--ittgm-border);
	border-radius: var(--ittgm-radius);
	background: #ffffff;
	font-family: var(--ittgm-font-numbers);
	font-size: clamp(44px, 6vw, 70px);
	line-height: 1.1;
	color: #000000;
}

.countdown-label {
	display: block;
	margin-top: 12px;
	font-size: 16px;
	text-transform: capitalize;
}


/* 7. About
   ========================================================================== */
.about-subtitle {
	margin-bottom: 20px;
	font-size: 22px;
	color: var(--ittgm-primary);
}

.stat-box {
	padding: 30px 16px;
	border: 1px solid var(--ittgm-border);
	border-radius: var(--ittgm-radius);
	transition: var(--ittgm-transition);
}

.stat-box:hover {
	border-color: var(--ittgm-primary);
}

.stat-icon {
	display: inline-block;
	margin-bottom: 12px;
	font-size: 38px;
	color: var(--ittgm-primary);
}

.stat-title {
	margin-bottom: 4px;
	font-size: 20px;
}


/* 8. Speakers
   ========================================================================== */
.speaker-card {
	text-align: center;
}

.speaker-image {
	position: relative;
	overflow: hidden;
	border-radius: var(--ittgm-radius);
	aspect-ratio: 9 / 10;
}

.speaker-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

/* Blue social bar slides up on hover */
.speaker-social {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 12px 0;
	background: var(--ittgm-primary);
	transform: translateY(100%);
	transition: var(--ittgm-transition);
}

.speaker-card:hover .speaker-social {
	transform: translateY(0);
}

.speaker-card:hover .speaker-image img {
	transform: scale(1.06);
}

.speaker-info {
	padding: 20px 8px 0;
}

.speaker-name {
	position: relative;
	margin-bottom: 18px;
	padding-bottom: 14px;
	font-size: 22px;
}

.speaker-name::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 0;
	width: 40px;
	height: 3px;
	background: var(--ittgm-primary);
	transform: translateX(-50%);
}

.speaker-role {
	color: #999999;
}


/* 9. Gallery slider
   ========================================================================== */
.gallery-slider {
	position: relative;
}

/* Horizontal scroll track: 4 items on desktop, 3 on tablet, 2 / 1 on phones */
.gallery-track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - 3 * 20px) / 4);
	gap: 20px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
}

.gallery-track::-webkit-scrollbar {
	display: none;
}

.gallery-item {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: var(--ittgm-radius);
	aspect-ratio: 1 / 1;
	scroll-snap-align: start;
}

.gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.gallery-zoom {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(49, 162, 240, 0.8);
	font-size: 34px;
	color: #ffffff;
	opacity: 0;
	transition: var(--ittgm-transition);
}

.gallery-item:hover img {
	transform: scale(1.08);
}

.gallery-item:hover .gallery-zoom {
	opacity: 1;
}

/* Prev / next buttons */
.gallery-nav {
	position: absolute;
	top: 50%;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border: 0;
	border-radius: 50%;
	background: var(--ittgm-primary);
	font-size: 20px;
	color: #ffffff;
	transform: translateY(-50%);
	transition: var(--ittgm-transition);
}

.gallery-nav:hover {
	background: #ffffff;
	color: var(--ittgm-primary);
}

.gallery-prev {
	left: -23px;
}

.gallery-next {
	right: -23px;
}

@media (max-width: 991.98px) {
	.gallery-track {
		grid-auto-columns: calc((100% - 2 * 20px) / 3);
	}
}

@media (max-width: 767.98px) {
	.gallery-track {
		grid-auto-columns: calc((100% - 20px) / 2);
	}

	.gallery-prev {
		left: 6px;
	}

	.gallery-next {
		right: 6px;
	}
}


/* 10. Register form (Contact Form 7)
   ========================================================================== */
.register-form-box {
	padding: 50px;
	border-radius: var(--ittgm-radius);
	background: #ffffff;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
}

.register-form-box .form-label {
	margin-bottom: 6px;
	font-weight: 700;
	color: var(--ittgm-heading);
}

.form-control,
.form-select {
	padding: 12px 18px;
	border: 2px solid var(--ittgm-border);
	border-radius: 8px;
}

.form-control:focus,
.form-select:focus {
	border-color: var(--ittgm-primary);
	box-shadow: none;
}

/* CF7 wraps every field in a span: make it full width */
.wpcf7-form-control-wrap {
	display: block;
}

.wpcf7-not-valid-tip {
	margin-top: 4px;
	font-size: 14px;
}

.wpcf7 form .wpcf7-response-output {
	margin: 24px 0 0;
	padding: 12px 16px;
	border-radius: 8px;
}

.wpcf7-spinner {
	vertical-align: middle;
}


/* 11. Sponsors
   ========================================================================== */
.sponsor-logo {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 110px;
	padding: 20px;
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: var(--ittgm-radius);
}

.sponsor-logo:hover {
	border-color: var(--ittgm-primary);
}

.sponsor-logo img {
	max-height: 60px;
}


/* 12. Testimonials
   ========================================================================== */
.testimonials {
	position: relative;
	background-position: center;
	background-size: cover;
}

/* Light overlay so the dark text stays readable on the photo */
.testimonials::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(255, 255, 255, 0.9);
}

.testimonials > .container {
	position: relative;
}

.testimonials .section-heading {
	margin-bottom: 30px;
}

.testimonial-quote-icon {
	font-size: 60px;
	line-height: 1;
	color: var(--ittgm-primary);
}

.testimonial {
	max-width: 800px;
	padding-bottom: 110px;
}

.testimonial-text {
	font-size: 20px;
	font-style: italic;
	color: #000000;
}

.testimonial-author strong {
	font-family: var(--ittgm-font-heading);
	font-size: 20px;
	color: #000000;
}

/* Author photos used as carousel indicators */
.testimonial-avatars {
	gap: 16px;
	margin-bottom: 0;
}

.testimonial-avatars [data-bs-target] {
	width: 66px;
	height: 66px;
	margin: 0;
	padding: 0;
	overflow: hidden;
	border: 3px solid transparent;
	border-radius: 50%;
	background: none;
	opacity: 0.5;
	text-indent: 0;
	transition: var(--ittgm-transition);
}

.testimonial-avatars [data-bs-target].active {
	border-color: var(--ittgm-primary);
	opacity: 1;
}

.testimonial-avatars img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}


/* 13. News cards
   ========================================================================== */
.news-card {
	overflow: hidden;
	border-radius: var(--ittgm-radius);
	background: #ffffff;
	transition: var(--ittgm-transition);
}

.news-card:hover {
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.news-card-image {
	display: block;
	overflow: hidden;
	aspect-ratio: 3 / 2;
}

.news-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.news-card:hover .news-card-image img {
	transform: scale(1.06);
}

.news-card-body {
	padding: 24px;
}

.news-card-date {
	margin-bottom: 8px;
	font-size: 14px;
}

.news-card-date i {
	color: var(--ittgm-primary);
}

.news-card-title {
	margin-bottom: 10px;
	font-size: 20px;
}

.news-card-title a {
	color: var(--ittgm-heading);
}

.news-card:hover .news-card-title a,
.read-more {
	color: var(--ittgm-primary);
}

.read-more {
	font-weight: 700;
	text-transform: capitalize;
}

.read-more:hover {
	color: var(--ittgm-heading);
}


/* 14. Newsletter
   ========================================================================== */
.newsletter {
	padding: 70px 0;
}

.newsletter-title {
	font-size: 30px;
}

.newsletter-form .form-control {
	border: 2px solid #818181;
	border-radius: 50px;
	background: transparent;
	color: #ffffff;
	padding-left: 24px;
}

.newsletter-form .form-control::placeholder {
	color: #aaaaaa;
}

.newsletter-form .form-control:focus {
	border-color: var(--ittgm-primary);
}

/* Subscription form (Contact Form 7) inside the newsletter bar */
.newsletter .wpcf7 form {
	position: relative;
	margin: 0;
}

.newsletter .wpcf7 input[type="email"],
.newsletter .wpcf7 input[type="text"] {
	border: 2px solid #818181;
	border-radius: 50px;
	background: transparent;
	color: #ffffff;
	padding-left: 24px;
}

.newsletter .wpcf7 input[type="email"]::placeholder,
.newsletter .wpcf7 input[type="text"]::placeholder {
	color: #aaaaaa;
}

.newsletter .wpcf7 input[type="email"]:focus,
.newsletter .wpcf7 input[type="text"]:focus {
	border-color: var(--ittgm-primary);
	box-shadow: none;
}

/* Email field + button side by side */
.newsletter .newsletter-form {
	position: relative;
	align-items: flex-start;
}

.newsletter .newsletter-form .wpcf7-form-control-wrap {
	flex: 1 1 auto;
	min-width: 0;
}

.newsletter .wpcf7-submit {
	flex: 0 0 auto;
	white-space: nowrap;
}

/* Submit button wrapper: the loading spinner shows inside the button,
   so the layout never moves */
.newsletter .newsletter-submit {
	position: relative;
	flex: 0 0 auto;
}

.newsletter .newsletter-submit .wpcf7-spinner {
	position: absolute;
	top: 50%;
	right: 12px; /* inside the button, in its right padding */
	width: 20px;
	height: 20px;
	margin: -10px 0 0;
	background-color: #ffffff;
	opacity: 1;
}

.newsletter .newsletter-submit .wpcf7-spinner::before {
	top: 3px;
	left: 3px;
	width: 5px;
	height: 5px;
	background-color: var(--ittgm-primary);
	transform-origin: 7px 7px;
}

.newsletter .newsletter-submit .btn {
	width: 100%;
}

/* Error under the field and the "thank you" message float below the form,
   so the form does not jump */
.newsletter .newsletter-form .wpcf7-form-control-wrap {
	position: relative;
}

.newsletter .wpcf7-not-valid-tip {
	position: absolute;
	top: 100%;
	left: 0;
	padding-left: 24px;
}

.newsletter .wpcf7 form .wpcf7-response-output {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	margin: 12px 0 0;
	color: #ffffff;
}

.newsletter .wpcf7 form.invalid .wpcf7-response-output {
	margin-top: 34px;
}


/* 15. FAQ
   ========================================================================== */
.faq-accordion .accordion-item {
	margin-bottom: 14px;
	overflow: hidden;
	border: 1px solid var(--ittgm-border);
	border-radius: var(--ittgm-radius) !important;
}

.faq-accordion .accordion-button {
	padding: 20px 24px;
	background: #ffffff;
	font-family: var(--ittgm-font-heading);
	font-size: 17px;
	font-weight: 700;
	color: var(--ittgm-heading);
	box-shadow: none;
}

.faq-accordion .accordion-button:not(.collapsed) {
	color: var(--ittgm-primary);
}

/* Blue plus / minus icon instead of Bootstrap's arrow */
.faq-accordion .accordion-button::after {
	content: "\F64D"; /* bi-plus-lg */
	font-family: "bootstrap-icons";
	background: none;
	color: var(--ittgm-primary);
	transform: none;
}

.faq-accordion .accordion-button:not(.collapsed)::after {
	content: "\F63B"; /* bi-dash-lg */
	background: none;
	transform: none;
}

.faq-accordion .accordion-body {
	padding: 24px;
	background: #fafafa;
}

.faq-accordion .accordion-body p:last-child {
	margin-bottom: 0;
}


/* 16. Contact
   ========================================================================== */
.contact .section-intro {
	color: #ffffff;
}

.contact-box {
	padding: 30px 20px;
	color: #ffffff;
}

.contact-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 70px;
	height: 70px;
	margin-bottom: 18px;
	border: 2px dashed #696969;
	border-radius: 50%;
	font-size: 28px;
	color: var(--ittgm-primary);
}

.contact-title {
	margin-bottom: 12px;
	font-size: 20px;
}

.contact-box a {
	color: #ffffff;
}

.contact-box a:hover {
	color: var(--ittgm-primary);
}

.contact-map iframe {
	display: block;
	width: 100%;
	height: 420px;
	border: 0;
}


/* 17. Footer
   ========================================================================== */
.site-footer {
	position: relative;
	padding: 70px 0 40px;
	background: var(--ittgm-dark-bg);
	color: var(--ittgm-text);
}

.footer-logo a {
	font-family: var(--ittgm-font-heading);
	font-size: 24px;
	font-weight: 700;
	color: #ffffff;
}

.footer-logo img {
	max-height: 60px;
	width: auto;
}

.back-to-top {
	position: absolute;
	top: 0;
	left: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border: 5px solid #ffffff;
	border-radius: 50%;
	background: var(--ittgm-primary);
	font-size: 20px;
	color: #ffffff;
	transform: translate(-50%, -50%);
}

.back-to-top:hover {
	color: #ffffff;
	transform: translate(-50%, -60%);
}

.copyright {
	font-size: 14px;
	color: #ffffff;
}


/* 18. Inner pages (news archive, single, 404)
   ========================================================================== */
.page-banner {
	position: relative;
	padding: 90px 0;
	background: var(--ittgm-dark-bg) url("../images/backgrounds/slider_img1.jpg") center / cover;
	color: #ffffff;
}

.page-banner::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.7);
}

.page-banner > .container {
	position: relative;
}

.page-banner-title {
	margin-bottom: 8px;
	font-size: clamp(28px, 4vw, 44px);
	color: #ffffff;
}

.entry-content img {
	border-radius: var(--ittgm-radius);
}

/* Single post / page: image, title and text share one centred column.
   Not too wide, so normal-size images stay sharp. */
.entry-single {
	max-width: 860px;
	margin: 0 auto;
}

.entry-thumbnail-img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 520px;
	object-fit: cover;
	border-radius: var(--ittgm-radius);
}

.entry-title {
	margin-bottom: 10px;
	font-size: clamp(26px, 3.4vw, 38px);
	line-height: 1.25;
}

.entry-meta {
	font-size: 15px;
	color: var(--ittgm-primary);
}

.entry-meta .bi {
	margin-right: 4px;
}

.entry-content {
	font-size: 18px;
	line-height: 1.85;
}

.entry-content p {
	margin-bottom: 1.4em;
}

.search-box {
	max-width: 480px;
}

.pagination-wrap .nav-links {
	display: flex;
	justify-content: center;
	gap: 8px;
}

.pagination-wrap .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	border: 2px solid var(--ittgm-border);
	border-radius: 50px;
	color: var(--ittgm-heading);
}

.pagination-wrap .page-numbers.current,
.pagination-wrap .page-numbers:hover {
	border-color: var(--ittgm-primary);
	background: var(--ittgm-primary);
	color: #ffffff;
}


/* 19. Modals (gallery lightbox)
   ========================================================================== */
.modal-close-btn {
	position: absolute;
	top: -40px;
	right: 0;
	z-index: 2;
	opacity: 1;
}


/* 20. Responsive tweaks
   ========================================================================== */

/* Parallax-style fixed backgrounds only on large screens (mobile browsers handle them badly) */
@media (min-width: 992px) {
	.section-dark,
	.testimonials {
		background-attachment: fixed;
	}
}

@media (max-width: 767.98px) {
	.section-padding {
		padding: 70px 0;
	}

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

	.section-title {
		font-size: 30px;
	}

	.hero-title {
		padding: 8px 16px;
	}

	.countdown-date {
		margin-bottom: 40px;
		font-size: 18px;
	}

	.register-form-box {
		padding: 24px;
	}

	.speaker-name {
		font-size: 18px;
	}
}
