/* 
	Theme Name: Mind Hack Media
	Theme URI: https://mindhackmedia.com
	Description: Custom WP Theme for Mind Hack Media
	Version: 0.1
	Author: Mind Hack Media
	Author URI: https://mindhackmedia.com 
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}
/* html element 62.5% font-size for REM use */
html {
	font-size:62.5%;
}
body {
	font-family: gill-sans-nova, sans-serif;
	font-weight: 500;
	font-style: normal;
	font-size: 17px;
	line-height: 1.4em;
	letter-spacing: 0.05em;
	color: #1A204C;
}
/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
	max-width:100%;
	vertical-align:bottom;
	height: auto;
}
a {
	color:#444;
	text-decoration:none;
}
a:hover {
	color:#444;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
input:focus {
	outline:0;
	border:1px solid #04A4CC;
}

h1, .big {
	font-size: 2.7272727272727em;
	line-height: 1.1em;
}

h2 {
	font-size: 2.3636363636364em;
	line-height: 1.1em;
	font-weight: 500;
}

h3 {
	font-size: 1.636363636363em;
	line-height: 1.2em;
	font-weight: 500;
}

h4 {
	font-style: italic;
	font-size: 1.7272727272727em;
	font-weight: 500;
}

h5 {
	text-transform: uppercase;
	display: block;
	width: 100%;
	border-bottom: 1px solid #D2D0DA;
	font-weight: 600;
	letter-spacing: 0.2em;
	font-size: 0.72727272727273em;
	color: #787492;
	padding-bottom: 0.8em;
}


.pad-1em { padding: 1em; }
.pad-2em { padding: 2em; }
.pad-3em { padding: 3em; }
.pad-4em { padding: 4em; }
.pad-5em { padding: 5em; }
.pad-6em { padding: 6em; }
.pad-7em { padding: 7em; }
.pad-8em { padding: 8em; }

.pad-right-2em {
	padding-right: 2em;
}

.pad-right-10-percent {
	padding-right: 10%;
}

.image-cover, .image-cover img {
	object-fit: cover;
	object-position: center;
	width: 100%;
}
/*------------------------------------*\
    RESET GUTENBERG STUFF
\*------------------------------------*/

.wp-block-image {
    margin: 0;
}

.about-section .wp-block-columns {
	margin-bottom: 0;
}

.about-section .wp-block-column:not(:first-child) {
	margin-left: 0;
}

.wp-block-columns {
	gap: 0 !important;
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

/* wrapper */
.wrapper {
	position:relative;
}
.inner {
	width: 90%;
	position: relative;
	margin: 0 auto;
	max-width: 1728px;
}



.width-100, .width-100 img {
	/* Force some images to be 100% width */
	width: 100%;
}
/* header */
.header {
	width: 100%;
	position: relative;
}
.header .inner {
	display: flex;
	justify-content: space-between;
	padding: 1em 0;
	position: relative;
}
/* logo */
.logo {
	max-width: 200px;
}
.logo-img {
	width: 100%;
}
/* nav */
.hamburger {
	display: none !important;
}
#nav {
	font-weight: 600;
	text-transform: uppercase;
	font-size: 0.72727272727273em;
	width: 50%;
	display: flex;
	align-items: center;
	letter-spacing: 0.2em;
	position: relative;
}

#nav a {
	color: #1F204C;
}
#nav ul {
	display: flex;
	justify-content: space-between;
	list-style: none;
	margin: 0;
	padding: 0;
	width: 100%;
}
#nav ul li {
	list-style: none;
}

#nav #slide-line {
	position: absolute;
	/*bottom: -2px;*/
	top: calc(50% + 2em);
	height: 3px;
	background-color: #1A204C;
	-webkit-transition: all .3s ease;
	transition: all .3s ease;
}
#nav .track-line {
	position: absolute;
	top: calc(50% + 2em + 1px);
	height: 1px;
	background-color: #DCDBE3;
	width: 100%;

}

/* footer */
.footer {
	background: linear-gradient(180deg, #de634b, #329aca);
	color: #fff;
	position: relative;
	font-size: 0.8em;
	padding: 2em 0;
}

.footer .inner {
	padding: 3em 0;
	display: flex;
	justify-content: space-between;
}

.footer a {
	color: #fff;
}
.footer-1 {
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.5);
}
.footer-logo {
	max-width: 200px;
	display: block;
	margin-top: 15px;
}
.footer-social {
	display: flex;
	align-items: flex-end;
}
.footer-social img, .footer-social svg {
	width: 30px;
    margin-top: 120px;
	opacity: 0.6;
	transition: 0.6s all;
	margin-right: 5px;
	height: auto;
}
.footer-social img:hover, .footer-social svg:hover {
	opacity: 1;
}
.footer-social svg * {
	fill: #fff;
}

.footer-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	text-transform: uppercase;
}

.footer-3 {
	text-transform: uppercase;
	letter-spacing: 0.2em;
}

/*------------------------------------*\
    MODAL
\*------------------------------------*/

.modal {
	position: fixed;
	top: 0;
	left: 0;
	background-color: #fff;
	width: 100%;
	height: 100%;
	z-index: 98;
	display: none;
	background-image: url(img/watermark.svg);
	background-position: center left;
	background-size: 80%;
	background-repeat: no-repeat;
	background-attachment: fixed;
}

.modal-close {
	position: absolute;
	top: 30px;
	right: 30px;
	line-height: 0;
	font-size: 3em;
	cursor: pointer;
}

.modal-content {
	min-height: 100%;
	max-height: 75vh;
	max-width: 80%;
	margin: 0 auto;
	display: block;
	overflow: scroll;
}

.testimonial-form {
	display: flex;
	height: 100%;
	min-height: 100vh;
	align-items: center;
	justify-content: center;
	padding: 3em 0;
}

/*------------------------------------*\
    PAGES
\*------------------------------------*/

/* Homepage */
.homepage-hero .wp-block-column:not(:first-child) {
	margin-left: 0;
}

.homepage-hero-left {
	background-image: url(img/hero-left-overlay.svg);
	background-size: contain;
	background-position: left;
	background-repeat: no-repeat;
}
.homepage-hero-left-columns {
	height: 100%;
}

.homepage-hero-left-content {
	height: 100%;
	padding-right: 2em;
	display: flex;
	align-items: center;
}

.homepage-hero-right {
	position: relative;
}
.homepage-hero-right figure, 
.homepage-hero-right img {
	object-fit: cover;
	object-position: right;
	height: 100%;
	width: 100%;
	opacity: 0.75;
}
.homepage-hero-right::after {
	content: '';
	height: 100%;
	width: 100%;
	background-image: url(img/hero-overlay.svg);
	mix-blend-mode: multiply; 
	background-repeat: no-repeat;
	background-size: 50%;
	background-position: bottom left;
	z-index: 0;
	display: block;
    position: absolute;
    bottom: -25%;
}

.homepage-services-container > div {
	-webkit-box-shadow: 5px 5px 8px -1px rgba(0,0,0,0.05); 
	box-shadow: 5px 5px 8px -1px rgba(0,0,0,0.05);
	position: relative;
/*	padding: 2em 2em 12% 2em;*/
	padding: 2em;
	margin-left: 2em !important;
}
.homepage-services-container > div:nth-of-type(1) {
	/* margin-left: 0 !important; */
}

.homepage-services-container a {
	color: #20184C;
}

.homepage-services-container > div .watermark img {
	position: absolute;
	bottom: 0;
	right: 0;
	mix-blend-mode: multiply;
	opacity: 59%;
	margin-bottom: 1.5em;
	display: none;
}

.squares .wp-block-column {
	padding-top: 50%;
	position: relative;
}

.squares .wp-block-column .wp-block-group {
	position: absolute;
	top: 50%;
	width: 50%;
	transform: translateY(-50%);
	text-align: center;
	width: 100%;
	padding: 1.8em;
	text-transform: uppercase;
}

.squares {
	font-weight: 300;
}
.squares .big {
	line-height: 1rem;
	font-weight: 300;
	margin-bottom: 3rem;
}
.squares .small {
	font-size: 0.72727272727273em;
	font-weight: 500;
}

/* Services */
.services-has-watermark {
	background-image: url(img/ownz-services-watermark.svg);
	background-size: contain;
	background-repeat: no-repeat;
	background-position: top;
}


/* Testimonials */
.testimonial-stars {
	width: 130px;
	margin-right: 1em;
	vertical-align: middle;
	display: block;
	margin-bottom: 0.8em;
}



/* Testimonials Archive */
.testimonials-intro { 
	display: flex;
	justify-content: space-between;
	margin-bottom: 75px;
}
.testimonials-intro h1 { 
	text-align: left;
}

.user_review h5 {
	display: block;
	margin: 0.5em 0;
}
.user-review--name {
	font-style: italic;
	font-size: 0.7em;
	font-weight: 600;
	color: #787492;
}

.testimonials-intro-text {
	padding: 3em;
	display: flex;
	justify-content: center;
	flex-direction: column;
	align-items: flex-start;
}
.testimonials-intro-image img {
	height: 100%;
	width: 100%;
	object-fit: cover;
	object-position: center;
}

.testimonial-other-ratings {
	display: flex;
	justify-content: space-between;
}
.testimonial-other-ratings h6 {
	line-height: 1em;
	margin: 0 0 1em;
}
.testimonial-other-ratings span {
	opacity: 0.3;
}

.testimonials-page-container {
	/* this grid is overwritten by Macy jQuery */
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-gap: 3em;
	margin-bottom: 3em;
}

#leave-testimonial-button {
	margin-bottom: 3em;
}

/* Testimonials form */

.gsurvey-rating:not(:checked) > label, 
.gsurvey-rating:not(:checked) > label:hover, 
.gsurvey-rating:not(:checked) > label:hover ~ label, 
.gsurvey-rating:not(:checked) > label, 
.gsurvey-rating:not(:checked) > label:hover, 
.gsurvey-rating:not(:checked) > label:hover ~ label, 
.gsurvey-rating > input:checked ~ label {
	    width: 35px !important;
    line-height: 30px !important;
	background-size: 30px 30px !important;
	color: rgba(221, 221, 221, 0) !important;
	transition: 0.3s all;
}

body .gsurvey-rating:not(:checked)>label {
	background-image: url(img/stars/star-default.svg); !important;

}
body .gsurvey-rating>input:checked~label, 
body .gsurvey-rating>input:checked>label,
body .gsurvey-rating:not(:checked) > label:hover,
body .gsurvey-rating:not(:checked) > label:hover ~ label {
	background-image: url(img/stars/star-highlighted.svg); !important;

}

/* Services  */

.services-top .wp-block-columns, .about-section.wp-block-columns, .about-section .wp-block-columns {
	margin-bottom: 0;
	max-width: 100%;
}
.services-top .wp-block-column:not(:first-child), .about-section .wp-block-column:not(:first-child) {
    margin-left: 0;
}

.services-top {
	position: relative;
}

/* Contact */

.contact-form-container {
	background-image: url(img/contact-watermark.svg);
	background-size: contain;
	background-repeat: no-repeat;
	background-position: bottom right;
}

.contact-form-container .wp-block-column:nth-of-type(2) {
	margin-left: 2em !important;
}
.contact-form-container .wp-block-column:nth-of-type(2) > p:first-of-type {
	margin-top: 0;
}

/* Projects listing  */
.projects-grid {
	display: grid;
	grid-gap: 2em;
	grid-template-columns: repeat(4,1fr);
	margin-top: 2em;
	margin-bottom: 5em;
}

.projects-grid > div {
	position: relative;
	-webkit-box-shadow: 5px 5px 8px -1px rgb(0 0 0 / 5%);
    box-shadow: 5px 5px 8px -1px rgb(0 0 0 / 5%);
    position: relative;
    
    background-color: #2D90C640;
}

.projects-filter .project-types {
	margin-right: 2em;
}

.project-listing-article {
	-webkit-box-shadow: 5px 5px 8px -1px rgb(0 0 0 / 5%);
    box-shadow: 5px 5px 8px -1px rgb(0 0 0 / 5%);
    position: relative;
    padding: 2em 2em 4em 2em; /* revert 60% to 40% when content is in */
    background-color: #2D90C640;
}

.project-listing-article a {
	/*color: #fff;*/
}

.project-listing-image {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	object-position: center;
	object-fit: cover;
	z-index: 0;
	opacity: 0.2;
	mix-blend-mode: multiply;
}

.our-work-caption {
	padding: 1em;
}

.our-work-project h3 {
	margin-bottom: 0;
}

.our-work-project h6 {
	margin-top: 0.8em;
}

/* Projects single */
.project-single {
	display: grid;
	grid-template-columns: 40% calc(60% - 3em);
	grid-gap: 3em;
	margin-top: 3em;
	margin-bottom: 5em;
}

.project-single h1:first-of-type {
	margin-top: 0;
}

#projects-hero-image img {
	width: 100%;
}

.related-projects {
	display: grid;
	position: relative;
	grid-template-columns: repeat(5,1fr);
	grid-gap: 2em;
	margin-bottom: 75px;
}

.project-gallery {
	display: grid;
	grid-template-columns: repeat(4,1fr);
	grid-gap: 2em;
	margin-bottom: 2em;
}

.project-video {
	max-width:100%;
}

.projects-back {
	margin:2em 0;
	background-color: #2d90c6;
	color:#fff;
	text-align: right;
	padding:0.8em;
	display: table;
}

.project-related img {
	display: block;
	margin-bottom: 1em;
}
.project-related {
	text-align: center;
}


/*------------------------------------*\
    BUTTON
\*------------------------------------*/
/* Reset default button styles */
button {
	background: transparent;
	border: 0;
}
.button {
    position: relative;
    text-transform: uppercase;
    box-sizing: border-box;
    display:table;
    font-size: 0.72727272727273em;
}
.button span {
    padding-right: .5em;
}
.button a {
    color:#1E1846;
    padding:0.8em 3.5em 0.8em 1.5em;
    display:block;
    text-decoration: none;
    font-weight: 600;
    position: relative;
    z-index: 1;
    letter-spacing: 0.2em;
}

.button svg {
    display: block;
    position: absolute;
    right: 2em;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 30px;
    border-radius: 0;
}
.button::before {
    position: absolute;
    background:#2d90c6;
    content:'';
    z-index:0;
    width:50%;
    height:100%;
    transition:0.3s all;
    left: 0;
    border: 0;
}
.button:hover::before {
    width:100%;
}
.button #arrow-shaft {
    opacity: 1;
    transition: 0.3s all;
}
.button:hover #arrow-shaft {
    opacity: 0;
}

.button.alignright {
	/*margin-top: 0;*/
	margin-bottom: 0;
}

.services-bottom {
	margin-top: 0;
	margin-bottom: 0;
}

.textarea {
	resize: none;
}

.mobile-only {
	display: none;
}

/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

/* Fix nav wrapping between 1025px–1600px */
@media only screen and (min-width: 1025px) and (max-width: 1600px) {
    #nav {
        width: 65%;
    }
}

@media only screen and (min-width: 1025px) and (max-width: 1350px) {
    #nav {
        width: 75%;
    }
}

@media only screen and (min-width: 1025px) and (max-width: 1200px) {
    #nav {
        width: 80%;
    }
}

@media only screen and (max-width: 1350px) {
	.about-section {
		display: flex;
		flex-direction: column;
	}
	.squares .wp-block-column {
		padding-top: 0;
		align-self: stretch;
	}
	.squares .wp-block-column .wp-block-group {
		position: relative;
		transform: none;
		top: auto;
	}
	.wp-block-columns.homepage-services-container {
		display: grid;
		grid-template-columns: repeat(2,1fr);
		gap: 2em;
	}
    
    .wp-block-columns.gallery-column-main {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2em;
    }

	.wp-block-columns.homepage-services-container .wp-block-column:not(:first-child) {
 	   margin-left: 0;
	}

	.services-top:first-of-type::after {
		display: none;
	}
}
@media (max-width: 1200px) and (max-width: 1600px) {
	#nav {
        width: 50%;
	}
}

@media only screen and (max-width:1280px) {
	.homepage-hero-left, .homepage-hero-right {
		flex-basis: 50% !important;
	}
    	#nav {
        width: 70%;
	}
}
@media only screen and (min-width:1025px) {
	#nav {
		display: flex !important;
     
	}
    
}

@media only screen and (max-width:1024px) {
	.hamburger {
		display: block !important;
		z-index: 9999;
	}
	.hide-tablet {
		display: none !important;
	}
	.tablet-pad-1em { padding: 1em; }
	.tablet-pad-2em { padding: 2em; }
	.tablet-pad-3em { padding: 3em; }
	.tablet-pad-4em { padding: 4em; }
	#nav {
		display: block;
		position: fixed;
		top: 0;
		left: 0;
		background-color: #fff;
		padding: 5em 2em;
		width: 100%;
		height: 100%;
		z-index: 999;
		font-size: 1.3em;
		display: none;
	}
	#nav ul li {
		margin-bottom: 1em;
	}
	#nav ul, .footer .inner {
		display: flex;
		flex-direction: column;
	}
	#nav #slide-line, #nav .track-line {
		display: none
	}

	/* Homepage responsive */
	.homepage-hero .wp-block-columns {
	    display: flex;
	    flex-direction: column-reverse;
	}
	.stack {
		position: relative;
	}
	.testimonials-page-container{
		grid-template-columns: 1fr;
	}

	.testimonials-intro { 
		flex-direction: column;
	}
	.testimonials-intro-text {
		padding: 2em 0 0 0;
	}

	/* Services */
	.services-top > .wp-block-group__inner-container > .wp-block-columns > .wp-block-column{
		flex-basis: 50% !important;
	}

	/* Projects archive  */
	.projects-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.project-single {
		display: block;
	}
	.project-single h1:first-of-type {
		margin-top: 2rem;
	}

	.footer .inner > div {
		margin-bottom: 1.5em;
	}
}
@media only screen and (max-width: 900px) {
	/* Services */
	.services-top .wp-block-columns {
		display: flex;
		flex-direction: column-reverse;
	}	
    .slick-prev {
    left: -15px !important;
}
    .slick-next {
    right: -15px !important;
}

/*	.services-top .wp-block-columns:first-of-type {
		flex-direction: column-reverse;
	}*/

}
@media only screen and (max-width:768px) {
	.hide-mobile {
		display: none;
	}
	.mobile-only {
		display: block;
	}
	.mobile-pad-1em { padding: 1em; }
	.mobile-pad-2em { padding: 2em; }
	.mobile-pad-3em { padding: 3em; }
	.mobile-pad-4em { padding: 4em; }
	.mobile-pad-none { padding:0; }
	.narrow {
		width: 90%;
	}
	h1 {
		font-size: 2em;
	}
	h2 {
		font-size: 1.75em;
	}
	h3 {
		font-size: 1.4em;
	}
	.button.alignright {
		float: none;
		margin-left: 0;
	}
	.wp-block-columns.homepage-services-container {
		grid-template-columns: 1fr;
	}
    .wp-block-columns.gallery-column-main {
		grid-template-columns: 1fr;
	}
	.footer .inner {
		flex-direction: column-reverse;
	}
	.footer-logo {
		max-width: 125px;
	}
	.modal {
    	z-index: 10000;
	}
	.services-has-watermark {
		background-image: none;
	}
	.modal-content {
		overflow: scroll;
		display: block;
		min-width: 100%;
		padding: 3em;
	}	
	.projects-filter {
	    display: flex;
	    flex-direction: column;
	}
	.projects-grid {
		grid-template-columns: 1fr;
	}

	.homepage-services-container > div, .contact-form-container .wp-block-column:nth-of-type(2) {
		margin-left: 0 !important;
	}
	.contact-form-container .wp-block-column:nth-of-type(2) > p:first-of-type {
		margin-top: 2em;
	}
	.homepage-services-container > div .watermark img {
		opacity:10% !important;
	}
	.related-projects {
		grid-template-columns: repeat(2,1fr);
	}
	.view-as-list .project-listing-article {
		display: flex;
		flex-direction: column;
	}
    .slick-next {
    right: -15px !important;
}
 .slick-prev {
    left: -15px !important;
}
}

@media only screen and (-webkit-min-device-pixel-ratio:1.5),
	   only screen and (min-resolution:144dpi) {

}

/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:#E71984;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#E71984;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#E71984;
	color:#FFF;
	text-shadow:none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
	margin:5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
a img.alignnone {
	margin:5px 20px 20px 0;
}
a img.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
.wp-caption {
	background:#FFF;
	border:1px solid #F0F0F0;
	max-width:96%;
	padding:5px 3px 10px;
	text-align:center;
}
.wp-caption.alignnone {
	margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin:5px 20px 20px 0;
}
.wp-caption.alignright {
	margin:5px 0 20px 20px;
}
.wp-caption img {
	border:0 none;
	height:auto;
	margin:0;
	max-width:98.5%;
	padding:0;
	width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}
.sticky {

}
.bypostauthor {

}

/*------------------------------------*\
    NAV DROPDOWN
\*------------------------------------*/

#nav ul li {
    position: relative;
}

/* Hide sub-menu by default */
#nav ul li ul.sub-menu,
#nav ul li ul.children {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 200px;
    z-index: 99999;
    box-shadow: 0 8px 24px rgba(0,0,0,0.10);
    padding: 8px 0;
    margin: 0;
    list-style: none;
    border-top: 2px solid #E71984;
}

/* Show on hover - desktop only */
@media only screen and (min-width: 1025px) {
    #nav ul li:hover > ul.sub-menu,
    #nav ul li:hover > ul.children {
        display: block;
    }
}

#nav ul li ul.sub-menu li,
#nav ul li ul.children li {
    display: block;
    width: 100%;
    padding: 0;
    margin-bottom: 0;
}

#nav ul li ul.sub-menu li a,
#nav ul li ul.children li a {
    display: block;
    padding: 10px 20px;
    color: #1F204C;
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    white-space: nowrap;
    border-bottom: 1px solid #f0f0f0;
    font-weight: 600;
    text-decoration: none;
}

#nav ul li ul.sub-menu li:last-child a,
#nav ul li ul.children li:last-child a {
    border-bottom: none;
}

#nav ul li ul.sub-menu li a:hover,
#nav ul li ul.children li a:hover {
    background: #f9f9f9;
    color: #E71984;
    padding-left: 26px;
    transition: all 0.2s ease;
}

/* Arrow indicator on parent items */
#nav ul li:has(> ul.sub-menu) > a::after,
#nav ul li:has(> ul.children) > a::after {
    content: ' ▾';
    font-size: 10px;
    color: #E71984;
}

/* Mobile/Tablet dropdown (under 1024px) */
@media only screen and (max-width: 1024px) {
    #nav ul li ul.sub-menu,
    #nav ul li ul.children {
        position: static;
        box-shadow: none;
        border-top: none;
        border-left: 2px solid #E71984;
        margin-left: 16px;
        padding: 4px 0;
        background: #fafafa;
        display: none;
        min-width: unset;
        width: 100%;
    }

    #nav ul li.open > ul.sub-menu,
    #nav ul li.open > ul.children {
        display: block;
    }

    #nav ul li ul.sub-menu li a,
    #nav ul li ul.children li a {
        font-size: 11px;
        padding: 8px 16px;
        white-space: normal;
    }

    #nav ul li:has(> ul.sub-menu) > a::after,
    #nav ul li:has(> ul.children) > a::after {
        content: ' ▾';
        font-size: 10px;
        color: #E71984;
    }

    #nav ul li.open > a::after {
        content: ' ▴';
    }
}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow:none !important;
	}
	a,
	a:visited {
		text-decoration:underline;
	}
	a[href]:after {
		content:" (" attr(href) ")";
	}
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content:"";
	}
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	thead {
		display:table-header-group;
	}
	tr,img {
		page-break-inside:avoid;
	}
	img {
		max-width:100% !important;
	}
	@page {
		margin:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
}

.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column:not(:first-child) {
    margin-left: 0;
}



/* Animation */

@keyframes animatedBackground {
  from {
    margin-top:0;
  }
  to {
    margin-top:-5px;
  }
}



.register-button {
	/*display: none;*/
}
.register-modal {
	position: fixed;
	top: 50%;
	left: 50%;
	height: 50vh;
	width: 60vw;
	transform: translate(-50%,-50%);
	background-color: #fff;
	padding: 2em;
	-webkit-box-shadow: 0px 0px 1024px 1024px rgb(0 0 0 / 75%);
    -moz-box-shadow: 0px 0px 1024px 1024px rgba(0,0,0,.75);
    box-shadow: 0px 0px 1024px 1024px rgb(0 0 0 / 75%);
    display: none;
    z-index: 9999;
}
.register-modal-close {
	position: absolute;
	top: 1em;
	right: 1em;
	cursor: pointer;
	font-size: 22px;
}
.register-modal iframe {
	width: 100%;
	height: 100%;
	/*position: relative;*/
}
.gallery-column-5{
   margin-right: 30px !important;
   padding: 20px
}

/* Graphic Design Section - Responsive */
.graphic-design-section {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    padding: 40px 0;
    max-width: 100%;
}

.graphic-design-section .gd-text {
    flex: 1;
    text-align: left;
}

.graphic-design-section .gd-text h2 {
    letter-spacing: 0.05em;
    font-size: 2.3636363636364em; /* Matches your h2 size */
    line-height: 1.1em;
    font-weight: 500;
    margin-bottom: 0.5em;
    margin-top: 0;
}

.graphic-design-section .gd-text p,
.graphic-design-section .gd-text strong {
    letter-spacing: 0.05em;
    font-size: 1em;
    line-height: 1.6em;
}

.graphic-design-section .gd-image {
    width: 250px;
    height: auto;
    flex-shrink: 0;
    display: block;
}

/* Tablet */
@media only screen and (max-width: 1024px) {
    .graphic-design-section {
        gap: 30px;
        padding: 30px 0;
    }
    
    .graphic-design-section .gd-text h2 {
        font-size: 2em;
    }
    
    .graphic-design-section .gd-image {
        width: 220px;
    }
}

/* Mobile */
@media only screen and (max-width: 768px) {
    .graphic-design-section {
        flex-direction: column;
        gap: 25px;
        padding: 25px 0;
    }
    
    .graphic-design-section .gd-text {
        text-align: left;
    }
    
    .graphic-design-section .gd-text h2 {
        font-size: 1.75em;
    }
    
    .graphic-design-section .gd-image {
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
        order: -1; /* Image appears first on mobile */
    }
}

/* Small Mobile */
@media only screen and (max-width: 480px) {
    .graphic-design-section {
        gap: 20px;
        padding: 20px 0;
    }
    
    .graphic-design-section .gd-text h2 {
        font-size: 1.5em;
    }
    
    .graphic-design-section .gd-image {
        max-width: 100%;
    }
}

/* Product Packaging Section - Responsive */
.product-packaging-section {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    padding: 40px 0;
    max-width: 100%;
}

.product-packaging-section .pp-images {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-packaging-section .pp-image {
    width: 250px;
    height: auto;
    display: block;
}

.product-packaging-section .pp-text {
    flex: 1;
}

.product-packaging-section .pp-text h2 {
    letter-spacing: 0.05em;
    font-size: 2.3636363636364em;
    line-height: 1.1em;
    font-weight: 500;
    margin-top: 0;
    margin-bottom: 0.5em;
}

.product-packaging-section .pp-text p,
.product-packaging-section .pp-text strong {
    letter-spacing: 0.05em;
    font-size: 1em;
    line-height: 1.6em;
    text-align: left;
}

/* Tablet */
@media only screen and (max-width: 1024px) {
    .product-packaging-section {
        gap: 30px;
        padding: 30px 0;
    }
    
    .product-packaging-section .pp-image {
        width: 220px;
    }
    
    .product-packaging-section .pp-text h2 {
        font-size: 2em;
    }
}

/* Mobile */
@media only screen and (max-width: 768px) {
    .product-packaging-section {
        flex-direction: column;
        gap: 25px;
        padding: 25px 0;
    }
    
    .product-packaging-section .pp-images {
        width: 100%;
        flex-direction: row;
        gap: 15px;
        order: -1; /* Images appear first on mobile */
    }
    
    .product-packaging-section .pp-image {
        width: calc(50% - 7.5px);
        max-width: 250px;
    }
    
    .product-packaging-section .pp-text h2 {
        font-size: 1.75em;
    }
}

/* Small Mobile */
@media only screen and (max-width: 480px) {
    .product-packaging-section {
        gap: 20px;
        padding: 20px 0;
    }
    
    .product-packaging-section .pp-images {
        flex-direction: column;
        gap: 10px;
    }
    
    .product-packaging-section .pp-image {
        width: 100%;
        max-width: 100%;
    }
    
    .product-packaging-section .pp-text h2 {
        font-size: 1.5em;
    }
}

/* Social Media Marketing Section - Responsive */
.social-media-section {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    padding: 40px 0;
    max-width: 100%;
}

.social-media-section .sm-text {
    flex: 1;
    text-align: left;
}

.social-media-section .sm-text h2 {
    font-size: 2.3636363636364em;
    line-height: 1.1em;
    font-weight: 500;
    letter-spacing: 0.05em;
    margin-bottom: 0.5em;
    margin-top: 0;
}

.social-media-section .sm-text h3 {
    font-size: 1.636363636363em;
    line-height: 1.2em;
    font-weight: 500;
    letter-spacing: 0.05em;
    margin-top: 1.5em;
    margin-bottom: 0.8em;
}

.social-media-section .sm-text p {
    letter-spacing: 0.05em;
    font-size: 1em;
    line-height: 1.6em;
    margin-bottom: 1em;
}

.social-media-section .sm-text ul {
    margin: 1em 0 1.5em 1.5em;
    padding: 0;
}

.social-media-section .sm-text ul li {
    letter-spacing: 0.05em;
    line-height: 1.6em;
    margin-bottom: 0.5em;
}

.social-media-section .sm-images {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-media-section .sm-image {
    width: 250px;
    height: auto;
    display: block;
}

/* Tablet */
@media only screen and (max-width: 1024px) {
    .social-media-section {
        gap: 30px;
        padding: 30px 0;
    }
    
    .social-media-section .sm-image {
        width: 220px;
    }
    
    .social-media-section .sm-text h2 {
        font-size: 2em;
    }
    
    .social-media-section .sm-text h3 {
        font-size: 1.4em;
    }
}

/* Mobile */
@media only screen and (max-width: 768px) {
    .social-media-section {
        flex-direction: column;
        gap: 25px;
        padding: 25px 0;
    }
    
    .social-media-section .sm-images {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        order: -1; /* Images appear first on mobile */
    }
    
    .social-media-section .sm-image {
        width: 100%;
        max-width: 100%;
    }
    
    .social-media-section .sm-text h2 {
        font-size: 1.75em;
    }
    
    .social-media-section .sm-text h3 {
        font-size: 1.3em;
    }
}

/* Small Mobile */
@media only screen and (max-width: 480px) {
    .social-media-section {
        gap: 20px;
        padding: 20px 0;
    }
    
    .social-media-section .sm-images {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .social-media-section .sm-text h2 {
        font-size: 1.5em;
    }
    
    .social-media-section .sm-text h3 {
        font-size: 1.2em;
    }
}

/* Download Brochure Section - Responsive */
.download-brochure-section {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    padding: 40px 0;
    max-width: 100%;
}

.download-brochure-section .db-logo {
    flex-shrink: 0;
}

.download-brochure-section .db-logo-img {
    width: 250px;
    height: auto;
    display: block;
}

.download-brochure-section .db-text {
    flex: 1;
}

.download-brochure-section .db-text h2 {
    font-size: 2.3636363636364em;
    line-height: 1.1em;
    font-weight: 500;
    letter-spacing: 0.05em;
    margin-top: 0;
    margin-bottom: 0.5em;
}

.download-brochure-section .db-text p {
    letter-spacing: 0.05em;
    font-size: 1em;
    line-height: 1.6em;
    text-align: left;
    margin-bottom: 1.5em;
}

.download-brochure-section .button {
    margin-top: 1.5em;
}

/* Tablet */
@media only screen and (max-width: 1024px) {
    .download-brochure-section {
        gap: 25px;
        padding: 30px 0;
    }
    
    .download-brochure-section .db-logo-img {
        width: 220px;
    }
    
    .download-brochure-section .db-text h2 {
        font-size: 2em;
    }
}

/* Mobile */
@media only screen and (max-width: 768px) {
    .download-brochure-section {
        flex-direction: column;
        gap: 20px;
        padding: 25px 0;
        text-align: center;
    }
    
    .download-brochure-section .db-logo {
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    .download-brochure-section .db-logo-img {
        width: 200px;
        max-width: 80%;
    }
    
    .download-brochure-section .db-text {
        text-align: center;
    }
    
    .download-brochure-section .db-text p {
        text-align: center;
    }
    
    .download-brochure-section .db-text h2 {
        font-size: 1.75em;
    }
    
    .download-brochure-section .button {
        margin: 1.5em auto 0;
    }
}

/* Small Mobile */
@media only screen and (max-width: 480px) {
    .download-brochure-section {
        gap: 15px;
        padding: 20px 0;
    }
    
    .download-brochure-section .db-logo-img {
        width: 180px;
    }
    
    .download-brochure-section .db-text h2 {
        font-size: 1.5em;
    }
    
    .download-brochure-section .db-text p {
        font-size: 0.95em;
    }
}

/* Our Graphic Design Services Section */
.our-services-wrapper {
    padding: 40px 0;
}

.services-main-title {
    font-size: 2.3636363636364em;
    line-height: 1.1em;
    font-weight: 500;
    letter-spacing: 0.05em;
    margin-bottom: 1em;
}

/* Services Grid - 4 columns on large screens, 3 on medium */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.service-card {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
    transition: background 0.3s ease;
}

.service-card:hover::before {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.9) 100%);
}

.service-card-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    color: #fff;
}

.service-card-content h3 {
    font-size: 1.2em;
    font-weight: 500;
    margin-bottom: 12px;
    color: #fff;
    line-height: 1.3em;
}

.service-card-content p {
    line-height: 1.5;
    margin-bottom: 15px;
    color: #fff;
    font-size: 0.85em;
    opacity: 0.95;
}

.service-card-content .service-link {
    display: inline-block;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9em;
    background: #2d90c6;
    padding: 8px 16px;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.service-card-content .service-link:hover {
    background: #1F204C;
}

/* CTA Section */
.services-cta {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 60px;
    gap: 30px;
}

.services-cta-text {
    flex: 2;
}

.services-cta-text h2 {
    font-size: 2.3636363636364em;
    line-height: 1.1em;
    font-weight: 500;
    margin: 0;
}

.services-cta-button {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

/* Large Desktop - 4 columns */
@media only screen and (min-width: 1400px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
    }
    
    .service-card {
        min-height: 350px;
    }
    
    .service-card-content h3 {
        font-size: 1.3em;
    }
    
    .service-card-content p {
        font-size: 0.9em;
    }
}

/* Medium Desktop - 3 columns */
@media only screen and (max-width: 1399px) and (min-width: 1025px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
}

/* Tablet - 2 columns */
@media only screen and (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .service-card {
        min-height: 300px;
    }
    
    .service-card-content h3 {
        font-size: 1.15em;
    }
    
    .services-main-title,
    .services-cta-text h2 {
        font-size: 2em;
    }
    
    .services-cta {
        gap: 25px;
        margin-top: 50px;
    }
}

/* Mobile - 1 column */
@media only screen and (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        min-height: 280px;
    }
    
    .service-card-content {
        padding: 25px;
    }
    
    .service-card-content h3 {
        font-size: 1.3em;
        margin-bottom: 15px;
    }
    
    .service-card-content p {
        font-size: 0.95em;
        line-height: 1.6;
    }
    
    .services-main-title,
    .services-cta-text h2 {
        font-size: 1.75em;
    }
    
    .services-cta {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        margin-top: 40px;
    }
    
    .services-cta-button {
        width: 100%;
        justify-content: flex-start;
    }
}

/* Small Mobile */
@media only screen and (max-width: 480px) {
    .our-services-wrapper {
        padding: 30px 0;
    }
    
    .services-grid {
        gap: 15px;
        margin-bottom: 30px;
    }
    
    .service-card {
        min-height: 260px;
    }
    
    .service-card-content {
        padding: 20px;
    }
    
    .service-card-content h3 {
        font-size: 1.2em;
    }
    
    .service-card-content p {
        font-size: 0.9em;
    }
    
    .services-main-title,
    .services-cta-text h2 {
        font-size: 1.5em;
    }
}

/* ── Section wrapper ── */
.mhm-digital-section {
  width: 100%;
  padding: 80px 0;
  background: #fff;
}

.mhm-inner {
  width: 90%;
  max-width: 1728px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 80px;
}

/* ── LEFT: Text Column ── */
.mhm-text {
  flex: 1;
  min-width: 0;
}

/* Uses your theme's h5 style exactly */
.mhm-text h5 {
  text-transform: uppercase;
  display: block;
  width: 100%;
  border-bottom: 1px solid #D2D0DA;
  font-weight: 600;
  letter-spacing: 0.2em;
  font-size: 0.72727272727273em;
  color: #787492;
  padding-bottom: 0.8em;
  margin-bottom: 0.8em;
  font-family: gill-sans-nova, sans-serif;
}

/* Uses your theme's h2 style exactly */
.mhm-text .mhm-heading {
  font-size: 2.3636363636364em;
  line-height: 1.1em;
  font-weight: 500;
  color: #1A204C;
  margin-top: 0.5em;
  margin-bottom: 0.6em;
  font-family: gill-sans-nova, sans-serif;
}

.mhm-heading-accent {
  color: #2d90c6;
}

.mhm-text p {
  font-family: gill-sans-nova, sans-serif;
  font-size: 17px;
  line-height: 1.6em;
  letter-spacing: 0.05em;
  color: #1A204C;
  margin-bottom: 1em;
}

.mhm-text p strong {
  font-weight: 700;
  color: #1A204C;
}

/* ── Feature Tags ── */
.mhm-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 1.4em 0 1.6em;
}

.mhm-tag {
  display: inline-block;
  font-family: gill-sans-nova, sans-serif;
  font-size: 0.72727272727273em;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #1A204C;
  border: 1px solid #D2D0DA;
  padding: 6px 14px;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mhm-tag:hover {
  background: #1A204C;
  color: #fff;
  border-color: #1A204C;
}

/* ── CTA Row — uses your theme .button exactly ── */
.mhm-cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 1.6em;
}

/* Your theme's .button::before uses #2d90c6 — keep that for primary */
/* Secondary button override */
.mhm-btn-secondary::before {
  background: #1A204C !important;
}

/* ── Live Badge ── */
.mhm-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: gill-sans-nova, sans-serif;
  font-size: 0.72727272727273em;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #787492;
}

.mhm-live-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  display: inline-block;
  animation: mhm-pulse 2s infinite;
}

@keyframes mhm-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(1.5); }
}

/* ── RIGHT: Image Column ── */
.mhm-image-col {
  flex: 0 0 480px;
  max-width: 480px;
}

.mhm-image-wrap {
  position: relative;
  display: block;
}

/* Corner accent lines — subtle, matches your theme's minimal style */
.mhm-corner {
  position: absolute;
  width: 36px;
  height: 36px;
  border-color: #2d90c6;
  border-style: solid;
  z-index: 2;
}

.mhm-corner-tl {
  top: -10px;
  left: -10px;
  border-width: 2px 0 0 2px;
}

.mhm-corner-br {
  bottom: -10px;
  right: -10px;
  border-width: 0 2px 2px 0;
}

.mhm-app-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  -webkit-box-shadow: 5px 5px 30px -1px rgba(0,0,0,0.12);
  box-shadow: 5px 5px 30px -1px rgba(0,0,0,0.12);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.mhm-app-img:hover {
  transform: translateY(-5px);
  -webkit-box-shadow: 5px 12px 40px -1px rgba(0,0,0,0.18);
  box-shadow: 5px 12px 40px -1px rgba(0,0,0,0.18);
}

/* ── Tablet (≤1024px) ── */
@media only screen and (max-width: 1024px) {
  .mhm-inner {
    gap: 50px;
  }
  .mhm-image-col {
    flex: 0 0 380px;
    max-width: 380px;
  }
  .mhm-text .mhm-heading {
    font-size: 2em;
  }
}

/* ── Mobile (≤768px) ── */
@media only screen and (max-width: 768px) {
  .mhm-digital-section {
    padding: 50px 0;
  }
  .mhm-inner {
    flex-direction: column;
    gap: 36px;
  }
  /* Image on top on mobile */
  .mhm-image-col {
    order: -1;
    flex: none;
    max-width: 100%;
    width: 100%;
  }
  .mhm-text .mhm-heading {
    font-size: 1.75em;
  }
  .mhm-cta-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ── Small Mobile (≤480px) ── */
@media only screen and (max-width: 480px) {
  .mhm-text .mhm-heading {
    font-size: 1.5em;
  }
  .mhm-tags {
    gap: 6px;
  }
}

.ris-section {
  width: 100%;
  padding: 80px 0;
  background: #fff;
}

/* FORCE image LEFT, text RIGHT */
.ris-section .ris-inner {
  width: 90%;
  max-width: 1728px;
  margin: 0 auto;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 80px;
}

/* Always first (LEFT) */
.ris-section .ris-image-col {
  flex: 0 0 520px !important;
  max-width: 520px !important;
  width: 520px !important;
  order: 1 !important;
  position: relative;
}

/* Always second (RIGHT) */
.ris-section .ris-text {
  flex: 1 !important;
  min-width: 0;
  order: 2 !important;
}

/* ── Image ── */
.ris-image-wrap {
  position: relative;
  display: block;
}

.ris-ring {
  position: absolute;
  width: 320px;
  height: 320px;
  border: 2px solid rgba(184, 148, 64, 0.2);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
}

.ris-ring::after {
  content: '';
  position: absolute;
  width: 380px;
  height: 380px;
  border: 1px solid rgba(184, 148, 64, 0.10);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.ris-section .ris-main-img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
  position: relative;
  z-index: 1;
  border-radius: 4px;
  float: none !important;
  margin: 0 !important;
  -webkit-box-shadow: 5px 5px 30px -1px rgba(0,0,0,0.10);
  box-shadow: 5px 5px 30px -1px rgba(0,0,0,0.10);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.ris-section .ris-main-img:hover {
  transform: translateY(-5px);
  -webkit-box-shadow: 5px 15px 40px -1px rgba(0,0,0,0.16);
  box-shadow: 5px 15px 40px -1px rgba(0,0,0,0.16);
}

.ris-url-badge {
  position: absolute;
  bottom: -18px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #1A204C;
  color: #fff !important;
  font-family: gill-sans-nova, sans-serif;
  font-size: 0.65em;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none !important;
  padding: 9px 20px;
  border-radius: 2px;
  white-space: nowrap;
  z-index: 2;
  -webkit-box-shadow: 0 8px 24px rgba(26,32,76,0.25);
  box-shadow: 0 8px 24px rgba(26,32,76,0.25);
  transition: background 0.3s ease;
}

.ris-url-badge:hover {
  background: #2d90c6;
  color: #fff !important;
}

.ris-url-dot {
  width: 6px;
  height: 6px;
  background: #B89440;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

/* ── Text ── */
.ris-section .ris-text h5 {
  text-transform: uppercase;
  display: block;
  width: 100%;
  border-bottom: 1px solid #D2D0DA;
  font-weight: 600;
  letter-spacing: 0.2em;
  font-size: 0.72727272727273em;
  color: #787492;
  padding-bottom: 0.8em;
  margin-bottom: 0.8em;
  font-family: gill-sans-nova, sans-serif;
}

.ris-section .ris-heading {
  font-size: 2.3636363636364em;
  line-height: 1.1em;
  font-weight: 500;
  color: #1A204C;
  margin-top: 0.5em;
  margin-bottom: 0.6em;
  font-family: gill-sans-nova, sans-serif;
}

.ris-heading-accent {
  color: #B89440;
}

.ris-section .ris-text p {
  font-family: gill-sans-nova, sans-serif;
  font-size: 17px;
  line-height: 1.6em;
  letter-spacing: 0.05em;
  color: #1A204C;
  margin-bottom: 1em;
}

.ris-section .ris-text p strong {
  font-weight: 700;
  color: #1A204C;
}

.ris-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 1.4em 0 1.8em;
}

.ris-tag {
  display: inline-block;
  font-family: gill-sans-nova, sans-serif;
  font-size: 0.72727272727273em;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #1A204C;
  border: 1px solid #D2D0DA;
  padding: 6px 14px;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.ris-tag:hover {
  background: #1A204C;
  color: #fff;
  border-color: #1A204C;
}

.ris-cta-row {
  margin-bottom: 1.6em;
}

.ris-built-by {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: gill-sans-nova, sans-serif;
  font-size: 0.72727272727273em;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #787492;
  text-transform: uppercase;
}

.ris-built-line {
  display: inline-block;
  width: 24px;
  height: 1px;
  background: #D2D0DA;
  flex-shrink: 0;
}

.ris-built-by strong {
  color: #1A204C;
}

/* ── Tablet (≤1024px) ── */
@media only screen and (max-width: 1024px) {
  .ris-section .ris-inner {
    gap: 50px;
  }
  .ris-section .ris-image-col {
    flex: 0 0 340px !important;
    max-width: 340px !important;
    width: 340px !important;
  }
  .ris-section .ris-heading {
    font-size: 2em;
  }
}

/* ── Mobile (≤768px) ── */
@media only screen and (max-width: 768px) {
  .ris-section {
    padding: 60px 0 70px;
  }
  .ris-section .ris-inner {
    flex-direction: column !important;
    gap: 50px;
  }
  .ris-section .ris-image-col {
    flex: none !important;
    max-width: 100% !important;
    width: 100% !important;
    order: 1 !important;
  }
  .ris-section .ris-text {
    order: 2 !important;
  }
  .ris-section .ris-heading {
    font-size: 1.75em;
  }
  .ris-url-badge {
    font-size: 0.6em;
    padding: 8px 16px;
  }
}

/* ── Small Mobile (≤480px) ── */
@media only screen and (max-width: 480px) {
  .ris-section .ris-heading {
    font-size: 1.5em;
  }
  .ris-tags { gap: 6px; }
  .ris-ring { display: none; }
}