/*
 * Site-wide fixes that load after the theme stylesheet's rules by specificity.
 */

/* Mega menu: the red column now holds more links (the AI service pages) than
   it was designed for. Let the social icons follow the last link instead of
   sitting at a fixed distance from the bottom, and let the column scroll on
   short screens. Phones already stack them, so this applies from 768px up. */
@media (min-width: 768px) {
	html body header .megamenu-main .toggle-navmenu .main-menu {
		overflow-y: auto;
		padding-bottom: 48px;
	}
	html body header .megamenu-main .toggle-navmenu .main-menu .social-media {
		position: static;
		bottom: auto;
		margin-top: 28px;
	}
}


/* Footer */
footer.aranv-footer {
	border-top: 1px solid #ececec;
	background-color: #fff;
}
footer.aranv-footer .aranv-footer-main {
	padding: 72px 0 56px;
}
footer.aranv-footer .aranv-footer-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 0.75fr) minmax(0, 1.45fr);
	gap: 40px 32px;
}
footer.aranv-footer .aranv-footer-grid::before,
footer.aranv-footer .aranv-footer-grid::after {
	display: none;
}
footer.aranv-footer .aranv-footer-logo img {
	display: block;
	width: 180px;
	height: auto;
}
footer.aranv-footer .aranv-footer-about {
	max-width: 280px;
	margin: 20px 0 0;
	color: #555;
	font-size: 15px;
	line-height: 1.6;
}
footer.aranv-footer .aranv-footer-social {
	display: flex;
	gap: 10px;
	margin-top: 24px;
}
footer.aranv-footer .aranv-footer-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border: 1px solid #e3e3e3;
	border-radius: 10px;
	color: #1f1f1f;
	font-size: 17px;
	text-decoration: none;
	transition: color 0.2s, border-color 0.2s;
}
footer.aranv-footer .aranv-footer-social a i {
	color: inherit;
	font-size: inherit;
}
footer.aranv-footer .aranv-footer-social a:hover,
footer.aranv-footer .aranv-footer-social a:focus-visible {
	border-color: #ef4036;
	color: #ef4036;
}
footer.aranv-footer .aranv-footer-heading {
	margin: 0 0 18px;
	color: #6b6b6b;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.12em;
	line-height: 1.4;
	text-transform: uppercase;
}
footer.aranv-footer .aranv-footer-col ul + .aranv-footer-heading {
	margin-top: 32px;
}
footer.aranv-footer .aranv-footer-col ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
footer.aranv-footer .aranv-footer-col li {
	margin: 0 0 12px;
	padding: 0;
	line-height: 1.4;
	list-style: none;
}
footer.aranv-footer .aranv-footer-col li::before {
	display: none;
}
footer.aranv-footer .aranv-footer-col a,
footer.aranv-footer .aranv-footer-office {
	color: #1f1f1f;
	font-size: 15px;
	line-height: 1.5;
	text-decoration: none;
}
footer.aranv-footer .aranv-footer-col a:hover,
footer.aranv-footer .aranv-footer-col a:focus-visible {
	color: #ef4036;
}
footer.aranv-footer .aranv-footer-office {
	margin: 0 0 14px;
}
footer.aranv-footer .aranv-footer-contact-link {
	display: block;
	margin: 0 0 8px;
}
footer.aranv-footer .aranv-footer-bottom {
	padding: 20px 0;
}
footer.aranv-footer .aranv-footer-bottom .fix-wrap {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 24px;
}
footer.aranv-footer .aranv-footer-bottom .fix-wrap::before,
footer.aranv-footer .aranv-footer-bottom .fix-wrap::after {
	display: none;
}
footer.aranv-footer .aranv-footer-bottom p,
footer.aranv-footer .aranv-footer-bottom a {
	margin: 0;
	color: #555;
	font-size: 14px;
}
footer.aranv-footer .aranv-footer-bottom nav {
	display: flex;
	gap: 24px;
}
footer.aranv-footer .aranv-footer-bottom a:hover {
	color: #ef4036;
}
@media (max-width: 1199px) {
	footer.aranv-footer .aranv-footer-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
	footer.aranv-footer .aranv-footer-brand {
		grid-column: 1 / -1;
	}
	footer.aranv-footer .aranv-footer-about {
		max-width: 420px;
	}
}
@media (max-width: 767px) {
	footer.aranv-footer .aranv-footer-main {
		padding: 48px 0 32px;
	}
	footer.aranv-footer .aranv-footer-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 32px 20px;
	}
}

/* One typeface: Twenty Twenty gives form fields and buttons Inter (a 219 KB download). */
html body input,
html body textarea,
html body select,
html body button,
html body input[type="submit"],
html body input[type="button"],
html body input[type="reset"],
html body input[type="email"],
html body input[type="text"],
html body input[type="search"],
html body input[type="tel"] {
	font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

/* Inline SVG social icons (replacing the Font Awesome icon font). */
.aranv-icon {
	display: inline-block;
	line-height: 0;
}
.aranv-icon svg,
footer.aranv-footer .aranv-footer-social a svg {
	display: block;
	width: 1em;
	height: 1em;
	fill: currentColor;
}
html body header .megamenu-main .toggle-navmenu .main-menu .social-media a i.aranv-icon {
	padding: 0;
	background: none;
	color: #000;
	-webkit-text-fill-color: currentColor;
	transition: color 0.3s ease;
}
html body header .megamenu-main .toggle-navmenu .main-menu .social-media a:hover i.aranv-icon {
	color: #fff;
}
html body header .megamenu-main .toggle-navmenu .main-menu .social-media a:nth-child(3),
html body header .megamenu-main .toggle-navmenu .main-menu .social-media a:nth-child(4) {
	display: inline-block;
}

/* Slider arrows on the Cloud and Odoo pages, drawn without the icon font. */
html body .technologies-development-services-list.our-expertise-list.cloud-business-help-slider .owl-nav button::before,
html body .technologies-development-services-list.our-expertise-list.powerful-odoo-theme-slider .owl-nav button::before {
	font-family: inherit;
	font-size: 30px;
	font-weight: 400;
	line-height: 1;
	margin-top: -2px;
}
html body .technologies-development-services-list.our-expertise-list.cloud-business-help-slider .owl-nav button.owl-prev::before,
html body .technologies-development-services-list.our-expertise-list.powerful-odoo-theme-slider .owl-nav button.owl-prev::before {
	content: "\2039";
}
html body .technologies-development-services-list.our-expertise-list.cloud-business-help-slider .owl-nav button.owl-next::before,
html body .technologies-development-services-list.our-expertise-list.powerful-odoo-theme-slider .owl-nav button.owl-next::before {
	content: "\203A";
}

/* Homepage hero subtitle: one clear sentence about what Aranv builds. */
html body .topbar-banner .topbar-caption .sub-title-text.aranv-home-sub {
	max-width: 560px;
}
html body .topbar-banner .topbar-caption .sub-title-text.aranv-home-sub .yellow-txt {
	font-size: 22px;
	line-height: 1.45;
}
@media (max-width: 767px) {
	html body .topbar-banner .topbar-caption .sub-title-text.aranv-home-sub .yellow-txt {
		font-size: 18px;
	}
}

/* Technologies intro: the large stack icons sit at the same size as the Services intro icons. */
html body .services-wrapper.aranv-tech-intro .service-content-col .technologies-liks img {
	width: auto;
	height: 40px;
}

/* FAQ cards: an even grid, so an odd number of questions leaves no gap in the last row. */
html body section.technologies-development-services[aria-labelledby^="existing-faq"] .technologies-development-services-list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 29px;
}
html body section.technologies-development-services[aria-labelledby^="existing-faq"] .technologies-development-services-list li {
	width: auto;
	margin: 0;
}
@media (max-width: 1023px) {
	html body section.technologies-development-services[aria-labelledby^="existing-faq"] .technologies-development-services-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 20px;
	}
}
@media (max-width: 599px) {
	html body section.technologies-development-services[aria-labelledby^="existing-faq"] .technologies-development-services-list {
		grid-template-columns: 1fr;
	}
}

/* Case Studies page: project label, related services and technology line. */
html body .technologies-wrapper-top .technologies-content-col p.aranv-case-label {
	margin: 0 0 12px;
	color: #ef4036;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.4;
}
html body .technologies-wrapper-top .technologies-content-col p.aranv-case-related {
	margin-top: 8px;
	font-size: 17px;
}
html body .technologies-development-services p.aranv-case-stack {
	margin: 4px 0 0;
	color: #424242;
	font-size: 17px;
	line-height: 1.6;
}
html body .technologies-development-services p.aranv-case-stack strong {
	color: #141414;
	font-weight: 700;
}
html body .technologies-wrapper-top .technologies-content-col p.aranv-case-tagline {
	margin: -6px 0 18px;
	color: #141414;
	font-size: 24px;
	font-weight: 500;
	line-height: 1.35;
}
@media (max-width: 767px) {
	html body .technologies-wrapper-top .technologies-content-col p.aranv-case-tagline {
		font-size: 20px;
	}
}

/* "In short" summary inside the intro of service and location pages (inc/in-short.php). */
html body .service-content-col .aranv-in-short {
	margin: 26px 0 30px;
	padding: 22px 26px 8px;
	border-left: 4px solid #ef4036;
	border-radius: 0 12px 12px 0;
	background: #f6f6f7;
}
html body .service-content-col .aranv-in-short-title {
	margin: 0 0 12px;
	color: #c62d24;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.3;
	text-transform: uppercase;
}
html body .service-content-col .aranv-in-short dl {
	margin: 0;
}
html body .service-content-col .aranv-in-short dt {
	margin: 0 0 2px;
	color: #141414;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
}
html body .service-content-col .aranv-in-short dd {
	margin: 0 0 14px;
	color: #424242;
	font-size: 16px;
	line-height: 1.55;
}
html body .service-content-col .aranv-in-short cite {
	font-style: normal;
	white-space: nowrap;
}
html body .service-content-col .aranv-in-short cite a {
	background: none;
	color: #c62d24;
	-webkit-text-fill-color: #c62d24;
	text-decoration: underline;
	text-underline-offset: 2px;
}
@media (max-width: 767px) {
	html body .service-content-col .aranv-in-short {
		padding: 18px 18px 6px;
	}
	html body .service-content-col .aranv-in-short cite {
		white-space: normal;
	}
}

/* AI Project Readiness Checklist page: download and booking buttons, source citation. */
html body .services-wrapper .service-content-col p.aranv-checklist-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 26px;
}
html body .services-wrapper .service-content-col p.aranv-checklist-actions a {
	display: inline-flex;
	align-items: center;
	min-height: 50px;
	padding: 0 26px;
	border: 2px solid #d9342b;
	border-radius: 999px;
	background: none;
	color: #d9342b;
	-webkit-text-fill-color: #d9342b;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease;
}
html body .services-wrapper .service-content-col p.aranv-checklist-actions a.aranv-checklist-book,
html body .services-wrapper .service-content-col p.aranv-checklist-actions a:hover {
	background: #d9342b;
	color: #fff;
	-webkit-text-fill-color: #fff;
}
html body .services-wrapper .service-content-col p.aranv-checklist-actions a.aranv-checklist-book:hover {
	border-color: #c62d24;
	background: #c62d24;
}
html body .services-wrapper .service-content-col p cite {
	font-style: normal;
}
html body .services-wrapper .service-content-col p cite a {
	background: none;
	color: #ef4036;
	-webkit-text-fill-color: #ef4036;
	text-decoration: underline;
	text-underline-offset: 2px;
}
html body .technologies-development-services.aranv-checklist-group {
	padding-top: 36px;
}
html body .technologies-development-services.aranv-checklist-group .sub-title {
	margin-bottom: 22px;
	color: #141414;
	font-size: 22px;
	font-weight: 700;
}

/* Plain page banner: the title became an H1; keep the letter spacing it had as an H2. */
html body.privacy-policy .cms-page-bnr h1.page-title {
	letter-spacing: normal;
}

/* Homepage hero illustration: <picture> wrapper must not change the layout. */
html body .topbar-banner .home-banner-rgt picture {
	display: contents;
}

/* Skip-link target added after the site header (inc/header-nav.php). */
.aranv-skip-target:focus {
	outline: none;
}

/* Press page: file links inside the asset cards. */
html body .technologies-development-services.aranv-press-assets li p a {
	background: none;
	color: #ef4036;
	-webkit-text-fill-color: #ef4036;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* "How we work" on AI service pages is an H3 (was H4, which skipped a level); keep its look,
   in a red dark enough for small text. */
html body .services-wrapper.mobile-development-technology-services-wrapper .service-content-col .what-we-do-title {
	display: inline-block;
	padding: 0;
	line-height: normal;
	letter-spacing: normal;
	color: #c62d24;
}
