/*
Theme Name: Aarete
Theme URI: https://apusthemes.com/apushome
Author: ApusTheme
Author URI: https://apusthemes.com/
Description: Apushome is clean theme, it's used Apus Framework.
Version: 1.7.5
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready
Text Domain: apushome

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/
img{
    max-width: 100%;
    height:auto;
 }
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}

.wp-caption {
    background: #fff;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.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;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000; /* Above WP toolbar. */
}
.gallery-caption {
    box-sizing: border-box;
}
.bypostauthor{
    box-sizing: border-box;
}

.tma-property-archive-header,
.tma-single-property__header,
.tma-single-property__details,
.tma-single-property__section {
    background: #fff;
    border: 1px solid #e8ecf2;
    border-radius: 14px;
    padding: 28px;
}

.tma-property-archive-header {
    margin-bottom: 28px;
}

.tma-property-archive-title,
.tma-single-property__title {
    margin: 0 0 10px;
}

.tma-property-shell #main-content,
.tma-property-shell .site-main {
    float: none;
    margin: 0 auto;
    max-width: 1240px;
    width: 100%;
}

.tma-property-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.tma-property-card {
    background: #fff;
    border: 1px solid #e8ecf2;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 14px 30px rgba(44, 57, 76, 0.08);
}

.tma-property-card__image {
    background: #edf2f7;
    display: block;
    position: relative;
}

.tma-property-card__image img,
.tma-single-property__gallery-main img {
    display: block;
    height: auto;
    width: 100%;
}

.tma-property-card__image-placeholder {
    color: #5c6675;
    display: block;
    padding: 80px 20px;
    text-align: center;
}

.tma-property-badge {
    background: rgba(31, 43, 61, 0.88);
    backdrop-filter: blur(8px);
    border-radius: 999px;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    left: 16px;
    letter-spacing: 0.04em;
    padding: 8px 12px;
    position: absolute;
    text-transform: uppercase;
    top: 16px;
}

.tma-property-badge--static {
    display: inline-block;
    left: auto;
    position: static;
    top: auto;
}

.tma-property-card__body {
    padding: 20px;
}

.tma-property-card__top,
.tma-single-property__header {
    align-items: flex-start;
    display: flex;
    gap: 20px;
    justify-content: space-between;
}

.tma-property-card__price,
.tma-single-property__price {
    color: #b8871b;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.1;
}

.tma-property-card__type,
.tma-single-property__type {
    color: #6e7887;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.tma-property-card__title {
    font-size: 24px;
    margin: 12px 0 10px;
}

.tma-property-card__title a {
    color: #1f2b3d;
}

.tma-property-card__location,
.tma-single-property__location {
    color: #5c6675;
    margin-bottom: 14px;
}

.tma-property-card__meta {
    color: #2c394c;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 14px;
}

.tma-property-card__excerpt {
    color: #5c6675;
}

.tma-single-property__article {
    display: grid;
    gap: 28px;
}

.tma-single-property__layout {
    align-items: start;
    display: grid;
    gap: 28px;
    grid-template-columns: minmax(0, 1.7fr) minmax(300px, 0.9fr);
}

.tma-single-property__main,
.tma-single-property__sidebar {
    display: grid;
    gap: 28px;
}

.tma-single-property__gallery {
    display: grid;
    gap: 16px;
}

.tma-single-property__gallery-main {
    background: #fff;
    border: 1px solid #e8ecf2;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

.tma-single-property__gallery-strip {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
}

.tma-single-property__gallery-thumb {
    background: #fff;
    border: 1px solid #e8ecf2;
    border-radius: 12px;
    cursor: pointer;
    overflow: hidden;
    padding: 0;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.tma-single-property__gallery-thumb.is-active {
    border-color: #b8871b;
    box-shadow: 0 10px 20px rgba(184, 135, 27, 0.22);
    transform: translateY(-2px);
}

.tma-single-property__gallery-thumb img {
    display: block;
    height: 100px;
    object-fit: cover;
    width: 100%;
}

.tma-single-property__section-title {
    font-size: 26px;
    margin: 0 0 18px;
}

.tma-single-property__facts {
    display: grid;
    gap: 14px;
    grid-template-columns: 1fr;
}

.tma-single-property__facts > div {
    background: #f8fafc;
    border-radius: 12px;
    padding: 14px 16px;
}

.tma-single-property__agent-list {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.tma-single-property__agent-card {
    align-items: center;
    background: #f8fafc;
    border-radius: 14px;
    display: flex;
    gap: 16px;
    padding: 16px;
}

.tma-single-property__agent-card a {
    color: #1f2b3d;
}

.tma-single-property__agent-image img {
    border-radius: 50%;
    height: 72px;
    object-fit: cover;
    width: 72px;
}

.tma-single-property__agent-name {
    font-weight: 700;
    margin-bottom: 4px;
}

.tma-single-property__content h2 {
    font-size: 32px;
    margin-top: 0;
}

.tma-single-property__content p:last-child {
    margin-bottom: 0;
}

@media (max-width: 991px) {
    .tma-single-property__layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .tma-property-card__top,
    .tma-single-property__header {
        flex-direction: column;
    }

    .tma-property-archive-header,
    .tma-single-property__header,
    .tma-single-property__details,
    .tma-single-property__section {
        padding: 20px;
    }
}
