/*
Theme Name: FW Smith Riches & Co
Author: JE Consulting
Description: Custom WordPress theme for FW Smith Riches & Co, Chartered Accountants.
Version: 1.0.0
*/

/* =========================================================
   CSS CUSTOM PROPERTIES
   ========================================================= */
:root {
	--color-navy:        #002147;

	--color-navy-mid:    #26619b;
	--color-blue-light:  #b9d8ea;
	
	--color-accent:      #4a7fc1;
	
	--color-white:       #ffffff;
	--color-off-white:   #f2f2f2;
	--color-text:        #333333;
	--color-text-light:  #666666;
	--color-border:      #e0e6ef;

	--max-width:         1380px;
	--header-height:     80px;




	--transition:        0.25s ease;

}

@font-face {
    font-family: 'Roboto';
    src: url('/wp-content/themes/fwsr/fonts/Roboto-Light.woff2') format('woff2'),
         url('/wp-content/themes/fwsr/fonts/Roboto-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Roboto';
    src: url('/wp-content/themes/fwsr/fonts/Roboto-Regular.woff2') format('woff2'),
         url('/wp-content/themes/fwsr/fonts/Roboto-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


@font-face {
    font-family: 'Roboto';
    src: url('/wp-content/themes/fwsr/fonts/Roboto-Medium.woff2') format('woff2'),
         url('/wp-content/themes/fwsr/fonts/Roboto-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}



@font-face {
    font-family: 'Roboto';
    src: url('/wp-content/themes/fwsr/fonts/Roboto-SemiBold.woff2') format('woff2'),
         url('/wp-content/themes/fwsr/fonts/Roboto-SemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Roboto';
    src: url('/wp-content/themes/fwsr/fonts/Roboto-Bold.woff2') format('woff2'),
         url('/wp-content/themes/fwsr/fonts/Roboto-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('/wp-content/themes/fwsr/fonts/Roboto-ExtraBold.woff2') format('woff2'),
        url('/wp-content/themes/fwsr/fonts/Roboto-ExtraBold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Roboto';
    src: url('/wp-content/themes/fwsr/fonts/Roboto-Black.woff2') format('woff2'),
        url('/wp-content/themes/fwsr/fonts/Roboto-Black.woff') format('woff');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}
.col-center {
  justify-content: center;
  box-sizing: border-box;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}
.txt-center {
  text-align: center;
}
.txt-left {
  text-align: left;
}
.txt-right {
  text-align: right;
}
/** reveal animation **/

.reveal {
  position: relative;
  opacity: 0;
}

.reveal.active {
  opacity: 1;
}

.reveal {
  position: relative;
  opacity: 0;
}

.reveal.active {
  opacity: 1;
}
.active.fade-in {
	-webkit-animation: fade-in 1.2s cubic-bezier(0.390, 0.575, 0.565, 1.000) 1s both;
	        animation: fade-in 1.2s cubic-bezier(0.390, 0.575, 0.565, 1.000) 1s both;
}
.fade-in-left {
	-webkit-animation: fade-in-left 0.6s cubic-bezier(0.390, 0.575, 0.565, 1.000) 0.5s both;
	        animation: fade-in-left 0.6s cubic-bezier(0.390, 0.575, 0.565, 1.000) 0.5s both;
}
.active.fade-in-bottom {
	-webkit-animation: fade-in-bottom 0.6s cubic-bezier(0.390, 0.575, 0.565, 1.000) 0.8s both;
	        animation: fade-in-bottom 0.6s cubic-bezier(0.390, 0.575, 0.565, 1.000) 0.8s both;
}
.fade-in-right {
	-webkit-animation: fade-in-right 0.6s cubic-bezier(0.390, 0.575, 0.565, 1.000) 1s both;
	        animation: fade-in-right 0.6s cubic-bezier(0.390, 0.575, 0.565, 1.000) 1s both;
}

.active.fade-in-top {
	-webkit-animation: fade-in-top 0.6s cubic-bezier(0.390, 0.575, 0.565, 1.000) 1.4s both;
	        animation: fade-in-top 0.6s cubic-bezier(0.390, 0.575, 0.565, 1.000) 1.4s both;
}

.active.text-animate {
	-webkit-animation: text-animate 1s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
	        animation: text-animate 1s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
}



@-webkit-keyframes fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}


@-webkit-keyframes fade-in-top {
  0% {
    -webkit-transform: translateY(-50px);
            transform: translateY(-50px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    opacity: 1;
  }
}
@keyframes fade-in-top {
  0% {
    -webkit-transform: translateY(-50px);
            transform: translateY(-50px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    opacity: 1;
  }
}

@-webkit-keyframes fade-in-bottom {
  0% {
    -webkit-transform: translateY(50px);
            transform: translateY(50px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    opacity: 1;
  }
}
@keyframes fade-in-bottom {
  0% {
    -webkit-transform: translateY(50px);
            transform: translateY(50px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    opacity: 1;
  }
}


@-webkit-keyframes fade-in-left {
  0% {
    -webkit-transform: translateX(-50px);
            transform: translateX(-50px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
    opacity: 1;
  }
}
@keyframes fade-in-left {
  0% {
    -webkit-transform: translateX(-50px);
            transform: translateX(-50px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
    opacity: 1;
  }
}



@-webkit-keyframes fade-in-right {
  0% {
    -webkit-transform: translateX(50px);
            transform: translateX(50px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
    opacity: 1;
  }
}
@keyframes fade-in-right {
  0% {
    -webkit-transform: translateX(50px);
            transform: translateX(50px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
    opacity: 1;
  }
}



@-webkit-keyframes text-animate {
  0% {
    letter-spacing: -0.5em;
    opacity: 0;
  }
  40% {
    opacity: 0.6;
  }
  100% {
    opacity: 1;
  }
}
@keyframes text-animate {
  0% {
    letter-spacing: -0.5em;
    opacity: 0;
  }
  40% {
    opacity: 0.6;
  }
  100% {
    opacity: 1;
  }
}

/** end reveal animation **/
/* =========================================================
   RESET & BASE
   ========================================================= */
*, *::before, *::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	font-size: 16px;
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	font-family: 'Roboto';
	font-size: 16px;
	line-height: 1.4;
	color: var(--color-text);
	background: var(--color-white);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

img, video {
	max-width: 100%;
	height: auto;
	display: block;
}

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

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

ul, ol {
	list-style: none;
}
.entry-content ul, .entry-content ol {
	    list-style: disc;
    margin-left: 20px;
	margin-bottom: 20px;
}
.home .entry-content ul, .home .entry-content ol {
		list-style: none;
	    margin-left: 0px;
	margin-bottom: 0px;
}
.entry-content table:not(.variations) {
    border: 1px solid #eee;
    margin: 0 0 15px;
    text-align: left;
    width: 100%
}

.entry-content thead th,.entry-content tr th {
    color: #555;
    font-weight: 700;
    padding: 9px 24px
}

.entry-content tr td {
    border-top: 1px solid #eee;
    padding: 6px 24px
}
/* =========================================================
   CONTAINER
   ========================================================= */
.container {
	width: 100%;
	max-width: var(--max-width);
	margin-left: auto;
	margin-right: auto;
	padding-left: 24px;
	padding-right: 24px;
}

/* =========================================================
   TYPOGRAPHY
   ========================================================= */
h1, h2, h3, h4, h5, h6 {
	font-family: 'Roboto';
	font-weight: 600;
	line-height: 1.23;
	color: var(--color-navy);
	margin-bottom: 0.55em;
}

h1 { font-size: 43px; }
h2 { font-size: 34px; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p { margin-bottom: 18px; }
p:last-child { margin-bottom: 0; }

/* =========================================================
   HEADER
   ========================================================= */
#site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: var(--color-navy);
	padding: 20px 0;
}

.header-inner {
	display: flex;
	align-items: center;
	height: var(--header-height);
	gap: 25px;
}

/* Logo */
.site-branding {
	flex-shrink: 0;
	margin-right: 16px;
}

.site-branding a {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-decoration: none;
	line-height: 1.1;
}

.site-branding .brand-name {
	font-family: 'Roboto';
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--color-white);
	white-space: nowrap;
	letter-spacing: 0.01em;
}

.site-branding .brand-divider {
	display: flex;
	align-items: center;
	gap: 8px;
	width: 100%;
	margin: 3px 0;
}

.site-branding .brand-divider::before,
.site-branding .brand-divider::after {
	content: '';
	flex: 1;
	height: 1px;
	background: rgba(255,255,255,0.5);
}

.site-branding .brand-sub {
	font-family: 'Roboto';
	font-size: 1rem;
	font-weight: 400;
	color: var(--color-white);
	font-style: italic;
	white-space: nowrap;
}

/* Primary Navigation */
#primary-navigation {
	flex: 1;
}

#primary-menu {
	display: flex;
	align-items: center;
	gap: 4px;
}

#primary-menu > li {
	position: relative;
}

#primary-menu > li > a {
	display: block;
	padding: 8px 12px;
	font-family: 'Roboto';
	font-size: 0.875rem;
	font-weight: 600;
	color: rgba(255,255,255,0.88);
	letter-spacing: 0.02em;
	transition: color var(--transition);
	white-space: nowrap;
}

#primary-menu > li > a:hover,
#primary-menu > li.current-menu-item > a,
#primary-menu > li.current-menu-ancestor > a {
	color: var(--color-white);
}
#primary-menu > li > a .sub-toggle {
    font-size: 0.75rem;
    margin-left: 4px;
    display: inline-block;
    transition: transform 0.25s ease;
    vertical-align: middle;
	display: none;
}

/* Rotate when submenu is open */
#primary-menu > li.is-open > a .sub-toggle {
    transform: rotate(90deg);
}
/* Dropdown */
#primary-menu .sub-menu {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	min-width: 220px;
	background: var(--color-navy-mid);
	border-top: 0;

	opacity: 0;
	visibility: hidden;
	transform: translateY(-8px);
	transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
	z-index: 999;
}

#primary-menu li:hover > .sub-menu,
#primary-menu li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

#primary-menu .sub-menu li a {
	display: block;
	padding: 10px 18px;
	font-size: 0.875rem;
	color: var(--color-white);
	font-weight: 500;
	border-bottom: 1px solid var(--color-border);
	transition: background var(--transition), color var(--transition);
	line-height: 20px;
}

#primary-menu .sub-menu li:last-child a {
	border-bottom: none;
}

#primary-menu .sub-menu li a:hover {
	background: var(--color-navy);
	color: var(--color-white);
}

/* Header Actions */
.header-actions {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
	margin-left: auto;
}

.header-phone {
display: inline-flex;
    align-items: center;
    padding: 5px 14px;
    border: 0;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-navy);
    transition: background var(--transition), border-color var(--transition);
    white-space: nowrap;
    background-color: var(--color-white);
}

.header-phone:hover {
color: var(--color-navy);
    background-color: #9eb9d4;
}

.header-icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	
	border-radius: 5px;
	color: var(--color-navy);
	background-color: var(--color-white);
	transition: background var(--transition), border-color var(--transition);
}

.header-icon-btn:hover {
color: var(--color-navy);
    background-color: #9eb9d4;
}

.header-icon-btn svg {
	width: 20px;
	height: 20px;
	fill: currentColor;
}

button.header-icon-btn {
    border-radius: 7px;
    border: 0;
}


button.header-icon-btn svg {
	width: 20px;
    height: 20px;
}


/* Mobile Toggle */
.mobile-menu-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 6px;
	margin-left: 8px;
}

.mobile-menu-toggle span {
	display: block;
	width: 24px;
	height: 2px;
	background: var(--color-white);
	border-radius: 2px;
	transition: transform var(--transition), opacity var(--transition);
}

.mobile-menu-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-toggle.is-active span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   FOOTER
   ========================================================= */
#site-footer {
	background: var(--color-navy);
	position: relative;
	overflow: hidden;
	background-image: url(/wp-content/themes/fwsr/images/footer-bg.jpg);
    background-position: center right;
    background-size: cover;
    background-repeat: no-repeat;
}




.footer-top {
	padding: 40px 0 0px;

}

.footer-top-inner {

	gap: 40px;
	    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
}

/* Footer Address Block */
.footer-address {
width: 48%;
}

.footer-address .footer-company {
	font-family: 'Roboto';
	font-size: 15px;
	font-weight: 600;
	color: var(--color-white);
	margin-bottom: 0;
	line-height: 1.5;
}

.footer-address address {
	font-style: normal;
	font-size: 15px;
	color: var(--color-white);
	line-height: 1.5;
	    margin-bottom: 20px;
}

.footer-address address a {
	color: var(--color-white);
	transition: color var(--transition);
}

.footer-address address a:hover {
	color: #7c9ab7;
}

/* Footer Partners */
.footer-partners {
	display: flex;
	align-items: center;
	gap: 25px;
	margin-left: auto;
	flex-wrap: wrap;
    width: 52%;
    justify-content: end;
}

.footer-partner-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
}

.footer-partner-item .partner-label {
	font-size: 0.6875rem;
	color: rgba(255,255,255,0.6);
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.footer-partner-item .partner-name {
	font-family: 'Roboto';
	font-size: 1.375rem;
	font-weight: 700;
	color: var(--color-white);
	letter-spacing: -0.02em;
}


.footer-bottom-inner {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
	font-size: 12px;
	color: rgba(255,255,255,0.7);
	margin-top: 20px;
	padding-bottom: 35px;
}

.footer-bottom-inner a {
	color: rgba(255,255,255,0.7);
	transition: color var(--transition);
}

.footer-bottom-inner a:hover {
	color: var(--color-navy-mid);
}

.footer-bottom-inner .sep {
	color: rgba(255,255,255,0.25);
}

.footer-form-wrapper {
display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: stretch;
    width: 100%;
    border: 2px solid #E5E5E6;
    border-radius: 15px;
    overflow: hidden;
}
.footer-contactform {
	width: 52%;
    padding: 25px 40px;
}
.footer-contactimg {
	width: 48%;
	margin-right: -1px;
}
.footer-contactimg img {
	width: auto;
	height: 100%;
}
.gform-theme--foundation .gform_fields {
  grid-row-gap: 12px !important;
}
.gform-theme--foundation .gfield input.large, .gform-theme--foundation .gfield input[type="email"], .gform-theme--foundation .gfield input[type="text"], .gform-theme--foundation .gfield textarea.small{
    color: #606060;
	border-color: #B8B9BB;
}
.gform_wrapper p, .gform_wrapper, .gfield_checkbox  {
	font-size: 14px;
	color: var(--color-navy);
}
.gform_wrapper a {
	font-weight: 600;
}

.gform-theme--framework .gfield--type-choice .gchoice {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: center;
	align-content: center;
	margin: 15px 0 10px;
}
.gform_wrapper .gfield_checkbox input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    border: 2px solid var(--color-navy-mid);
    border-radius: 2px;
    background: var(--color-white);
    cursor: pointer;
    flex-shrink: 0;
}

.gform-theme.gform-theme--framework.gform_wrapper input[type=submit].button.gform_button {
 background: var(--color-navy-mid) !important;
    padding: 12px 30px !important;
    font-size: 18px !important;
    border-radius: 3px !important;
    transition: background var(--transition), border-color var(--transition) !important;
}

.gform-theme.gform-theme--framework.gform_wrapper input[type=submit].button.gform_button:hover {
    background: var(--color-navy)!important;

}
.footer-form-section {
	margin: 60px 0 25px;;
}
.home .footer-form-section {
	margin: 0px 0 60px;;
}


/* =========================================================
   MAIN CONTENT AREA
   ========================================================= */
#main-content {
	min-height: 60vh;
	    color: var(--color-navy);
}

.page-content,
.entry-content {
	padding: 30px 0;
}

.page .page-content,
.page .entry-content {
	padding: 30px 0 0;
}

.page .page-content.plain-header {
	padding: 5px 0 0;
}



.page-title.plain-header {
	padding: 40px 0 0;
}
.plain-header h1 {
	margin-bottom: 0;
}

.home .page-content {
	padding: 60px 0 30px;
}
/* =========================================================
   SEARCH OVERLAY
   ========================================================= */
.search-overlay {
	position: fixed;
	inset: 0;
	background: rgba(10, 24, 40, 0.96);
	z-index: 2000;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding-top: 120px;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.search-overlay.is-active {
	opacity: 1;
	visibility: visible;
}

.search-overlay-inner {
	width: 100%;
	max-width: 680px;
	padding: 0 24px;
}

.search-overlay form {
	display: flex;
	border-bottom: 2px solid rgba(255,255,255,0.4);
}

.search-overlay input[type="search"] {
	flex: 1;
	background: none;
	border: none;
	outline: none;
	font-family: 'Roboto';
	font-size: 2rem;
	color: var(--color-white);
	padding: 12px 0;
	caret-color: var(--color-accent);
}

.search-overlay input::placeholder {
	color: rgba(255,255,255,0.35);
}

.search-overlay button[type="submit"] {
	background: none;
	border: none;
	cursor: pointer;
	padding: 12px 0 12px 16px;
	color: rgba(255,255,255,0.7);
	transition: color var(--transition);
}

.search-overlay button[type="submit"]:hover {
	color: var(--color-white);
}

.search-overlay button[type="submit"] svg {
	width: 24px;
	height: 24px;
	fill: currentColor;
}

.search-overlay-close {
	position: absolute;
	top: 24px;
	right: 24px;
	background: none;
	border: none;
	cursor: pointer;
	color: rgba(255,255,255,0.6);
	font-size: 2rem;
	line-height: 1;
	transition: color var(--transition);
}

.search-overlay-close:hover {
	color: var(--color-white);
}

/* =========================================================
   MOBILE NAVIGATION
   ========================================================= */
@media (max-width: 1100px) {
	.mobile-menu-toggle {
		display: flex;
	}

	#primary-navigation {
		position: fixed;
		top: var(--header-height);
		left: 0;
		right: 0;
		bottom: 0;
		background: var(--color-navy-dark);
		overflow-y: auto;
		transform: translateX(-100%);
		transition: transform 0.3s ease;
		z-index: 999;
		padding: 16px 0 32px;
	}

	#primary-navigation.is-open {
		transform: translateX(0);
	}

	#primary-menu {
		flex-direction: column;
		gap: 0;
	}

	#primary-menu > li > a {
		padding: 14px 24px;
		font-size: 1rem;
		border-bottom: 1px solid rgba(255,255,255,0.07);
	}

	#primary-menu .sub-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		border-top: none;
		background: rgba(0,0,0,0.2);
		display: none;
	}

	#primary-menu li.is-open > .sub-menu {
		display: block;
	}

	#primary-menu .sub-menu li a {
		padding: 11px 24px 11px 40px;
		color: rgba(255,255,255,0.7);
		border-bottom: 1px solid rgba(255,255,255,0.05);
	}

	.footer-partners {
		padding-right: 0;
		margin-left: 0;
	}

	#site-footer::after {
		display: none;
	}
}

@media (max-width: 700px) {
	.header-phone {
		display: none;
	}

	.footer-top-inner {
		flex-direction: column;
		align-items: flex-start;
		gap: 28px;
	}

	.footer-partners {
		gap: 20px;
	}

	.footer-bottom-inner {
		flex-direction: column;
		align-items: flex-start;
		gap: 4px;
	}

	.footer-bottom-inner .sep {
		display: none;
	}
}

/* =========================================================
   WORDPRESS CORE ALIGNMENTS
   ========================================================= */
.alignleft  { float: left;  margin-right: 1.5em; margin-bottom: 1em; }
.alignright { float: right; margin-left: 1.5em;  margin-bottom: 1em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; margin-bottom: 1em; }
.alignwide  { max-width: calc(var(--max-width) + 80px); margin-left: auto; margin-right: auto; }
.alignfull  { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }

/* =========================================================
   SCREEN READER
   ========================================================= */
.screen-reader-text {
	border: 0;
	clip: rect(1px,1px,1px,1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

/* =========================================================
   BACK TO TOP
   ========================================================= */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 44px;
    height: 44px;
    background: var(--color-navy);
    color: var(--color-white);
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, background 0.2s ease;
    z-index: 999;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
       background: var(--color-navy-mid);
    color: var(--color-white);
}



.breadcrumbs {
    padding: 10px 0;
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
}

.breadcrumbs a {
    color: #0073aa;
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

/* =========================================================
   Homepage
   ========================================================= */

.home #site-header {
	background: transparent;
	box-shadow: none;
}
.home #main-content {
    margin-top: -120px;
}
#site-header {
	transition: background 0.3s ease, box-shadow 0.3s ease;
}
.home .hero-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background-image: url('https://fwsr.je-hosting.co.uk/wp-content/uploads/2026/04/FW-Smith-Riches-Co-Chartered-Accountants-in-Central-London.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center; 
}

.hero-section {
  position: relative;
  width: 100%;
  min-height: 550px;;
  background-size: cover;
  background-position: center top;
  display: flex;
  align-items: center; 
}



.text-wrapper {
  display: inline-block;

  padding-top: 20px;
  padding-bottom: 20px;
  padding-right: 40px; 
  

  padding-left: calc((100vw - 1380px) / 2 + 20px); 
  margin-left: calc(((100vw - 1380px) / 2 + 20px) * -1);
	
	 background: rgba(210, 218, 226, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 0 10px 10px 0;
	
	
}
.hero-section .text-wrapper {
	
}
.text-wrapper a {
	color: #B9D9EB;
}
.text-wrapper a:hover {
	color: #fff;
}
.home .text-wrapper {


  padding-top: 40px;
  padding-bottom: 40px;
  padding-right: 60px; 
  

	
	
}

.hero-section h1 {
	    margin-bottom: 0px;
    font-size: 44px;
}



.home .hero-section h1 {
	    margin-bottom: 10px;
    font-size: 46px;
	font-weight: bold;
}
.hero-section h2 {
	    font-weight: 400;
    font-size: 18px;
    line-height: 1.35;
	    margin-bottom: 30px;
}

.hero-section span {
	    font-size: 26px;
    font-weight: 600;
    color: var(--color-navy);
    line-height: 33px;
}
a.btn, .services-icon-box-wrapper .flip-box-wrap .flip_link a {
    background: var(--color-navy-mid);
    padding: 10px 18px;
    font-size: 15px;
    border-radius: 5px;
    color: var(--color-white);
    font-weight: 600;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    transition: color 0.3s ease;
    display: inline-block;
    text-decoration: none;
	line-height: 20px;
}

a.btn::before, .services-icon-box-wrapper .flip-box-wrap .flip_link a::before  {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: var(--color-navy);
    transition: left 0.4s ease;
    z-index: -1;
}
.services-icon-box-wrapper .flip-box-wrap .flip_link a::before  {
	background-color: #9eb9d4;
}
a.btn:hover::before, .services-icon-box-wrapper .flip-box-wrap .flip_link a:hover::before  {
    left: 0;
}


a.btn span,
a.btn, .services-icon-box-wrapper .flip-box-wrap .flip_link a {
    position: relative;
    z-index: 1;
}



/* Responsive adjustment for screens smaller than 1380px */
@media (max-width: 1380px) {
  .text-wrapper {
    padding-left: 20px;
    margin-left: -25px;
  }
}


.vc_row.vc_row-flex.feature-box {
	overflow: hidden;
}


.home .entry-content {
	padding-top: 0;
}

.feature-box p {
	color: var(--color-navy);
}
.home .feature-box p {
	line-height: 24px;
}
.feature-box a.btn {
margin-top: 25px;
}

.services-list {
    list-style: none;
    margin: 0;
    padding: 0;

}

.services-list li {
    border-bottom: 1px solid #AAAAAA;
}
.services-list li:last-child {
	border-bottom: 0;
}
.services-list li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 4px;
    font-size: 16px;
    font-weight: 700;
    color: #26619C;
    text-decoration: none;
    transition: color var(--transition), padding-left var(--transition);
}

.services-list li a::after {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    content: '\f054';
    font-size: 16px;
    flex-shrink: 0;
	padding-right: 5px;
}

.services-list li a:hover {
    color: var(--color-white);
        padding-left: 6px;
    background-color: var(--color-navy);


}



/* Make the column a positioning context */
.home-news-wrapper  .vc_gitem-col {
    position: relative;
	height: 400px;
    border-radius: 15px;
    overflow: hidden;
}

/* Stretch the image to fill the full card background */
.home-news-wrapper .vc_gitem-col .vc_figure,
.home-news-wrapper .vc_gitem-col .vc_single_image-wrapper,
.home-news-wrapper .vc_gitem-col .vc_single_image-img {
    position: absolute !important;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    border: none !important;
    margin: 0 !important;
    display: block;
}

/* Gradient overlay on top of the image */
.home-news-wrapper .vc_gitem-col::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, #002147 -18%, rgba(93, 97, 101, 0) 100%);
    z-index: 1;
}

/* Push title and date above the overlay */
.home-news-wrapper .vc_gitem-col .vc_custom_heading {
    position: relative;
    z-index: 2;
    padding: 20px 20px 0;
}
.home-news-wrapper .vc_gitem-col .vc_custom_heading h3 {
    font-size: 23px;
    line-height: 31px;
    font-weight: 400;
}
.home-news-wrapper .vc_gitem-col .vc_custom_heading h3 a,
.home-news-wrapper .vc_gitem-col .vc_gitem-post-data-source-post_date div {
    color: var(--color-white) !important;
}
.home-news-wrapper .vc_gitem-col .vc_custom_heading h3 a:hover {
	    color: var(--color-blue-light)!important;
}
.home-news-wrapper .vc_gitem-col .vc_gitem-post-data-source-post_date {
  padding: 5px 25px 0;
	font-size: 14px;
    font-style: italic;
}


.home-news-wrapper .vc_grid.vc_grid-owl-theme .vc_grid-owl-dots {
	margin-top: 15px;
}

.home-news-wrapper .vc_grid.vc_grid-owl-theme .vc_grid-owl-dots.vc_grid-radio_dots.vc_grid-owl-dots-color-grey .vc_grid-owl-dot span {
	    border-color: #9cc1dc !important;
}

.home-news-wrapper .vc_grid.vc_grid-owl-theme .vc_grid-owl-dots .vc_grid-owl-dot span {
	background: #9cc1dc;
}
.home-news-wrapper .vc_grid.vc_grid-owl-theme .vc_grid-owl-dots.vc_grid-radio_dots.vc_grid-owl-dots-color-grey .vc_grid-owl-dot.active span {
	    background-color: #266199 !important;
    border-color: #266199 !important;
}
.home-news-wrapper .vc_grid.vc_grid-owl-theme .vc_grid-owl-dots .vc_grid-owl-dot span {
	    width: 11px;
	height: 11px;
	margin: 5px 6px;
}
.home-news-all {
	text-align: right;
}
.home-news-all a {

    color: var(--color-navy);
    font-weight: 600;
    font-size: 17px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-end;
    align-items: center;
}
.home-news-all a i {
	color: var(--color-navy-mid);
    padding-left: 10px;
    font-size: 20px;
}
.home-news-all a:hover {
	color: var(--color-navy-mid);
}


.single-post .page-content {
    padding: 50px 0 30px;
}

.single-post h1.entry-title {
	    font-size: 38px;
	margin-bottom: 10px;
}


.single-post .entry-thumbnail {
	float: right;
       margin: 35px 0 40px 40px;
    border-radius: 15px;
    overflow: hidden;
	 position: relative;
    display: block;
}
.single-post .entry-thumbnail img {
	border-radius: 15px;
}
.single-post .entry-thumbnail::after {
	    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, #002147 -17%, rgba(93, 97, 101, 0) 100%);
	
}
.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.post-card {
    background: #f2f2f2;
    border-radius: 12px;
    padding: 28px;
    display: flex;
    flex-direction: column;
}

.post-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 0;
}

.post-card__title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 27px;
}

.post-card__title a {
    color: var(--color-navy);
    text-decoration: none;
}

.post-card__title a:hover {
    color: var(--color-navy-mid);
}

.post-card__meta {
font-size: 15px;
    color: var(--color-text-light);
    margin-bottom: 12px;
    font-style: italic;
}

/* Hide category from meta */
.post-card__meta .sep,
.post-card__meta .cat-links {
    display: none;
}

.post-card__excerpt {
    font-size: 15px;
    color: var(--color-text);
    margin-bottom: 24px;
    flex: 1;
	line-height: 1.4;
}

.post-card .btn {
    align-self: flex-start;

}

.post-card .btn:hover {

}

/* Remove featured image since layout doesn't use it */
.post-card__image {
    display: none;
}

/* Pagination */
.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 48px;
}

.nav-links a,
.nav-links span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    padding: 0 12px;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
    color: var(--color-navy);
    text-decoration: none;
    transition: background var(--transition), color var(--transition);
}

.nav-links a:hover {
    background: var(--color-navy);
    border-color: var(--color-navyt);
    color: var(--color-white);
}

.nav-links span.current {
    background: var(--color-navy);
    border-color: var(--color-navy);
    color: var(--color-white);
}

@media (max-width: 900px) {
    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .posts-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   POST TABS PAGE
   ========================================================= */

/* Tab Nav */
.post-tabs-nav {
	display: flex;
	gap: 4px;
	border-bottom: 2px solid var(--color-border);
	margin-bottom: 32px;
}

.post-tab-btn {
	background: none;
	border: none;
	padding: 12px 24px;
	font-family: var(--font-sans);
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--color-text-light);
	cursor: pointer;
	position: relative;
	bottom: -2px;
	border-bottom: 2px solid transparent;
	transition: color var(--transition), border-color var(--transition);
}

.post-tab-btn:hover {
	color: var(--color-navy);
}

.post-tab-btn.active {
	color: var(--color-navy);
	border-bottom-color: var(--color-navy-mid);
}

/* Tab Content */
.post-tab-content {
	display: none;
}

.post-tab-content.active {
	display: block;
}

/* Posts Grid */
.post-tabs-container .posts-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin-bottom: 40px;
}

/* Post Card */
.post-tabs-container .post-card {
	background: var(--color-off-white);
	border-radius: 12px;

	display: flex;
	flex-direction: column;
}

.post-tabs-container .post-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
}

.post-tabs-container .post-card__title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 27px;
}

.post-tabs-container .post-card__title a {
	color: inherit;
	text-decoration: none;
}

.post-tabs-container .post-card__title a:hover {
	    color: var(--color-navy-mid);
}

.post-tabs-container .post-card__meta {
    font-size: 15px;
    color: var(--color-text-light);
    margin-bottom: 12px;
    font-style: italic;
}

.post-tabs-container .post-card__excerpt {
    font-size: 15px;
    color: var(--color-text);
    margin-bottom: 24px;
    flex: 1;
    line-height: 1.4;
}

.post-tabs-container .post-card .btn {
	align-self: flex-start;
	
	display: inline-block;
	border: none;
}

.post-tabs-container .post-card .btn:hover {
	
}

.post-tabs-container .no-posts {
	color: var(--color-text-light);
	padding: 48px 0;
	text-align: center;
	grid-column: 1 / -1;
}

/* Pagination */
.post-tabs-container .pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 6px;
	margin-top: 40px;
	flex-wrap: wrap;
}

.post-tabs-container .pagination a,
.post-tabs-container .pagination span.current,
.post-tabs-container .pagination span.dots {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 28px;
	height: 28px;
	padding: 0 12px;
	border-radius: 4px;

	font-size: 13px;
	font-weight: 500;
	text-decoration: none;
}

.post-tabs-container .pagination a {
	border: 1px solid var(--color-border);
	color: var(--color-navy);
	background: var(--color-white);
	transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.post-tabs-container .pagination a:hover {
background: var(--color-navy);
    border-color: var(--color-navyt);
    color: var(--color-white);
}

.post-tabs-container .pagination span.current {
    background: var(--color-navy);
    border-color: var(--color-navy);
    color: var(--color-white);
}

.post-tabs-container .pagination span.dots {
	border: none;
	color: var(--color-text-light);
	min-width: auto;
	padding: 0 4px;
}

/* Responsive */
@media (max-width: 900px) {
	.post-tabs-container .posts-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 600px) {
	.post-tabs-container .posts-grid {
		grid-template-columns: 1fr;
	}

	.post-tab-btn {
		padding: 10px 14px;
		font-size: 0.875rem;
	}
}

iframe {
	border: 0;
}
.testimonial-wrapper {
   background: url('https://fwsr.je-hosting.co.uk/wp-content/uploads/2026/04/testimonial-bg.png') no-repeat right center;
    background-size: cover;
	    background-color: #b9d9eb;
}
.testimonial-wrapper .ult-carousel-wrapper {
	padding-right: 90px;
}
 .ult-carousel-wrapper .slick-dots li i {
	font-size: 21px!important;
}
.slick-dots li {

    height: 17px!important;
    width: 17px!important;

}

 ul.slick-dots {
 
    padding: 17px 0 5px!important;
}
.testimonial-wrapper h3 {
	font-size: 24px;
    margin-bottom: 40px;
}

/*    TESTIMONIAL CARD */
.testimonial-card {
    background: var(--color-white);
    border-radius: 12px;
    overflow: visible;
    display: flex;
    flex-direction: column;

}

/* Body */
.testimonial-card__body {
    padding: 35px 45px 75px;
    position: relative;
    flex: 1;
}

/* Opening quote mark */
.testimonial-card__quote-open {
    display: block;
margin-top: -5px;

   margin-left: -60px;
    position: absolute;
	
	
	width: 50px;
    height: 46px;
    background: url(https://fwsr.je-hosting.co.uk/wp-content/uploads/2026/04/quote-left.png) no-repeat left top;
    background-size: contain;
}

/* Closing quote mark */
.testimonial-card__quote-close {
display: block;
    margin-right: -14px;
    position: absolute;
    width: 50px;
    height: 46px;
    background: url(https://fwsr.je-hosting.co.uk/wp-content/uploads/2026/04/quote-right.png) no-repeat left top;
    background-size: contain;
    right: 0;
}

/* Quote text */
.testimonial-card__text {
    font-family: var(--font-sans);
    font-size:21px;
    font-style: italic;
    color: var(--color-navy);

        line-height: 28px;
    margin: 0;
    padding: 12px 10px;
}

/* Footer */
.testimonial-card__footer {
    background: var(--color-navy);
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
	    border-radius: 0 0 12px 12px;
}

/* Author */
.testimonial-card__author {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.testimonial-card__name {
    line-height: 21px;
    font-size: 21px;
    font-weight: 700;
    color: var(--color-white);
}

.testimonial-card__company {
font-size: 13px;
    color: var(--color-white);
    font-weight: 600;
    line-height: 18px;
}

.usp-wrapper {
	    padding-top: 80px;
    padding-bottom: 80px;
}

.usp-wrapper .text-wrapper {
	  padding-top: 40px;
    padding-bottom: 70px;
    background: rgba(70, 100, 140, 0.8);
    color: var(--color-white);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;

}
.usp-wrapper .text-wrapper h2 {
	color: var(--color-white);
}
.page-title {
	padding: 30px 0;
}

.value-card {
    background: var(--color-white);
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
}

.value-card__icon {
    padding: 40px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-card__icon img {
    width: auto;
    height: 75px;
    object-fit: contain;
}

.value-card__title {
    background: var(--color-navy);
    color: var(--color-blue-light);
    font-family: var(--font-sans);
    font-size: 25px;
    font-weight: 700;
    padding: 8px 24px;
    line-height: 32px;
}

.value-card__text {
 padding: 45px 60px;
	    min-height: 314px;
}

.value-card__text p {

}
.entry-content ul.styled-list {
margin-left: 0;
}
.styled-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.styled-list li {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 4px 0;
        border-bottom: 1px dotted rgb(255 255 255 / 70%);
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--color-white);
}

.styled-list li:last-child {
    border-bottom: 0;
}

.styled-list li::before {
    content: '•';
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.25rem;
    flex-shrink: 0;
    width: 20px;
    text-align: center;
}
.mgi-box {
	    background-color: var(--color-white);
    padding: 30px;
    border-radius: 12px;
}
.small-txt {
    display: block;
    font-size: 12px;
    line-height: 1.5;
    color: #707070;
}
.feature-card {
    background: var(--color-white);
    border-radius: 12px;
    overflow: hidden;
    text-align: center;

}

.feature-card__icon {
    background: #e3dddd;
    padding: 32px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.feature-card__icon.card-bg-blue {
	background: #9eb9d4;
}

.feature-card__icon img {
height: 88px;
	width: auto;
    
    object-fit: contain;
}

.feature-card__body {
      padding: 35px 30px 60px;
	    min-height: 692px;
}

.feature-card__title {
font-size: 22px;
    font-weight: 700;
    color: var(--color-accent);
    line-height: 1.3;
    margin-bottom: 22px;
}

.feature-card__text {

}
.staff-testimonial {
background: var(--color-white);
    border: 1px solid #707070;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.staff-testimonial__body {
    padding: 45px 35px 75px;
    flex: 1;
	    min-height: 382px;
}

.staff-testimonial__quote-open {
    display: block;
    width: 52px;
    height: 44px;
    background: url('/wp-content/uploads/2026/04/quote-left.png') no-repeat left top;
    background-size: contain;
    margin-bottom: 10px;
}

.staff-testimonial__text {
    font-size: 20px;
    font-style: italic;
    color: var(--color-navy);
    line-height: 26px;
}

.staff-testimonial__footer {
    background: var(--color-navy);
    padding: 16px 24px;
    text-align: center;
}

.staff-testimonial__name {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-white);
}
.staff-testimonial-wrapper ul.slick-dots {
    padding: 25px 0 5px !important;
}

/* =========================================================
   TEAM GRID — shortcode display
   ========================================================= */
.team-grid {
	display: grid;
	gap: 24px;
	row-gap: 55px;
}

.team-grid--cols-2 { grid-template-columns: repeat(2, 1fr); }
.team-grid--cols-3 { grid-template-columns: repeat(3, 1fr); }
.team-grid--cols-4 { grid-template-columns: repeat(4, 1fr); }

/* Card */
.team-card {
	background: var(--color-white);
	border-radius: 12px;
	overflow: hidden;
	text-align: center;
	box-shadow: var(--shadow-sm);
	transition: box-shadow var(--transition);
	display: flex;
	flex-direction: column;
	border: 1px solid #9EB9D4;

}

.team-card:hover {
	box-shadow: var(--shadow-md);
}

/* Image link wrapper */
.team-card__image-link {
	display: block;
	text-decoration: none;
}

/* Image */
.team-card__image {
	width: 100%;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: var(--color-off-white);
}

.team-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
	display: block;
	transition: transform 0.4s ease;
}

.team-card:hover .team-card__image img {
	transform: scale(1.04);
}

/* Placeholder */
.team-card__image-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--color-off-white);
}

.team-card__image-placeholder svg {
	width: 60px;
	height: 60px;
	color: var(--color-border);
}

/* Body */
.team-card__body {
	padding: 16px 16px 20px;
	display: flex;
	flex-direction: column;
	align-items: center;
	flex: 1;
}

.team-card__name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 0;
    line-height: 1.3;
}

.team-card__name a {
	color: var(--color-navy-mid);
	text-decoration: none;
	transition: color var(--transition);
}

.team-card__name a:hover {
	color: var(--color-navy);
}

.team-card__job-title {
    font-size: 15px;
    font-weight: 400;
    margin-bottom: 12px;
}

/* Links row */
.team-card__links {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	margin-top: auto;
	width: 100%;
	padding-top: 10px;

}

.team-card__link--email {
font-size: 15px;
    color: var(--color-text-light);
    text-decoration: none;
    transition: color var(--transition);
    word-break: break-all;
    margin-bottom: 18px;
}

.team-card__link--email:hover {
	color: var(--color-navy);
}

/* LinkedIn — round icon button */
.team-card__link--linkedin {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--color-navy);
	color: var(--color-white);
	text-decoration: none;
	transition: background var(--transition);
	margin-top: 38px;
    position: absolute;
}

.team-card__link--linkedin:hover {
	background: #0077b5;
	color: var(--color-white);
}

.team-card__link--linkedin i {
	font-size: 0.875rem;
	color: var(--color-white);
}

.team-no-results {
	color: var(--color-text-light);
}

/* =========================================================
   TEAM PROFILE — single page
   ========================================================= */
.team-profile {
	display: grid;
	grid-template-columns: 300px 1fr;
	gap: 48px;
	padding: 48px 0 0px;
	align-items: start;
}

.team-profile__image img {
	width: 100%;
	border-radius: 10px;
	object-fit: cover;
	object-position: top center;
}

.team-profile__name {
	font-size: clamp(1.5rem, 3vw, 2.25rem);
	color: var(--color-navy);
	margin-bottom: 3px;
}

.team-profile__job-title {
font-size: 18px;
    color: var(--color-navy-mid);
    font-weight: 600;
    margin-bottom: 20px;
}

.team-profile__contact {
	display: flex;
	flex-wrap: wrap;
	gap: 25px;
	margin-bottom: 8px;
}

.team-profile__email,
.team-profile__linkedin {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 16px;
	color: var(--color-navy);
	text-decoration: none;
	transition: color var(--transition);
}

.team-profile__email:hover,
.team-profile__linkedin:hover {
	color: var(--color-blue-light);
}

.team-profile__bio {
	margin-top: 25px;
	padding-top: 25px;
	border-top: 1px solid var(--color-border);
	    margin-bottom: 35px;

	color: var(--color-text);
}

.team-profile__back {
	padding-bottom: 48px;
}

.team-profile__back .btn i {
	margin-right: 6px;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
	.team-grid--cols-4 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 860px) {
	.team-grid--cols-3,
	.team-grid--cols-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 540px) {
	.team-grid--cols-2,
	.team-grid--cols-3,
	.team-grid--cols-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
	.team-profile {
		grid-template-columns: 1fr;
		gap: 24px;
		padding-top: 32px;
	}

	.team-profile__image {
		max-width: 240px;
	}
}


.services-icon-box-wrapper .flip-box-wrap .flip_link a {
	font-size: 14px;
    font-weight: 600;
    border-radius: 3px;
	    padding: 8px 15px;
}

.services-icon-box-wrapper .flip-box-wrap .flip-box .flipbox_heading {
	    margin: 25px 0 12px;

    font-size: 22px;

    font-weight: 600;
}

.services-icon-box-wrapper .align-icon {
	    min-height: 138px;
    vertical-align: middle;
    justify-content: center;
    align-items: center;
    display: flex;
}

.services-icon-box-wrapper .flip-box-wrap, .wpb_row .wpb_column .wpb_wrapper .flip-box-wrap {
    margin-bottom: 30px!important;
}

/* Hide icons until row is loaded */
.flip-box {
    opacity: 0;
    transition: opacity 0.1s ease;
}

.flip-box.is-loaded {
    opacity: 1;
}


.entry-content ul.custom-list {
	margin-left: 0;
}

.custom-list {
  list-style-type: none;
  padding: 0;
  font-family: sans-serif;
 
}

.custom-list li {
  display: flex;
  align-items: stretch;
  background-color: #e3f2fd; 
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;

}


.list-number {
  background-color: #a0bed6; 
  color: #1a2b48; 
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: bold;
  min-width: 80px;
  padding: 10px;
	    border-radius: 12px;
}
.list-number i {
	-webkit-text-stroke: 1px #a0bed6;
}

.list-content {
  padding: 15px 20px;
  color: #2c3e50;
  line-height: 1.5;
}


.list-content strong {
  display: block;
  font-size: 16px;
  margin-bottom: 0px;
  color: #1a2b48;
}

.list-content br {
	display: contents;
}

.services-box-inner.vc_row {
	border-radius: 12px;
}

.services-box-inner h3 {
	font-size: 29px;
}
.services-box-inner .wpb_single_image {
	background: #9eb9d4;
    border-radius: 14px;
    padding: 60px;
}

.services-box-inner .wpb_single_image.bg-grey {
	background: #e3dddd;
}


.entry-content ul.check-list {
    list-style: none;
    margin: 20px 0 20px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.check-list li {
    margin-bottom: 0px;
    margin-left: 60px;
    gap: 12px;

}

.check-list li::before {
    font-family: 'Font Awesome 6 Free';
    font-weight: 400;
    content: '\f058';
    color: var(--color-navy);
    font-size: 18px;
       position: absolute;
    margin-left: -60px;
}
.search .posts-grid {
    display: block;

}
.search .post-card {
	    margin-bottom: 30px;
}



.search .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.search .nav-links a,
.search .nav-links span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-navy);
    text-decoration: none;
    transition: background var(--transition), color var(--transition);
}

.search .nav-links a:hover,
.search .nav-links span.current {
    background: var(--color-blue-light);
    border-color: var(--color-blue-light);
    color: var(--color-white);
}


.error-404 {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 60vh;
	padding: 80px 0;
	text-align: center;
}

.error-404__content {

	width: 100%;
}

.error-404__code {
	display: block;
	font-family: var(--font-serif);
	font-size: clamp(6rem, 15vw, 10rem);
	font-weight: 700;
	color: var(--color-border);
	line-height: 1;
	margin-bottom: 8px;
}

.error-404__title {
	font-family: var(--font-serif);
	font-size: clamp(1.5rem, 3vw, 2.25rem);
	color: var(--color-navy);
	margin-bottom: 16px;
}

.error-404__text {
	font-size: 1rem;
	color: var(--color-text-light);
	line-height: 1.7;
	margin-bottom: 32px;
}

/* Search form */
.error-404__search {
	margin-bottom: 32px;
}

.error-404__search form {
	display: flex;
	border: 1px solid var(--color-border);
	border-radius: 4px;
	overflow: hidden;
}

.error-404__search input[type="search"] {
	flex: 1;
	border: none;
	outline: none;
	padding: 12px 16px;
	font-family: var(--font-sans);
	font-size: 0.9375rem;
	color: var(--color-text);
}

.error-404__search button[type="submit"] {
	background: var(--color-navy);
	border: none;
	padding: 12px 20px;
	color: var(--color-white);
	cursor: pointer;
	font-family: var(--font-sans);
	font-size: 0.9375rem;
	font-weight: 600;
	transition: background var(--transition);
}

.error-404__search button[type="submit"]:hover {
	background: var(--color-blue-light);
}

/* Quick links */
.error-404__links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
}

.error-404__links .btn i {
	margin-right: 6px;
}

/* Outline button variant */
.btn--outline {
	background: transparent;
	border: 2px solid var(--color-navy);
	color: var(--color-navy);
	padding: 11px 22px;
}

.btn--outline:hover {
	background: var(--color-navy);
	color: var(--color-white);
}