/*
Theme Name: Oxlot Capital
Theme URI: https://blogcto.com/projects/oxlot-capital
Author: Richard Seabrook (BlogCTO)
Author URI: https://blogcto.com
Description: A custom-built theme for Oxlot Capital
Requires at least: 6.1
Tested up to: 6.2
Requires PHP: 5.6
Version: 1.0
Text Domain: oxlot_capital
*/

/*----------------------------------------------------------------------------
	
	Fonts
	
----------------------------------------------------------------------------*/
@font-face {
    font-family: 'Savoy Roman';
    src: url('assets/fonts/Savoy-Roman.woff2') format('woff2');
}
@font-face {
    font-family: 'Sweet Sans MediumSC';
    src: url('assets/fonts/SweetSans-MediumSC.woff2') format('woff2');
}

/*----------------------------------------------------------------------------
	
	Variables
	
----------------------------------------------------------------------------*/
:root {
    --font-savoy-roman: 'Savoy Roman';
    --font-sweet-sans-mediumsc: 'Sweet Sans MediumSC';

    --theme-color-cream: #ccc7b2;
    --theme-color-brown: #3f2c20;
    --theme-color-dark-green: #2c3028;
}

/*----------------------------------------------------------------------------
	
	General
	
----------------------------------------------------------------------------*/
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    color: var(--theme-color-cream);
    background-color: var(--theme-color-brown);
    margin: 4px;
    padding-top: 42px;
    padding-bottom: 150px;
    padding-left: 18px;
    padding-right: 18px;
}
.aligncenter {
    margin-left: auto;
    margin-right: auto;
}

a {
    color: var(--theme-color-cream);
    text-decoration: none;
    transition: opacity 0.3s ease-in-out;
}
a:hover {
    opacity: 0.5;
}

@media screen and (min-width: 768px) {
    body {
        margin: 32px;
        padding-top: 60px;
        padding-left: 38px;
        padding-right: 38px;
    }
}

/*----------------------------------------------------------------------------
	
	Template Parts
	
----------------------------------------------------------------------------*/

/*----------------------------------------------------------------------------
	
	Maintenance Screen
	
----------------------------------------------------------------------------*/
.maintenance-screen {
    position: fixed;
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    z-index: 1350;

    color: var(--theme-color-cream);
    background-color: var(--theme-color-brown);

    font-family: var(--font-sweet-sans-mediumsc);
    font-size: 12px;
    letter-spacing: 3px;
    line-height: 22px;
}
.maintenance-screen .logo {
    width: 120px;
    height: auto;
}


/*----------------------------------------------------------------------------
	
	Loading Screen
	
----------------------------------------------------------------------------*/
@keyframes page-load-fade{
    from {
        opacity:0
    }
    to {
        opacity:1
    }
}

@keyframes page-load-fade-in-out {
	0% {
		opacity: 0;
	}
	50% {
		opacity: 1;
	}
	100% {
		opacity: 0;
	}
}

.loading-screen {
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    z-index: 1350;
    pointer-events: none;

    color: var(--theme-color-cream);
    background-color: var(--theme-color-brown);

    animation: page-load-fade 1s ease;
    animation-delay: 4s;
    animation-direction: reverse;
    animation-fill-mode: forwards;
}
.loading-screen .logo {
    width: 90px;
    height: auto;
    opacity: 0;

    animation: page-load-fade-in-out 3.5s ease;
    animation-delay: 1s;
    animation-fill-mode: forwards;
}

/*----------------------------------------------------------------------------
	
	Header
	
----------------------------------------------------------------------------*/
.header .logo {
    color: var(--theme-color-cream);
    opacity: 1;
}
.header .logo svg {
    max-width: 400px;
}
.header .mobile-menu-row .menu-nav {
    padding-top: 36px;
    padding-bottom: 36px;
}
nav.menu-nav ul.menu {
    list-style-type: none;
    padding: 0;
    margin: 0;
}
nav.menu-nav ul.menu li a {
    display: block;
    padding: 3px 0;
    font-family: var(--font-sweet-sans-mediumsc);
    font-size: 11px;
    letter-spacing: 3px;
}

@media screen and (min-width: 768px) {
    .header {
        margin-bottom: 64px;
    }
}
/*----------------------------------------------------------------------------
	
	Footer
	
----------------------------------------------------------------------------*/
.footer {
    margin-top: 120px;
}
.footer .logo {
    opacity: 1;
}
.footer .logo svg {
    width: 100%;
    max-width: 60px;
}
.footer .menu-nav .menu li a {
    padding: 8px 20px;
}
.footer .address-wrapper {
    margin-top: 72px;
    margin-bottom: 50px;
    
    font-family: var(--font-sweet-sans-mediumsc);
    font-size: 11px;
    letter-spacing: 3px;
}

@media screen and (min-width: 768px) {
    .footer .logo svg {
        margin: 0 48px;
    }
    .footer .address-wrapper {
        margin-top: 90px;
        font-size: 12px;
    }
}

/*----------------------------------------------------------------------------
	
	Front Page
	
----------------------------------------------------------------------------*/
.section__slideshow .carousel {
    margin-bottom: 40px;
}
.section__slideshow__content {
    font-family: var(--font-savoy-roman);
    font-size: 16px;
    line-height: 30px;
}
.section__slideshow__more-link {
    padding-bottom: 8px;
    border-bottom: 1px solid var(--theme-color-cream);

    font-family: var(--font-sweet-sans-mediumsc);
    font-size: 10px;
    letter-spacing: 3px;
    line-height: 22px;
}

.section__slideshow__property-title,
.section__slideshow__controls {
    font-family: var(--font-sweet-sans-mediumsc);
    font-size: 11px;
    letter-spacing: 3px;
    line-height: 22px;
}
.section__slideshow__controls-sep {
    position: relative;
    display: inline-block;
    width: 45px;
    height: 1px;
    margin: 0 20px;
    background-color: var(--theme-color-cream);
    top: -3px;
}


.section__featured-properties .section__heading {
    font-family: var(--font-sweet-sans-mediumsc);
    font-size: 16px;
    letter-spacing: 3px;
    line-height: 22px;
}
.section__featured-properties .section__link {
    border-bottom: 1px solid var(--theme-color-cream);

    font-family: var(--font-sweet-sans-mediumsc);
    font-size: 10px;
    letter-spacing: 3px;
    line-height: 22px;
}

@media screen and (min-width: 768px) {
    .section__slideshow__content {
        font-size: 22px;
        line-height: 40px;
    }
}


/*----------------------------------------------------------------------------
	
	Page - About
	
----------------------------------------------------------------------------*/
.page-about .entry-content {
    position: relative;
}
.page-about .background-icon-wrapper {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}
.page-about .background-icon-wrapper svg {
    width: 100%;
    max-width: 550px;
    opacity: 0.02;
}

/*----------------------------------------------------------------------------
	
	Card - Property
	
----------------------------------------------------------------------------*/
.property-card {
    position: relative;
}
.property-card .property-card-inner {
    color: var(--theme-color-cream);
}
.property-card .property-card-inner .property-card__image {
    aspect-ratio: 3/2;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: auto;
    transition: filter 0.3s ease-in-out;
}
.property-card .property-card-inner:hover .property-card__image {
    filter: brightness(1.1);
}
.property-card .property-card-inner .property-card__header .property-card__title,
.property-card .property-card-inner .property-card__header .property-card__subtitle {
    display: inline;

    font-family: var(--font-sweet-sans-mediumsc);
    letter-spacing: 3px;
    line-height: 22px;
}
.property-card .property-card-inner .property-card__header .property-card__title {
    margin-right: 16px;
    font-size: 16px;
}
.property-card .property-card-inner .property-card__header .property-card__subtitle {
    font-size: 10px;
    white-space: nowrap;
}
.property-card .property-card-inner .property-card__content {
    font-family: var(--font-savoy-roman);
    font-size: 16px;
    line-height: 30px;
}
.property-card .property-card-inner .link {
    display: inline-block;

    font-family: var(--font-sweet-sans-mediumsc);
    font-size: 10px;
    letter-spacing: 3px;
    line-height: 22px;

    opacity: 1;
}
.property-card .property-card-inner .link::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
}
.property-card .property-card-inner .link span {
    display: inline-block;
    position: relative;
    z-index: 2;

    padding-bottom: 2px;
    border-bottom: 1px solid var(--theme-color-cream);

    color: var(--theme-color-cream);

    transition: opacity 0.3s ease-in-out;
}
.property-card .property-card-inner .link span:hover {
    opacity: 0.5;
}

/*----------------------------------------------------------------------------
	
	Archive - Properties
	
----------------------------------------------------------------------------*/
.property-archive__listings .component__property-grid {
    --bs-gutter-x: 3rem;
}
.property-archive__heading {
    font-family: var(--font-sweet-sans-mediumsc);
    font-size: 16px;
    letter-spacing: 3px;
    line-height: 22px;
}
.property-archive__heading-wrapper.filters-open {
    border-bottom: 1px solid var(--theme-color-cream);
}
.property-archive__filters-toggle {
    color: var(--theme-color-cream);
}
.property-archive__filters-toggle[aria-expanded="false"] .open,
.property-archive__filters-toggle[aria-expanded="true"] .close {
    display: block;
}
.property-archive__filters-toggle[aria-expanded="true"] .open,
.property-archive__filters-toggle[aria-expanded="false"] .close {
    display: none;
}
.property-archive__filters {
    margin-top: 12px;
}
.property-archive__filters ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}
.property-archive__filters ul li a {
    display: block;
    padding: 3px 0;
    border-bottom: 1px solid transparent;
    font-family: var(--font-sweet-sans-mediumsc);
    font-size: 11px;
    letter-spacing: 3px;
    white-space: nowrap;
    transition: color 0.3s ease-in-out, border-color 0.3s ease-in-out;
}
.property-archive__filters ul li a.active {
    color: var(--theme-color-dark-green);
}

@media screen and (min-width: 992px) {
    .property-archive__heading-wrapper.filters-open {
        border-bottom: none;
    }
    .property-archive__filters {
        margin-top: 0;
    }
    .property-archive__filters ul li a {
        border-bottom: 1px solid transparent;
    }
    .property-archive__filters ul li a.active {
        color: var(--theme-color-cream);
        border-color: var(--theme-color-cream);
    }
}

/*----------------------------------------------------------------------------
	
	Single - Property
	
----------------------------------------------------------------------------*/
.single-property .property-images figure {
    margin-bottom: 16px;
}
.single-property .property-images figure figcaption {
    color: var(--theme-color-cream);
    font-family: var(--font-sweet-sans-mediumsc);
    font-size: 11px;
    letter-spacing: 3px;
    line-height: 28px;
}

.single-property .property-details .entry-header .subheading {
    font-family: var(--font-sweet-sans-mediumsc);
    font-size: 10px;
    letter-spacing: 3px;
    line-height: 22px;
}
.single-property .property-details .entry-header .entry-title {
    margin-bottom: 40px;

    font-family: var(--font-sweet-sans-mediumsc);
    font-size: 16px;
    letter-spacing: 3px;
    line-height: 22px;
}
.single-property .property-details .property-callouts {
    padding-left: 11px;
    margin-bottom: 40px;
}
.single-property .property-details .property-callouts .property-callout {
    font-family: var(--font-sweet-sans-mediumsc);
    font-size: 11px;
    letter-spacing: 3px;
    line-height: 22px;
}
.single-property .property-details .property-contact {
    margin-bottom: 60px;
}
.single-property .property-details .property-contact .property-contact-link {
    display: inline-block;
    border: 1px solid var(--theme-color-cream);
    padding: 11px 30px;

    font-family: var(--font-sweet-sans-mediumsc);
    font-size: 11px;
    letter-spacing: 3px;
    line-height: 11px;
}
.single-property .property-details .property-current-tenants {
    margin-bottom: 80px;
}
.single-property .property-details .property-current-tenants .property-current-tenants-heading {
    margin-bottom: 24px;

    font-family: var(--font-sweet-sans-mediumsc);
    font-size: 11px;
    letter-spacing: 3px;
    line-height: 22px;
}
.single-property .property-details .property-current-tenants .property-current-tenant {
    color: var(--theme-color-dark-green);
    background-color: var(--theme-color-cream);
    margin-bottom: 12px;
    padding: 15px;

    font-family: var(--font-sweet-sans-mediumsc);
    font-size: 11px;
    letter-spacing: 3px;
    line-height: 22px;
    text-align: center;
}
.single-property .property-details .property-current-tenants .property-current-tenant.format-outline {
    background-color: var(--theme-color-brown);
    color: var(--theme-color-cream);
    border: 1px solid var(--theme-color-cream);
}
.single-property .property-details .property-current-tenants .property-current-tenant.format-secondary {
    background-color: #888A76;
}
.single-property .property-details .property-current-tenants .property-current-tenant.format-tertiary {
    background-color: #5E6552;
}

@media screen and (min-width: 768px) {
    .single-property .property-images figure {
        margin-bottom: 32px;
    }
    .single-property .property-details {
        margin-top: 28px;
    }
}