/* =============================================================================
   GOOGLE FONTS IMPORT (must be before all other rules)
   ============================================================================= */
@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    --asr-text-grey: #333333;
    --asr-electric-blue: #10E8E8; /* Updated Electric Blue */
    --asr-grey-100: #f8f9fa;
    --asr-grey-150: #f8f8f8;
    --asr-grey-200: #f0f0f0;
    --asr-grey-250: #eaeaea;
    --asr-grey-300: #e0e0e0;
    --asr-black-1: #333;
    --asr-brand-navy: #003b5d;
    --asr-red: #cc0000;
    --asr-link: #4169e1;
    --asr-link-hover: #191970;
}

.asr-property-single {
    display: flex;
    gap: 30px;
}
.asr-property-main {
    flex: 1 1 auto;
    min-width: 0;
}
.asr-property-aside {
    flex: 0 0 320px;
}
.asr-related-properties h3 {
    margin: 0 0 15px;
    text-align: left;
}
.asr-related-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}
.asr-related-item {
    background: #f6f8fb;
    border-radius: 12px;
    overflow: hidden;
}
.asr-related-link {
    display: grid;
    grid-template-columns: 64px 1fr;
    align-items: center;
    gap: 12px;
    padding: 10px;
}
.asr-related-thumb {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 8px;
}
.asr-related-title {
    color: var(--asr-electric-blue);
}
@media (max-width: 980px) {
    .asr-property-single { flex-direction: column; }
    .asr-property-aside { flex-basis: auto; }
}

.asr-back { margin: 0 0 20px; }
/*!
Theme Name: AS Retail Custom
Theme URI: http://underscores.me/
Author: Design House
Author URI: http://underscores.me/
 Description: Custom AS Retail WordPress Theme
 Version: 1.3.3
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: as-retail-custom
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

AS Retail Custom is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments
# AS Retail Custom Styles
	- Video Banner System
	- Homepage Templates
	- Property Filtering
	- Navigation & Header
	- News Animations
	- Footer Styles
	- Responsive Design

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
	appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
    color: var(--asr-electric-blue);
	font-family: 'Raleway', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    clear: both;
    color: var(--asr-text-grey);
    font-family: 'Raleway', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-weight: 500;
}

/* Slightly larger heading scale */
h1 { font-size: 2.25rem; }
h2 { font-size: 1.85rem; }
h3 { font-size: 1.55rem; }
h4 { font-size: 1.35rem; }
h5 { font-size: 1.15rem; }
h6 { font-size: 1rem; }

p {
	margin-bottom: 1.5em;
    color: var(--asr-text-grey);
    line-height: 1.65em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

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

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
    color: var(--asr-link);
}

a:hover,
a:focus,
a:active {
    color: var(--asr-link-hover);
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
/* removed empty .main-navigation block */

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.asr-news-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; }
.asr-news-left img { width: 100%; height: auto; display: block; }
.asr-news-featured { margin-bottom: 20px; position: relative; }
.asr-news-additional > div { margin-bottom: 15px; }
.asr-news-date { color: #666; margin-bottom: 10px; }

@media (max-width: 768px) {
  .asr-news-layout { grid-template-columns: 1fr; }
}
.sticky {
	display: block;
}

.post,
.page {
	margin: 0 0 1.5em;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.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 !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

/*--------------------------------------------------------------
# AS Retail Custom Styles
--------------------------------------------------------------*/

/* =============================================================================
   DISABLE COMMENTS
   ============================================================================= */
#comments {
	display: none;
}

/* =============================================================================
   CUSTOM HOMEPAGE TEMPLATE 2024
   ============================================================================= */
.asr-page-hero { position: relative; background: #eaeaea; min-height: 320px; background-size: cover; background-position: center; margin-top: -160px; margin-bottom: 0px; display: flex; align-items: flex-end; }
.asr-page-hero__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.35) 40%, rgba(0,0,0,0.1) 100%); }
.asr-page-hero__title { position: relative; z-index: 1; color: #fff; margin: 0; padding: 80px 0 30px; font-weight: 500; }

/* Below-banner page title */
.asr-page-title { margin: 0 0 20px; color: var(--asr-text-grey); font-weight: 500; text-align: center; }

.asr-page-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 30px; }
.asr-page-layout--single { grid-template-columns: 1fr; }
.asr-page-aside__image { width: 100%; aspect-ratio: 4 / 5; border-radius: 8px; background-size: cover; background-position: center; box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
@media (max-width: 900px) { .asr-page-layout { grid-template-columns: 1fr; } .asr-page-aside__image { aspect-ratio: 16 / 9; } }
/* earlier full-width-banner definition removed (consolidated below) */

/* Video Banner Styles - Tucked Under Header */
.full-width-video-banner {
    position: relative;
    width: 100%;
    height: auto; /* Use aspect-ratio for height */
    aspect-ratio: 250 / 93; /* Match provided video dimensions for perfect fit */
    overflow: hidden;
    background: #000;
    margin-top: -155px; /* Tuck under header - adjust as needed */
}

/* Black pseudo overlay over the video */
.full-width-video-banner::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 2;
    pointer-events: none;
}

.video-banner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    object-fit: cover;             /* Fill container */
    object-position: top center;   /* Anchor at top to crop bottom */
}

/* YouTube iframe embed styling to match self-hosted video behaviour */
.video-embed { position: absolute; inset: 0; z-index: 1; }
.video-embed__iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Prevent clicks reaching YouTube controls/watermark when controls are hidden */
.video-click-shield { position: absolute; inset: 0; z-index: 2; background: transparent; }

/* Banner logo overlay (fades in) */
.banner-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    opacity: 0;
    animation: asrLogoFade 1.6s ease 0.4s forwards;
    pointer-events: none;
}

.banner-logo img {
    width: clamp(160px, 24vw, 320px);
    height: auto;
    display: block;
}

@keyframes asrLogoFade {
    from { opacity: 0; transform: translate(-50%, -48%); }
    to { opacity: 1; transform: translate(-50%, -50%); }
}

/* Video fallback for when video doesn't load */
.video-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}



/* Default banner placeholder */
.default-banner {
    background: linear-gradient(135deg, var(--asr-electric-blue) 0%, var(--asr-electric-blue) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-placeholder {
    text-align: center;
    color: white;
    z-index: 5;
    position: relative;
}

.banner-placeholder h2 {
    font-size: 48px;
    margin-bottom: 15px;
    font-weight: 300;
}

.banner-placeholder p {
    font-size: 18px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Also handle fallback image banner positioning */
.full-width-banner {
    position: relative;
    margin-top: -155px; /* Match video banner negative margin */
    height: auto;       /* Use aspect-ratio for height */
    aspect-ratio: 250 / 93; /* Match video banner ratio */
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.99) 0%, rgba(0,0,0,0) 50%);
}

.full-width-row {
    width: 100%;
    padding: 65px 0;
    overflow-x: visible; /* allow decorative elements to overhang; page-level hidden prevents scroll */
}

.asr-team-section { padding-top: 0px; padding-bottom: 80px; margin-top: -30px; }

/* Guardrail: never allow page-level horizontal scroll due to decorative overflow */
html, body { overflow-x: hidden; }

.centered-container {
    max-width: 1030px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative; /* contain absolutely positioned decorative elements */
    overflow-x: visible; /* allow polygon to extend to viewport edge */
}

.custom-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.custom-column {
    flex: 0 0 50%;
    max-width: 49%;
    margin-bottom: 30px;
}

.featured-image-box {
    height: 350px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    transition: filter 0.6s ease, transform 0.6s ease;
    filter: grayscale(100%);
    will-change: filter, transform;
}

.featured-image-box::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0) 55%, rgba(0,0,0,0.45) 100%);
    opacity: 1;
    transition: opacity 0.6s ease;
}

.featured-image-box:hover {
    filter: grayscale(0%);
}

.featured-image-box:hover::after {
    opacity: 0.2;
}

.post-title {
    margin-top: 0px;
    font-size: 25px;
}

.post-title a,
.entry-title a {
    text-decoration: none;
    color: inherit; /* Inherit the heading colour */
}

.post-title a:hover,
.entry-title a:hover {
    text-decoration: none;
    opacity: 0.8; /* Subtle hover effect */
    transition: opacity 0.3s ease;
}

.read-more-btn {
    display: inline-block;
    padding: 10px 18px;
    background: #fff;
    color: var(--asr-text-grey);
    text-decoration: none;
    border-radius: 20px;
    border: 1px solid #ccc;
    transition: all 0.2s ease;
    text-align: center;
}

.read-more-btn:hover,
.read-more-btn.is-active {
    background-color: var(--asr-electric-blue);
    color: var(--asr-text-grey);
    border-color: var(--asr-electric-blue);
}

/* Ensure button-style links do not change when visited */
.asr-button:visited,
.read-more-btn:visited {
    color: var(--asr-text-grey);
    text-decoration: none;
}

.flexCenter {
    justify-content: center;
}

.greyBackground {
    background: var(--asr-grey-250);
}

.blueBackground {
    background: var(--asr-electric-blue);
}


.twoThirdsSection {
    width: calc(100% - 150px);
    margin: 0 auto;
    text-align: center;
}

/* =============================================================================
   PROPERTY FILTER STYLES
   ============================================================================= */
.property-filters {
    display: flex;
    gap: 30px;
    margin: 30px 0 40px;
    padding: 25px;
    background: #f5f5f5;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.filter-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-group label {
    color: var(--asr-electric-blue);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-group select {
    padding: 5px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    background: white;
    font-size: 16px;
    color: var(--asr-black-1);
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.filter-group select:hover {
    border-color: var(--asr-electric-blue);
}

.filter-group select:focus {
    outline: none;
    border-color: var(--asr-electric-blue);
    box-shadow: 0 0 0 2px rgba(3,80,150,0.15);
}

#properties-container {
    transition: opacity 0.3s ease;
}

#properties-container.loading {
    opacity: 0.5;
}

/* =============================================================================
   PROPERTY BLOCK STYLES
   ============================================================================= */
.ASRpropertyBLOCK {
    display: flex;
    gap: 30px;
    padding: 40px 0;
    border-bottom: 1px solid var(--asr-electric-blue);
}

.ASRpropertyIMG {
    flex: 0 0 33.333%;
}

.ASRpropertyIMG img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
}

.ASRpropertyContent {
    flex: 1;
}

.ASRpropertyTITLE {
    font-size: 24px;
    font-weight: bold;
    color: var(--asr-electric-blue);
    margin-bottom: 15px;
}

.ASRpropertyBODY {
    margin-bottom: 15px;
    line-height: 1.6;
}

.ASRpropertyAREA,
.ASRpropertyPRICE {
    margin-bottom: 10px;
    font-weight: bold;
}

.ASRpropertyPRICE {
    font-size: 20px;
    color: var(--asr-electric-blue);
}

.ASRpropertyPDF a {
    display: inline-block;
    padding: 8px 15px;
    background: var(--asr-electric-blue);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

/* hover identical to base; removed to reduce duplication */

/* =============================================================================
   NAVIGATION & HEADER STYLES
   ============================================================================= */

/* -----------------------------------------------------------------------------
   Header Structure
   ----------------------------------------------------------------------------- */
/* (removed duplicate .site-header block; consolidated below) */

/* (removed redundant .site-branding block to avoid conflicts) */

/* removed earlier custom-logo sizing; consolidated below */

/* -----------------------------------------------------------------------------
   Logo System - Blue/White Switching
   ----------------------------------------------------------------------------- */
.blueLogo {
    display: block;
}

.home .blueLogo {
    display: none;
}

.whiteLogo {
    display: none;
}

.home .whiteLogo {
    display: block;
}

/* -----------------------------------------------------------------------------
   Main Navigation - Desktop
   ----------------------------------------------------------------------------- */
.main-navigation {
    position: relative;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding-left: 0;
    display: flex;
    align-items: center;
}

.main-navigation li {
    position: relative;
    margin: 0;
}

.main-navigation a {
    display: block;
    text-decoration: none;
    color: #333;
    padding: 15px 20px;
    transition: all 0.3s ease-in-out;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 14px;
}

.main-navigation a:hover {
    color: var(--asr-electric-blue);
    background-color: rgba(0, 99, 156, 0.1);
}

.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a {
    color: var(--asr-electric-blue);
    font-weight: 600;
}

/* -----------------------------------------------------------------------------
   Homepage Navigation Styles (White Text)
   ----------------------------------------------------------------------------- */
.home .main-navigation a {
    color: #fff;
}

.home .main-navigation a:hover {
    color: var(--asr-electric-blue);
    background-color: rgba(255, 255, 255, 0.1);
}

.home .main-navigation .current-menu-item > a,
.home .main-navigation .current_page_item > a {
    color: rgb(159, 160, 160);
}

/* -----------------------------------------------------------------------------
   Dropdown Menus
   ----------------------------------------------------------------------------- */
.main-navigation ul ul {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    background: #fff;
    border-radius: 4px;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 99999;
    padding: 10px 0;
}

.main-navigation ul ul ul {
    top: 0;
    left: 100%;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-navigation ul ul a {
    color: var(--asr-black-1);
    padding: 12px 20px;
    font-size: 13px;
    text-transform: none;
    letter-spacing: normal;
    border-bottom: 1px solid var(--asr-grey-200);
}

.main-navigation ul ul a:hover {
    color: var(--asr-electric-blue);
    background-color: var(--asr-grey-100);
    padding-left: 25px;
}

.main-navigation ul ul li:last-child a {
    border-bottom: none;
}

/* -----------------------------------------------------------------------------
   AS Retail Burger Menu (Always Visible)
   ----------------------------------------------------------------------------- */
.menu-toggle,
.as-retail-burger-menu {
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
    display: flex !important; /* Always visible */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    position: relative;
    z-index: 1001;
}

.menu-toggle .burger-line,
.as-retail-burger-menu .burger-line {
    display: block;
    width: 40px;
    height: 2px;
    background-color: #333;
    margin: 4px 0;
    transition: all 0.3s ease;
    border-radius: 0px;
}

.home .menu-toggle .burger-line,
.home .as-retail-burger-menu .burger-line { background-color: #fff; }
/* Make burger lines white on hero-banner pages only */
body.has-hero .as-retail-burger-menu .burger-line { background-color: #fff; }

/* Burger menu animation states */
/* When active, slide the burger button out and hide lines (drawer has its own close icon) */
.menu-toggle.menu-active,
.as-retail-burger-menu.menu-active {
    transform: translateX(80px);
    opacity: 0;
}
.menu-toggle.menu-active .burger-line,
.as-retail-burger-menu.menu-active .burger-line { opacity: 0; transform: none; }

/* -----------------------------------------------------------------------------
   Slide-out Navigation Overlay
   ----------------------------------------------------------------------------- */
.as-retail-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.as-retail-nav-overlay.overlay-active {
    opacity: 1;
    visibility: visible;
}

/* -----------------------------------------------------------------------------
   Right-aligned Slide-out Panel
   ----------------------------------------------------------------------------- */
.as-retail-nav-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: 350px;
    max-width: 85vw;
    height: 100%;
    background: #fff;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    padding: 90px 0 0px;
    z-index: 1001; /* ensure above overlay background */
}

.as-retail-nav-overlay.overlay-active .as-retail-nav-panel {
    transform: translateX(0);
}

/* -----------------------------------------------------------------------------
   Close Button
   ----------------------------------------------------------------------------- */
.as-retail-nav-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: #333;
    cursor: pointer;
    padding: 0;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: color 0.3s ease;
    z-index: 1002; /* clickable above everything */
}

.as-retail-nav-close:hover {
    color: var(--asr-electric-blue);
}

.as-retail-nav-close .close-icon {
    font-size: 70px;
    font-weight: 100;
    pointer-events: none; /* ensure clicks hit the button */
}

/* -----------------------------------------------------------------------------
   Slide Menu Styling
   ----------------------------------------------------------------------------- */
.as-retail-slide-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.as-retail-slide-menu li {
    border-bottom: 1px solid #f0f0f0;
}

.as-retail-slide-menu li:last-child {
    border-bottom: none;
}

.as-retail-slide-menu a {
    display: block;
    padding: 18px 30px;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    position: relative;
    text-align: right;
}

.as-retail-slide-menu a:hover {
    color: var(--asr-text-grey);
    background-color: #f8f9fa;
    padding-left: 35px;
}

.as-retail-slide-menu .current-menu-item > a,
.as-retail-slide-menu .current_page_item > a {
    color: var(--asr-text-grey);
    background-color: #f0f8ff;
    border-left: 10px solid var(--asr-electric-blue);
}

/* -----------------------------------------------------------------------------
   Slide Menu Dropdowns
   ----------------------------------------------------------------------------- */
.as-retail-slide-menu .menu-item-has-children > a::after,
.as-retail-slide-menu .page_item_has_children > a::after {
    content: '+';
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    font-weight: 300;
    transition: transform 0.3s ease;
}

.as-retail-slide-menu .focus > a::after {
    transform: translateY(-50%) rotate(45deg);
}

.as-retail-slide-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    background: #f8f9fa;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.as-retail-slide-menu .focus > ul {
    max-height: 500px;
}

.as-retail-slide-menu ul a {
    padding: 15px 30px 15px 50px;
    font-size: 14px;
    font-weight: 400;
    text-transform: none;
    letter-spacing: normal;
    color: var(--asr-text-grey);
}

.as-retail-slide-menu ul a:hover {
    color: var(--asr-text-grey);
    padding-left: 55px;
}

/* -----------------------------------------------------------------------------
   Body Lock (Prevent Scrolling)
   ----------------------------------------------------------------------------- */
body.nav-menu-open {
    overflow: hidden;
}

/* -----------------------------------------------------------------------------
   Hide Original Menu (Always Use Burger)
   ----------------------------------------------------------------------------- */
.main-navigation ul {
    display: none !important; /* Always hidden - use slide-out instead */
}

/* Make sure burger menu is positioned correctly in header */
.main-navigation {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin: -8px 0 0;
}

/* Header spacing tweaks */
.main-navigation { width: auto; }

/* Header layout improvements */
.site-header {
    background-color: transparent;
    box-shadow: none;
    border: 0;
    position: relative;
    z-index: 1000; /* Ensure header floats above video banner */
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px 30px;
}

.site-branding {
    display: flex;
    align-items: center;
    height: auto;
    padding-top: 0;
    padding-bottom: 0;
}

/* Ensure logo and site title are properly displayed */
.custom-logo {
    max-height: 60px;
    width: auto;
}

/* Prefer white logo when hero banner is present */
body.page .asr-page-hero ~ .full-width-row .custom-logo { filter: brightness(0) invert(1); }

.site-title {
    margin: 0;
    font-size: 1.5rem;
}

.site-title a {
    text-decoration: none;
    color: inherit;
}

.site-description {
    display: none; /* Hide tagline for cleaner header */
}

/* -----------------------------------------------------------------------------
   Mobile Responsive Adjustments
   ----------------------------------------------------------------------------- */
@media screen and (max-width: 480px) {
    .as-retail-nav-panel {
        width: 300px;
        max-width: 90vw;
    }
    
    .as-retail-slide-menu a {
        padding: 16px 25px;
        font-size: 15px;
    }
    
    .as-retail-slide-menu a:hover {
        padding-left: 30px;
    }
    
    .as-retail-slide-menu ul a {
        padding: 12px 25px 12px 45px;
        font-size: 13px;
    }
    
    .as-retail-slide-menu ul a:hover {
        padding-left: 50px;
    }
}

/* =============================================================================
   NEWS ANIMATION STYLES
   ============================================================================= */
.asr-news-grid { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; }
.asr-news-card { background: #fff; border: 1px solid var(--asr-grey-250); border-radius: 16px; overflow: hidden; width: 320px; max-width: 100%; opacity: 1; transition: opacity 0.35s ease, transform 0.35s ease, box-shadow 0.25s ease; will-change: opacity, transform; }
.asr-news-card.is-appearing { opacity: 0; transform: translateY(16px); }
.asr-news-card.is-appearing.show { opacity: 1; transform: translateY(0); }
.asr-news-link { display: block; color: inherit; text-decoration: none; }
.asr-news-image { width: 100%; aspect-ratio: 16 / 10; background-size: cover; background-position: center; position: relative; }
.asr-news-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(0,99,156,0.28) 100%); opacity: 0; transition: opacity 0.25s ease; }
.asr-news-card:hover { transform: translateY(-6px); box-shadow: 0 10px 24px rgba(0,99,156,0.18); }
.asr-news-card:hover .asr-news-image::after { opacity: 1; }
.asr-news-body { padding: 16px; }
.asr-news-title { margin: 0 0 8px; font-size: 18px; color: var(--asr-text-grey); }
.asr-news-excerpt { margin-bottom: 10px; color: var(--asr-text-grey); }

/* =============================================================================
   FOOTER STYLES
   ============================================================================= */
.site-footer {
    box-shadow: none;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    background: var(--asr-grey-150);
    padding: 50px 0;
    margin-top: 0px;
}
.asr-page-layout--single .asr-page-main {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* Privacy policy template keeps legal copy easy to read. */
body.page-template-page-privacy-policy .asr-page-layout--single .asr-page-main {
    max-width: 720px;
    text-align: left;
    line-height: 1.8;
}

body.page-template-page-privacy-policy .asr-page-layout--single .asr-page-main p {
    margin-bottom: 1.1em;
}

body.page-template-page-privacy-policy .asr-page-layout--single .asr-page-main ul,
body.page-template-page-privacy-policy .asr-page-layout--single .asr-page-main ol {
    text-align: left;
    margin-bottom: 1.1em;
}

body.page-template-page-privacy-policy .asr-page-layout--single .asr-page-main li,
body.page-template-page-privacy-policy .asr-page-layout--single .asr-page-main li::marker {
    color: var(--asr-text-grey);
}

body.page-template-page-privacy-policy .asr-page-layout--single .asr-page-main li a {
    color: inherit;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1030px;
    margin: 0 auto;
    padding: 0 15px;
}
.footer-col { padding: 0 30px; }

.footer-brand { margin: -12px 0 12px; }
.footer-logo { max-width: 180px; height: auto; display: block; }

.footer-col h3 {
    margin-top: 0;
    margin-bottom: 12px;
    color: var(--asr-text-grey);
    font-weight: 600;
}

.footer-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.footer-menu-list li a {
    display: inline-block;
    padding: 2px 0;
    color: var(--asr-text-grey);
    text-decoration: none;
}
.footer-menu-list li a:hover {
    color: var(--asr-electric-blue);
}

.footer-address { white-space: normal; line-height: 1.6; color: var(--asr-text-grey); }
.footer-telephone { margin-top: 8px; }
.footer-tel-link { text-decoration: none; color: var(--asr-text-grey); display: inline-flex; align-items: center; gap: 8px; }
.footer-tel-link:hover { color: var(--asr-electric-blue); }
.footer-tel-link .fontAwes { font-size: 18px; line-height: 1; color: currentColor; }
.footer-social { margin-top: 10px; display: flex; gap: 12px; align-items: center; }
.footer-social .fa-brands, .footer-social .fa-solid { color: var(--asr-text-grey); font-size: 20px; }
.footer-social a:hover .fa-brands, .footer-social a:hover .fa-solid { color: var(--asr-electric-blue); }
/* Site credits under footer */
.site-credits {
    border-bottom: 0;
    text-align: center;
    color: var(--asr-text-grey);
    font-size: 0.7rem;
    padding: 18px 0 0px;
    background: #fff;
}
.site-credits a { color: var(--asr-text-grey); text-decoration: none; }
.site-credits a:hover { color: var(--asr-electric-blue); text-decoration: underline; }
.site-credits__copyright { margin: 0 0 6px; }
.site-credits__byline { margin: 0; }

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

/* =============================================================================
   RESPONSIVE STYLES
   ============================================================================= */
@media only screen and (max-width: 767px) {
    .custom-column {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .twoThirdsSection {
        width: 100%;
    }
    
    .property-filters {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }
    
    .filter-group {
        width: 100%;
    }
    
    .filter-group select {
        padding: 10px;
    }
    
    .ASRpropertyBLOCK {
        flex-direction: column;
        gap: 20px;
    }
    
    .ASRpropertyIMG {
        width: 100%;
    }
    
    .ASRpropertyPDF {
        text-align: center;
    }
    
    .full-width-banner,
    .full-width-video-banner {
        margin-top: -120px; /* Smaller negative margin for mobile */
        aspect-ratio: 1 / 1; /* Square on mobile */
        height: auto;
        background-size: cover;
        background-position: center;
    }

    /* On mobile: hide heavy video/iframe and use animated GIF background */
    .full-width-video-banner {
        background-image: url('assets/Banner-V3-Animated-Gif.gif');
    }
    .full-width-video-banner .video-embed,
    .full-width-video-banner .video-banner,
    .full-width-video-banner .video-click-shield {
        display: none !important;
    }
    
    .full-width-row {
        padding: 35px 0;
    }

.banner-placeholder h2 {
        font-size: 32px;
    }
    
    .banner-placeholder p {
        font-size: 16px;
        padding: 0 20px;
    }
}

/* =============================================================================
   ISOTOPE PROPERTIES GRID
   ============================================================================= */
.asr-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    margin: 40px 0 25px;
}
.asr-filter-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.asr-filter-group .filter-btn {
    padding: 8px 14px;
    border: 1px solid #ccc;
    border-radius: 20px;
    background: #fff;
    color: var(--asr-text-grey);
    cursor: pointer;
    transition: all 0.2s ease;
}
.asr-filter-group .filter-btn.is-active,
.asr-filter-group .filter-btn:hover {
    background: var(--asr-electric-blue);
    color: var(--asr-text-grey);
    border-color: var(--asr-electric-blue);
}
.asr-button {
    display: inline-block;
    padding: 10px 18px;
    border: 1px solid #ccc;
    border-radius: 20px;
    background: #fff;
    color: var(--asr-text-grey);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    margin: 20px 0 10px;
}
.asr-button:hover,
.asr-button.is-active {
    background: var(--asr-electric-blue);
    color: var(--asr-text-grey);
    border-color: var(--asr-electric-blue);
}
.asr-button--primary {
    background: var(--asr-electric-blue);
    color: var(--asr-text-grey);
    border-color: var(--asr-electric-blue);
}
/* primary hover identical to base; removed */
.content-wrapper .asr-button { margin-top: 12px; }
.asr-isotope-grid { /* Isotope container */
    margin: 0; /* use item margins for gutters */
    overflow: hidden; /* belt-and-braces against horizontal scroll */
}

/* Three-column layout via Isotope item sizing */
.asr-grid-sizer { width: 33.333%; }
.asr-property-card { /* .isotope-item */
    width: calc(33.333% - 16px); /* account for horizontal margins */
    margin: 0 8px 40px; /* visible gutters between cards */
    padding: 0; /* internal spacing handled by .asr-card-body */
    float: left; /* fitRows positions floats */

    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

@media (max-width: 1024px) {
    .asr-grid-sizer { width: 50%; }
    .asr-property-card { width: calc(50% - 16px); margin: 0 8px 32px; }
}
@media (max-width: 640px) {
    .asr-grid-sizer { width: 100%; }
    .asr-property-card { width: 100%; margin: 0 0 24px; }
}
/* consolidated into the later .asr-card-image rule */
.asr-card-image img { width: 100%; height: auto; display: block; }
.asr-card-image { position: relative; overflow: hidden; width: 100%; }
.asr-status {
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-top: 90px solid var(--asr-electric-blue); /* electric blue triangle */
    border-left: 90px solid transparent;
    z-index: 2;
}
.asr-status .asr-status__text {
    position: absolute;
    top: -54px;
    right: 6px;
    color: var(--asr-text-grey);
    font-weight: 800;
    font-size: 11px;
    line-height: 1.1em;
    letter-spacing: 0.05em;
    transform: rotate(45deg);
    transform-origin: top right;
    text-transform: uppercase;
}
.asr-status--let { border-top-color: var(--asr-electric-blue); }
.asr-status--let .asr-status__text { font-size: 16px; right: 10px; top: -55px; }
.asr-status--under-offer { border-top-color: var(--asr-electric-blue); }
.asr-status--under-offer .asr-status__text { top: -55px; right: 5px; }
.asr-card-body { padding: 16px; }
.asr-card-title { margin: 0 0 10px; font-size: 20px; color: var(--asr-text-grey); }
.asr-card-title a { color: inherit; text-decoration: none; }
.asr-card-title a:hover { opacity: 0.85; }
.asr-card-meta { margin: 6px 0; color: var(--asr-text-grey); }
.asr-card-excerpt { margin: 10px 0 16px; color: var(--asr-text-grey); }
.asr-card-content { margin: 10px 0 16px; color: var(--asr-text-grey); }
.asr-card-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* =============================================================================
   TEAM GRID (About Page)
   ============================================================================= */
.asr-team-grid { display: flex; gap: 20px; margin-top: 20px; flex-wrap: wrap; justify-content: center; }
.asr-team-card { background: #fff; border: 1px solid #eaeaea; border-radius: 16px; overflow: hidden; text-align: center; width: 320px; max-width: 100%; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.asr-team-link { display: block; color: inherit; text-decoration: none; position: relative; }
.asr-team-image { width: 100%; aspect-ratio: 1 / 1; background-size: cover; background-position: center; position: relative; filter: grayscale(100%); }
.asr-team-image::after { content: ""; position: absolute; inset: 0; background: var(--asr-electric-blue); opacity: 0; transition: opacity 0.25s ease; mix-blend-mode: multiply; }
.asr-team-card:hover { transform: translateY(-6px); box-shadow: 0 10px 24px rgba(3,80,150,0.28); border-color: var(--asr-electric-blue); }
.asr-team-card:hover .asr-team-image::after { opacity: 0; }
.asr-team-text { padding: 12px 16px 14px; }
.asr-team-card:hover .asr-team-text { background: var(--asr-electric-blue); border-bottom-left-radius: 16px; border-bottom-right-radius: 16px; }
.asr-team-name { margin: 0; font-size: 18px; color: var(--asr-text-grey); transition: color 0.25s ease; }
.asr-team-role { margin: 4px 0 0; font-size: 14px; color: var(--asr-text-grey); opacity: 0.9; transition: color 0.25s ease; }
/* Keep text colours grey on hover */
.asr-team-card:hover .asr-team-name,
.asr-team-card:hover .asr-team-role { color: var(--asr-text-grey); }

/* =============================================================================
   SINGLE TEAM PROFILE
   ============================================================================= */
.asr-team-profile { display: grid; grid-template-columns: 1fr 1.2fr; gap: 30px; align-items: start; }
.asr-team-profile__image { width: 100%; aspect-ratio: 4 / 5; background-size: cover; background-position: center; border-radius: 16px; box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
.asr-team-profile__name { margin: 0 0 6px; color: var(--asr-text-grey); }
.asr-team-profile__role { margin: 0 0 16px; color: var(--asr-text-grey); font-weight: 600; }
.asr-team-profile__contact { margin-top: 16px; display: grid; gap: 8px; }
.asr-contact-list { display: grid; gap: 28px; margin-top: 24px; }
.asr-contact-row { display: grid; grid-template-columns: 36px 1fr; align-items: start; gap: 18px; }
.asr-contact-icon-link { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; }
.asr-icon { width: 26px; height: 26px; fill: currentColor; }
.asr-contact-label { display: block; font-weight: 600; }
.asr-contact-value a { display: block; margin-top: 6px; line-height: 1.8; word-break: break-word; color: var(--asr-electric-blue); text-decoration: none; transition: color 0.2s ease; }
/* hover color identical to base; removed */
.asr-team-profile__contact-list a { color: var(--asr-electric-blue); text-decoration: none; }
.asr-team-profile__contact-list a:hover { text-decoration: underline; }
@media (max-width: 900px) { .asr-team-profile { grid-template-columns: 1fr; } .asr-team-profile__image { aspect-ratio: 16 / 9; } }

/* =============================================================================
   CLIENTS GRID
   ============================================================================= */
.asr-clients-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; margin-top: 20px; }
.asr-client-card { width: 220px; max-width: 100%; background: #fff; border: 1px solid #eaeaea; border-radius: 8px; overflow: hidden; display: flex; align-items: center; justify-content: center; padding: 26px; }
.asr-client-logo { width: 100%; aspect-ratio: 1 / 1; background-size: contain; background-position: center; background-repeat: no-repeat; filter: grayscale(0%); transition: filter 0.2s ease, transform 0.2s ease; }
.asr-client-card:hover .asr-client-logo { filter: grayscale(0%); transform: scale(1.03); }
.asr-client-logo--placeholder { background: #f2f2f2; }

/* =============================================================================
   CONTACT PAGE
   ============================================================================= */
.asr-contact-block { margin-top: 30px; }
.asr-contact-columns { display: grid; grid-template-columns: 1fr; gap: 18px; align-items: start; max-width: 470px; margin: 0 auto; }
.asr-contact-stack { display: grid; gap: 18px; }
.asr-contact-icons { display: grid; gap: 14px; }
.asr-contact-icon-link { display: flex; gap: 12px; align-items: center; color: var(--asr-text-grey); text-decoration: none; width: auto; height: auto; justify-content: center; }
.asr-contact-phones { display: grid; gap: 14px; }
.asr-social-row { display: flex; gap: 14px; align-items: center; justify-content: center; }
.asr-social-icon { color: var(--asr-text-grey); text-decoration: none; display: inline-flex; }
.asr-social-icon:hover { color: var(--asr-electric-blue); }
.asr-social-icon .asr-icon { width: 26px; height: 26px; fill: currentColor; }
.asr-contact-icon-link .asr-icon,
.asr-social-icon .asr-icon { font-size: 25px; }
.asr-contact-icon-link:hover { color: var(--asr-electric-blue); }
.asr-contact-icon-link .asr-icon { width: 26px; height: 26px; fill: currentColor; }
.asr-contact-number { white-space: nowrap; }
/* Ensure contact page social icons use grey, not blue */
.asr-contact-block .asr-social-row .asr-social-icon,
.asr-contact-block .asr-social-row .asr-social-icon:visited {
    color: var(--asr-text-grey) !important;
}
.asr-contact-block .asr-social-row .asr-social-icon .asr-icon,
.asr-contact-block .asr-social-row .asr-social-icon .fa-brands,
.asr-contact-block .asr-social-row .asr-social-icon .fa-solid {
    color: currentColor !important;
}
@media (max-width: 768px) {
  .asr-contact-columns { grid-template-columns: 1fr; }
}
.asr-contact-details h3 { margin-top: 0; color: var(--asr-text-grey); }
.asr-contact-details { text-align: center; color: var(--asr-text-grey); }
.asr-contact-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.asr-contact-list a { color: var(--asr-text-grey); text-decoration: none; }
.asr-contact-list a:hover { color: var(--asr-electric-blue); }

@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .custom-column {
        flex: 0 0 48%;
        max-width: 48%;
    }
    
    .property-filters {
        gap: 20px;
        padding: 20px;
    }
    
    .filter-group select {
        padding: 10px;
    }
}
