.mlsidx-search {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    width: min(700px, 100%);
    margin: 0 auto;
    padding: 24px;
    border: 1px solid #d0d7df;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.18);
}

.mlsidx-search-shell {
    width: min(700px, 100%);
    margin: 0 auto;
}

.mlsidx-search-shell .mlsidx-search {
    width: 100%;
}

.mlsidx-search label {
    display: grid;
    gap: 7px;
    color: #253142;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.mlsidx-search select {
    width: 100%;
    min-height: 36px;
    border: 1px solid #c2cbd6;
    border-radius: 4px;
    padding: 7px 12px;
    background: #fff;
    color: #1f2937;
    font-size: 15px;
    text-transform: none;
}

.mlsidx-search-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    align-items: end;
}

.mlsidx-price-row {
    grid-template-columns: 1fr 1fr;
}

.mlsidx-search button {
    width: 100%;
    min-height: 41px;
    border: 0;
    border-radius: 4px;
    background: #59b958;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.mlsidx-search button:hover,
.mlsidx-search button:focus {
    background: #41a840;
}

.mlsidx-property-types {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin: 0;
    padding: 0;
    border: 0;
}

.mlsidx-property-types legend {
    width: 100%;
    margin-bottom: 2px;
    color: #253142;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.mlsidx-property-types label {
    display: inline-flex;
    grid-template-columns: none;
    gap: 7px;
    align-items: center;
    color: #2f3744;
    font-size: 15px;
    font-weight: 400;
    text-transform: none;
}

.mlsidx-property-types input {
    width: 16px;
    height: 16px;
    margin: 0;
}

.mlsidx-results-head {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    max-width: 760px;
    margin: 18px auto 26px;
}

.mlsidx-results-head p {
    margin: 0;
    color: #303846;
    font-size: 16px;
}

.mlsidx-sort label {
    display: inline-flex;
    gap: 9px;
    align-items: center;
    color: #111827;
    font-size: 14px;
}

.mlsidx-sort select {
    min-width: 150px;
    height: 27px;
    border: 1px solid #bfc7d1;
    border-radius: 4px;
    background: #fff;
    font-size: 14px;
}

.mlsidx-grid {
    max-width: 760px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.sra-listing-grid .sra-listing-row,
.sra-listing-row {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 16px;
    align-items: flex-start;
    padding: 16px 0;
    border-bottom: 1px solid #e8e8e8;
    background: #fff;
}

.sra-listing-row:last-child {
    border-bottom: none;
}

.sra-listing-photo {
    position: relative;
    flex: 0 0 180px !important;
    width: 180px !important;
}

.sra-listing-photo a,
.sra-listing-address a {
    color: inherit;
    text-decoration: none;
}

.mlsidx-card-image {
    width: 180px;
    height: 135px;
    object-fit: cover;
    border-radius: 4px;
    display: block;
}

.mlsidx-image-fallback {
    background: #eef2f6;
    object-fit: cover;
}

.mlsidx-card-body {
    flex: 1 !important;
    min-width: 0;
}

.sra-listing-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.sra-listing-address {
    flex: 1;
    margin: 0 0 4px;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
}

.sra-listing-address a {
    color: #2271b1;
}

.sra-listing-address a:hover {
    color: #135e96;
    text-decoration: underline;
}

/* City, ST Zip shown to the right of the street address */
.sra-listing-citystate {
    margin-left: 8px;
    font-size: 0.8em;
    font-weight: 400;
    color: #6b7280;
    text-transform: none;
    white-space: nowrap;
}

.sra-listing-side {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.mlsidx-card-favorite {
    display: inline-flex;
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    align-items: center;
    justify-content: center;
    border: 1px solid #d7d7d7;
    border-radius: 50%;
    padding: 0;
    background: #fff;
    color: #64748b;
    cursor: pointer;
}

.mlsidx-card-favorite:hover,
.mlsidx-card-favorite:focus {
    border-color: #aeb6c0;
    color: #374151;
    outline: none;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
}

.mlsidx-card-favorite svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.mlsidx-favorite-active {
    border-color: #d92d20;
    color: #d92d20;
}

.mlsidx-favorite-active svg {
    fill: currentColor;
}

.sra-listing-excerpt {
    margin: 8px 0;
    color: #333;
    font-size: 14px;
    line-height: 1.45;
}

.mlsidx-card-price {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    justify-content: flex-end;
    color: #000;
    font-size: 23px;
    font-weight: 700;
    line-height: 1.2;
    text-align: right;
}

.mlsidx-price-trend {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    margin-top: 2px;
    font-size: 0.82em;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}

.mlsidx-price-trend-arrow {
    font-size: 0.9em;
}

/* Increase → red, Decrease → green */
.mlsidx-price-trend-up {
    color: #e11919;
}

.mlsidx-price-trend-down {
    color: #159947;
}

.mlsidx-card-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 8px 0 0;
}

.mlsidx-fact-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    min-width: 48px;
    padding: 3px 10px;
    border: 1px solid #d0d0d0;
    border-radius: 3px;
    background: #fafafa;
    text-align: center;
}

.sra-stat-value {
    color: #222;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
}

.sra-stat-label {
    color: #777;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.4px;
    line-height: 1.2;
    text-transform: uppercase;
}

.sra-listing-attribution {
    margin: 6px 0 0;
    color: #888;
    font-size: 13px;
    line-height: 1.35;
}

.mlsidx-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    max-width: 760px;
    margin: 22px auto 10px;
}

.mlsidx-page-link,
.mlsidx-page-ellipsis {
    display: inline-flex;
    min-width: 34px;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    border: 1px solid #ccd3dc;
    border-radius: 4px;
    padding: 6px 10px;
    background: #fff;
    color: #126db5;
    font-size: 14px;
    line-height: 1;
    text-decoration: none;
}

.mlsidx-page-link:hover {
    border-color: #126db5;
    background: #f3f8fc;
    color: #0d5d9e;
}

.mlsidx-page-current {
    border-color: #126db5;
    background: #126db5;
    color: #fff;
    font-weight: 700;
}

.mlsidx-page-prev,
.mlsidx-page-next {
    min-width: 82px;
}

.mlsidx-page-ellipsis {
    border-color: transparent;
    background: transparent;
    color: #667085;
}

.mlsidx-load-more-wrap {
    max-width: 760px;
    margin: 24px auto 12px;
    text-align: center;
}

.mlsidx-load-more {
    display: inline-flex;
    min-height: 42px;
    min-width: 150px;
    align-items: center;
    justify-content: center;
    border: 1px solid #126db5;
    border-radius: 4px;
    padding: 10px 18px;
    background: #126db5;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
}

.mlsidx-load-more:hover:not(:disabled) {
    background: #0d5d9e;
}

.mlsidx-load-more:disabled {
    cursor: wait;
    opacity: 0.72;
}

.mlsidx-load-more-loading::after {
    content: "...";
}

.mlsidx-load-more-message {
    margin: 8px 0 0;
    color: #667085;
    font-size: 13px;
}

.mlsidx-load-more-error {
    color: #b42318;
}

.mlsidx-favorites-message {
    max-width: 760px;
    margin: 18px auto;
    color: #667085;
    font-size: 15px;
}

.mlsidx-favorites-error {
    color: #b42318;
}

.mlsidx-detail {
    max-width: 980px;
    margin: 0 auto;
    color: #1f2933;
}

.mlsidx-property-hero {
    padding: 8px 0 18px;
    border-bottom: 1px solid #e0e0e0;
}

.mlsidx-back {
    display: inline-block;
    margin-bottom: 10px;
    color: #5b6673;
    font-size: 13px;
    text-decoration: none;
}

.mlsidx-back::before {
    content: "< ";
}

.mlsidx-property-hero h1 {
    margin: 0 0 14px;
    color: #222;
    font-size: 30px;
    font-weight: 500;
    line-height: 1.22;
}

.mlsidx-hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    align-items: end;
    margin-bottom: 14px;
}

.mlsidx-hero-stats > strong {
    margin-right: 12px;
    color: #111;
    font-size: 30px;
    line-height: 1;
}

.mlsidx-hero-stats span {
    display: grid;
    min-width: 54px;
    text-align: center;
}

.mlsidx-hero-stats span strong {
    color: #111;
    font-size: 25px;
    line-height: 1;
}

.mlsidx-hero-stats span small {
    color: #5e6a76;
    font-size: 13px;
    font-weight: 700;
    text-transform: none;
}

.mlsidx-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.mlsidx-actions a {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    border: 1px solid #ccd3dc;
    border-radius: 3px;
    padding: 7px 12px;
    background: #f8fafc;
    color: #32465a;
    font-size: 13px;
    text-decoration: none;
}

.mlsidx-detail-gallery {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 6px;
    margin: 18px 0 8px;
}

.mlsidx-detail-gallery button {
    display: block;
    min-width: 0;
    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
}

.mlsidx-detail-gallery img {
    width: 100%;
    height: 92px;
    object-fit: cover;
    border-radius: 2px;
}

.mlsidx-gallery-links {
    display: flex;
    gap: 16px;
    margin: 8px 0 18px;
}

.mlsidx-gallery-links a {
    color: #126db5;
    font-size: 14px;
    text-decoration: none;
}

.mlsidx-quickfacts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid #dbe1e8;
    border-left: 1px solid #dbe1e8;
    margin: 12px 0 16px;
}

.mlsidx-quickfacts div {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3px;
    min-height: 62px;
    border-right: 1px solid #dbe1e8;
    border-bottom: 1px solid #dbe1e8;
    padding: 10px 12px;
}

.mlsidx-quickfacts dt {
    color: #566473;
    font-size: 13px;
}

.mlsidx-quickfacts dd {
    margin: 0;
    color: #111827;
    font-size: 15px;
    font-weight: 700;
}

.mlsidx-actions-secondary {
    margin: 8px 0 20px;
}


.mlsidx-detail-section {
    padding: 22px 0;
    border-top: 1px solid #e5e7eb;
}

.mlsidx-detail-section h2 {
    margin: 0 0 14px;
    color: #30343b;
    font-size: 20px;
    line-height: 1.25;
}

.mlsidx-detail-section p {
    margin: 0;
    color: #333;
    font-size: 15px;
    line-height: 1.68;
}

.mlsidx-listed-by,
.mlsidx-source {
    margin: 12px 0 0;
    color: #667085;
    font-size: 14px;
}

.mlsidx-source {
    margin-bottom: 10px;
}

.mlsidx-map-embed {
    height: 310px;
    overflow: hidden;
    border: 1px solid #d8dee7;
    border-radius: 4px;
    background: #e8f2ee;
}

.mlsidx-map-embed iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.mlsidx-map-link {
    display: inline-block;
    margin-top: 8px;
    color: #126db5;
    font-size: 14px;
}

.mlsidx-feature-groups {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 34px;
}

.mlsidx-feature-groups h3 {
    margin: 0 0 10px;
    color: #334155;
    font-size: 18px;
}

.mlsidx-feature-list {
    display: grid;
    gap: 0;
    margin: 0;
}

.mlsidx-feature-list div {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 12px;
    padding: 8px 0;
    border-top: 1px solid #edf1f5;
}

.mlsidx-feature-list dt {
    font-weight: 700;
    color: #374151;
}

.mlsidx-feature-list dd {
    margin: 0;
    color: #4b5563;
}

.mlsidx-listing-price strong {
    display: block;
    margin-bottom: 8px;
    color: #111827;
    font-size: 26px;
}

.mlsidx-mortgage .mlsidx-calculator {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    align-items: end;
}

.mlsidx-calculator label {
    display: grid;
    gap: 5px;
    color: #566473;
    font-size: 13px;
}

.mlsidx-calculator input {
    width: 100%;
    min-height: 34px;
    border: 1px solid #cbd5df;
    padding: 6px 8px;
}

.mlsidx-calculator button {
    min-height: 34px;
    border: 0;
    border-radius: 3px;
    background: #126db5;
    color: #fff;
    font-weight: 700;
}

.sra-single-wrapper {
    max-width: 960px;
}

.sra-back-link {
    margin: 0 0 16px;
    font-size: 14px;
}

.sra-back-link a {
    color: #2271b1;
    text-decoration: none;
}

.sra-back-link a:hover {
    text-decoration: underline;
}

.sra-single-topbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.sra-single-topbar .sra-back-link {
    margin: 0;
}

.sra-single-gallery {
    position: relative;
    margin-bottom: 24px;
}

.sra-gallery-main {
    position: relative;
    margin-bottom: 8px;
    overflow: hidden;
    border-radius: 6px;
    background: #000;
}

.sra-main-photo {
    display: block;
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    cursor: pointer;
}

.sra-gallery-arrow {
    position: absolute;
    top: 50%;
    z-index: 10;
    display: flex;
    width: 40px;
    height: 60px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 32px;
    line-height: 1;
    transform: translateY(-50%);
    cursor: pointer;
}

.sra-gallery-arrow:hover {
    background: rgba(0, 0, 0, 0.75);
}

.sra-gallery-prev {
    left: 8px;
}

.sra-gallery-next {
    right: 8px;
}

.sra-gallery-counter {
    position: absolute;
    right: 12px;
    bottom: 8px;
    border-radius: 12px;
    padding: 3px 10px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 13px;
}

.sra-fullscreen-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    display: flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
}

.sra-fullscreen-btn:hover {
    background: rgba(0, 0, 0, 0.7);
}

.sra-gallery-thumbs {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.sra-thumb {
    width: 80px;
    height: 60px;
    flex-shrink: 0;
    border: 2px solid transparent;
    border-radius: 3px;
    object-fit: cover;
    opacity: 0.7;
    cursor: pointer;
}

.sra-thumb:hover,
.sra-thumb-active {
    opacity: 1;
}

.sra-thumb-active {
    border-color: #2271b1;
}

.mlsidx-ghl-locked:not(.mlsidx-ghl-unlocked) .sra-single-gallery {
    overflow: hidden;
    border-radius: 6px;
}

.mlsidx-ghl-locked:not(.mlsidx-ghl-unlocked) .sra-single-gallery img,
.mlsidx-ghl-locked:not(.mlsidx-ghl-unlocked) .sra-gallery-main,
.mlsidx-ghl-locked:not(.mlsidx-ghl-unlocked) .sra-main-photo {
    filter: blur(9px) !important;
    pointer-events: none !important;
    user-select: none !important;
}

.mlsidx-ghl-locked:not(.mlsidx-ghl-unlocked) .sra-gallery-arrow,
.mlsidx-ghl-locked:not(.mlsidx-ghl-unlocked) .sra-fullscreen-btn,
.mlsidx-ghl-locked:not(.mlsidx-ghl-unlocked) .sra-gallery-thumbs {
    pointer-events: none;
}

.mlsidx-view-account-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 18px;
    border: 1px solid #d9e7f3;
    border-radius: 6px;
    padding: 14px 16px;
    background: #f8fbff;
}

.mlsidx-view-account-panel strong {
    display: block;
    margin: 0 0 4px;
    color: #111827;
    font-size: 16px;
}

.mlsidx-view-account-panel p {
    margin: 0;
    color: #526071;
    font-size: 14px;
    line-height: 1.45;
}

.mlsidx-ghl-unlocked .mlsidx-view-account-panel {
    display: none;
}

.sra-gallery-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
    padding: 16px 0;
}

.sra-gallery-signin-btn {
    padding: 10px 20px;
    border: 1px solid #1a5f7a;
    border-radius: 4px;
    background: #1a5f7a;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.sra-gallery-signin-btn:hover {
    background: #14505a;
}

.sra-gallery-account-btn {
    padding: 10px 20px;
    border: 1px solid #1a5f7a;
    border-radius: 4px;
    background: #fff;
    color: #1a5f7a;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.sra-gallery-account-btn:hover {
    background: #1a5f7a;
    color: #fff;
}

.mlsidx-ghl-modal[hidden] {
    display: none;
}

.mlsidx-ghl-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(15, 23, 42, 0.58);
}

.mlsidx-ghl-modal-panel {
    position: relative;
    width: min(100%, 430px);
    border-radius: 8px;
    padding: 24px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.28);
}

.mlsidx-ghl-close {
    position: absolute;
    top: 10px;
    right: 12px;
    border: 0;
    background: transparent;
    color: #667085;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

.mlsidx-account-control {
    display: inline-grid;
    gap: 4px;
}

.mlsidx-account-signout-only {
    display: none;
}

.mlsidx-account-signout-only.mlsidx-account-signed-in {
    display: inline-grid;
}

.mlsidx-account-button {
    min-height: 38px;
    border: 1px solid #126db5;
    border-radius: 4px;
    padding: 8px 14px;
    background: #126db5;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.mlsidx-account-button:hover,
.mlsidx-account-button:focus {
    background: #0d5d9e;
}

.mlsidx-account-signed-in .mlsidx-account-button {
    border-color: #d0d5dd;
    background: #fff;
    color: #344054;
}

.mlsidx-account-status {
    color: #667085;
    font-size: 12px;
}

.mlsidx-ghl-modal-panel h2 {
    margin: 0 0 8px;
    color: #111827;
    font-size: 24px;
    font-weight: 700;
}

.mlsidx-ghl-modal-panel p {
    margin: 0 0 16px;
    color: #4b5563;
    font-size: 14px;
    line-height: 1.5;
}

.mlsidx-ghl-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin-bottom: 16px;
    border-radius: 6px;
    padding: 4px;
    background: #eef2f6;
}

.mlsidx-ghl-tab {
    min-height: 36px;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: #526071;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.mlsidx-ghl-tab-active {
    background: #fff;
    color: #111827;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.12);
}

.mlsidx-ghl-form {
    display: grid;
    gap: 12px;
}

.mlsidx-ghl-form label[hidden] {
    display: none;
}

.mlsidx-ghl-form label {
    display: grid;
    gap: 5px;
    color: #243244;
    font-size: 13px;
    font-weight: 700;
}

.mlsidx-ghl-form input {
    width: 100%;
    min-height: 40px;
    border: 1px solid #cbd5df;
    border-radius: 4px;
    padding: 8px 10px;
    font-size: 15px;
    box-sizing: border-box;
}

.mlsidx-tcpa-consent {
    margin: -2px 0 2px;
    color: #667085;
    font-size: 12px;
    line-height: 1.45;
}

.mlsidx-ghl-form button {
    min-height: 42px;
    border: 0;
    border-radius: 4px;
    background: #126db5;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.mlsidx-ghl-form button:disabled {
    cursor: wait;
    opacity: 0.72;
}

.mlsidx-ghl-message {
    min-height: 18px;
    margin: 0;
    color: #166534;
    font-size: 13px;
}

.mlsidx-ghl-message-error {
    color: #b42318;
}

.sra-single-header {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: flex-start;
    margin-bottom: 20px;
}

.sra-single-price {
    color: #1a1a1a;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.1;
    white-space: nowrap;
}

.sra-single-address-block {
    flex: 1;
    min-width: 0;
}

.sra-single-address {
    margin: 0 0 10px;
    color: #222;
    font-size: 21px;
    font-weight: 600;
    line-height: 1.3;
}

.sra-single-badges,
.sra-feature-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sra-badge {
    border: 1px solid #d0dae4;
    border-radius: 4px;
    padding: 4px 12px;
    background: #f0f4f8;
    color: #333;
    font-size: 14px;
    font-weight: 600;
}

.sra-single-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.sra-icon-action {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border: 2px solid #d7d7d7;
    border-radius: 50%;
    padding: 0;
    background: #fff;
    color: #6b7280;
    cursor: pointer;
    transition: border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.sra-icon-action:hover,
.sra-icon-action:focus,
.sra-share-copied {
    border-color: #aeb6c0;
    color: #374151;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
    outline: none;
}

.sra-icon-action svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.sra-favorite-btn svg {
    fill: none;
}

.sra-icon-action.mlsidx-favorite-active {
    border-color: #d92d20;
    color: #d92d20;
}

.mlsidx-card-favorite.mlsidx-favorite-active svg,
.sra-icon-action.mlsidx-favorite-active svg {
    fill: currentColor;
}

.sra-feature-badges {
    margin-bottom: 24px;
}

.sra-feature-badge {
    border: 1px solid #c3e0c3;
    border-radius: 4px;
    padding: 4px 12px;
    background: #eaf4ea;
    color: #2d6a2d;
    font-size: 13px;
}

.sra-description-section,
.sra-map-section,
.sra-facts-section,
.sra-price-section {
    margin-bottom: 28px;
}

.sra-description-section h2,
.sra-map-section h2,
.sra-facts-section h2,
.sra-price-section h2 {
    margin: 0 0 10px;
    color: #222;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
}

.sra-description-text {
    margin: 0;
    color: #444;
    font-size: 15px;
    line-height: 1.7;
}

.sra-key-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 24px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 16px 20px;
    background: #f8f9fa;
}

.sra-key-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.sra-key-stat-value {
    color: #222;
    font-size: 16px;
    font-weight: 700;
}

.sra-key-stat-label {
    color: #777;
    font-size: 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.sra-listed-by {
    margin: 0 0 16px;
    color: #999;
    font-size: 12px;
}

.sra-listed-by strong {
    color: inherit;
    font-weight: 400;
}

.sra-attr-sep {
    margin: 0 4px;
    color: #bbb;
}

.sra-source-attribution {
    color: #999;
    font-size: 12px;
}

.sra-map-wrapper {
    overflow: hidden;
    border: 1px solid #ddd;
    border-radius: 6px;
}

.sra-map-wrapper .mlsidx-map-embed {
    border: 0;
    border-radius: 0;
}

.sra-map-wrapper .mlsidx-map-link {
    margin: 8px 12px 12px;
}

.sra-facts-section h2 {
    margin-bottom: 16px;
    border-bottom: 2px solid #e8e8e8;
    padding-bottom: 8px;
}

.sra-facts-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.sra-facts-group {
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 16px;
    background: #f9fafb;
}

.sra-facts-group h3 {
    margin: 0 0 12px;
    color: #555;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.sra-facts-list {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 16px;
    row-gap: 6px;
    margin: 0;
}

.sra-facts-list dt,
.sra-facts-list dd {
    font-size: 14px;
}

.sra-facts-list dt {
    color: #555;
    font-weight: 600;
}

.sra-facts-list dd {
    margin: 0;
    color: #333;
}

.sra-price-display {
    margin: 0 0 4px;
    color: #1a1a1a;
    font-size: 29px;
    font-weight: 700;
}

.sra-modification-date {
    margin: 0;
    color: #888;
    font-size: 13px;
}

.mlsidx-notice {
    margin-top: 28px;
    border-top: 1px solid #e2e8f0;
    padding-top: 16px;
    color: #475569;
    font-size: 13px;
}

.mlsidx-error {
    border: 1px solid #f3a3a3;
    background: #fff1f1;
    padding: 12px;
    color: #8a1616;
}

@media (max-width: 900px) {
    .mlsidx-quickfacts,
    .mlsidx-feature-groups,
    .mlsidx-feature-list,
    .mlsidx-mortgage .mlsidx-calculator,
    .sra-facts-grid {
        grid-template-columns: 1fr;
    }

    .sra-single-header {
        flex-direction: column;
        gap: 8px;
    }

    .sra-single-price {
        font-size: 26px;
    }

    .sra-thumb {
        width: 60px;
        height: 45px;
    }

    .mlsidx-search {
        padding: 18px;
    }

    .mlsidx-search-row,
    .mlsidx-price-row {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .mlsidx-price-row > span {
        display: none;
    }

    .sra-listing-grid .sra-listing-row,
    .sra-listing-row {
        flex-direction: column !important;
        flex-wrap: wrap !important;
        gap: 10px;
    }

    .sra-listing-photo {
        flex: unset !important;
        width: 100% !important;
    }

    .mlsidx-card-image {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 10;
    }

    .mlsidx-card-price {
        min-width: 0;
        justify-content: flex-start;
        text-align: left;
    }

    .sra-listing-header {
        flex-direction: column;
        gap: 6px;
    }

    .mlsidx-card-side {
        justify-items: start;
    }

    .mlsidx-card-facts {
        justify-content: flex-start;
        max-width: none;
    }

    .mlsidx-fact-badge {
        min-width: 78px;
    }

    .mlsidx-pagination {
        max-width: none;
    }

    .mlsidx-detail-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-height: none;
    }
}




/* ─── OTP Auth Modal ─────────────────────────────────────────────────────── */

.rsc-auth-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.rsc-auth-overlay[hidden] { display: none; }

.rsc-auth-modal {
  background: #fff;
  border-radius: 8px;
  padding: 32px 28px 24px;
  width: 100%;
  max-width: 420px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
}

.rsc-auth-close {
  position: absolute;
  top: 12px; right: 14px;
  background: none; border: none;
  font-size: 22px; line-height: 1;
  cursor: pointer; color: #6b7280;
  padding: 4px 8px;
}
.rsc-auth-close:hover { color: #111; }

.rsc-auth-modal h2 {
  font-size: 1.2rem; font-weight: 700;
  margin: 0 0 6px; color: #111;
}
.rsc-auth-modal p { font-size: .9rem; color: #555; margin: 0 0 16px; }

.rsc-auth-modal label {
  display: block; font-size: .8rem;
  font-weight: 600; color: #374151;
  text-transform: uppercase; letter-spacing: .04em;
  margin-bottom: 14px;
}
.rsc-auth-input {
  display: block; width: 100%; margin-top: 5px;
  padding: 10px 12px; font-size: 1rem;
  border: 1px solid #d1d5db; border-radius: 6px;
  box-sizing: border-box;
}
.rsc-auth-input:focus { outline: 2px solid #59b958; border-color: #59b958; }
.rsc-auth-otp { font-size: 1.5rem; letter-spacing: .15em; text-align: center; }

.rsc-auth-btn {
  display: block; width: 100%;
  padding: 11px; font-size: 1rem; font-weight: 700;
  background: #59b958; color: #fff; border: none;
  border-radius: 6px; cursor: pointer; margin-bottom: 8px;
}
.rsc-auth-btn:hover:not(:disabled) { background: #41a840; }
.rsc-auth-btn:disabled { opacity: .6; cursor: not-allowed; }

.rsc-auth-link {
  background: none; border: none;
  color: #59b958; font-size: .85rem; cursor: pointer;
  padding: 2px 0; text-decoration: underline;
}

.rsc-auth-msg { font-size: .85rem; color: #555; min-height: 1.2em; margin: 6px 0 0; }
.rsc-auth-msg--error { color: #dc2626; }

.rsc-auth-tcpa { font-size: .72rem; color: #9ca3af; line-height: 1.4; margin-bottom: 12px !important; }

.rsc-auth-method-toggle {
  display: flex; border: 1px solid #e5e7eb;
  border-radius: 6px; overflow: hidden; margin-bottom: 16px;
}
.rsc-auth-method-btn {
  flex: 1; padding: 7px 10px; font-size: .85rem; font-weight: 600;
  background: #fff; color: #6b7280; border: none; cursor: pointer;
}
.rsc-auth-method-btn:not(:last-child) { border-right: 1px solid #e5e7eb; }
.rsc-auth-method-btn--active { background: #59b958; color: #fff; }

/* ─── Status Corner Ribbon (diagonal, top-left) ──────────────────────────── */
.sra-listing-photo { position: relative; display: block; overflow: hidden; }
.sra-status-ribbon {
  position: absolute;
  top: 16px; left: -44px;
  width: 156px;
  transform: rotate(-45deg);
  text-align: center;
  font-size: 10px; font-weight: 800; line-height: 1.4;
  text-transform: uppercase; letter-spacing: .02em;
  white-space: nowrap;
  padding: 3px 0;
  color: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .35);
  pointer-events: none;
  z-index: 2;
}
.sra-ribbon-pending { background: #f4c20d; color: #3a2d00; }  /* Pending → yellow */
.sra-ribbon-sold    { background: #e11919; }                  /* Sold → red */
.sra-ribbon-coming  { background: #159947; }                  /* Coming Soon → green */

/* Larger ribbon on the big detail-page primary photo */
.sra-gallery-main .sra-status-ribbon {
  top: 26px; left: -64px;
  width: 220px;
  font-size: 13px;
  padding: 6px 0;
}

/* ─── No search results ──────────────────────────────────────────────────── */
.mlsidx-no-results {
  text-align: center;
  padding: 48px 20px;
  margin: 12px 0;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
}
.mlsidx-no-results-title {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 700;
  color: #1f2937;
}
.mlsidx-no-results-hint {
  margin: 0;
  font-size: 14px;
  color: #6b7280;
}
.sra-coming-soon-badge {
  position: absolute; bottom: 8px; left: 0;
  background: #1a3a5c; color: #fff;
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; padding: 4px 10px;
  border-radius: 0 4px 4px 0;
  pointer-events: none;
}

/* ─── Price + Updated date ───────────────────────────────────────────────── */
.sra-single-price { display: flex; flex-direction: column; gap: 2px; }
.sra-modification-date { font-size: 12px; color: rgba(255,255,255,0.75); font-weight: 400; }
.sra-activate-date { font-size: 12px; color: rgba(255,255,255,0.9); font-weight: 500; }

/* ─── Price Change Indicator ─────────────────────────────────────────────── */
.sra-price-change {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
}

/* ─── Description + Agent Card split ──────────────────────────────────────── */
.sra-detail-split {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 28px;
  align-items: start;
}
.sra-detail-split .sra-detail-main { min-width: 0; }

.sra-agent-card {
  position: sticky;
  top: 20px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #f8faf8;
  padding: 22px 20px;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
}
.sra-agent-photo {
  position: relative;
  width: 116px;
  height: 116px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 12px;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
  background: #eee;
}
.sra-agent-photo img {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  pointer-events: none;
}
.sra-agent-name {
  margin: 0;
  font-size: 19px;
  font-weight: 800;
  color: #1f2937;
  line-height: 1.2;
}
.sra-agent-title {
  margin: 4px 0 0;
  font-size: 13px;
  color: #6b7280;
  line-height: 1.4;
}
.sra-agent-phone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 12px 0 0;
  font-size: 17px;
  font-weight: 700;
  color: #2f7d2e;
  text-decoration: none;
}
.sra-agent-phone:hover { text-decoration: underline; }
.sra-agent-phone svg { width: 17px; height: 17px; fill: currentColor; }

.sra-agent-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}
.sra-agent-btn {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 13px 14px;
  border-radius: 7px;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid #59b958;
  transition: background .15s, color .15s;
}
.sra-agent-btn-primary { background: #59b958; color: #fff; }
.sra-agent-btn-primary:hover,
.sra-agent-btn-primary:focus { background: #41a840; border-color: #41a840; color: #fff; }
.sra-agent-btn-secondary { background: #fff; color: #2f7d2e; }
.sra-agent-btn-secondary:hover,
.sra-agent-btn-secondary:focus { background: #eef7ee; }

/* ─── Agent-card popups (GHL calendar / form) ─────────────────────────────── */
.sra-detail-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(15,23,42,.6);
}
.sra-detail-modal[hidden] { display: none; }
.sra-detail-modal-box {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(680px, 100%);
  height: min(82vh, 760px);
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
}
.sra-detail-modal-close {
  position: absolute;
  top: 8px;
  right: 10px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  color: #111827;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0,0,0,.2);
}
.sra-detail-modal-close:hover { background: #fff; }
.sra-detail-modal-frame { flex: 1; min-height: 0; }
.sra-detail-modal-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

@media (max-width: 768px) {
  .sra-detail-split { grid-template-columns: 1fr; }
  .sra-agent-card { position: static; order: -1; }
}

/* ─── Map + Mortgage Calculator split ─────────────────────────────────────── */
.sra-map-split {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 28px;
  align-items: stretch;
}
.sra-map-split .sra-map-col { min-width: 0; display: flex; flex-direction: column; }
.sra-map-split .sra-map-col .sra-map-wrapper { flex: 1; min-height: 320px; }
.sra-map-split .sra-map-col .sra-map-wrapper .mlsidx-map-embed { height: 100%; }

.sra-mortgage-calc {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #f8faf8;
  padding: 18px 18px 16px;
}
.sra-mortgage-calc h2 { margin: 0 0 14px !important; font-size: 18px; }

.sra-mc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.sra-mc-row > span:first-child { font-size: 13px; font-weight: 600; color: #374151; }
.sra-mc-input {
  display: inline-flex;
  align-items: center;
  width: 132px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #fff;
  overflow: hidden;
}
.sra-mc-input i { padding: 0 7px; color: #6b7280; font-style: normal; font-size: 13px; }
.sra-mc-input input,
.sra-mc-input select {
  flex: 1;
  width: 100%;
  min-width: 0;
  border: 0;
  outline: none;
  padding: 8px;
  font-size: 14px;
  background: transparent;
  color: #111827;
  text-align: right;
}
.sra-mc-input select { text-align: left; cursor: pointer; }

.sra-mc-output {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 16px 0 6px;
  padding: 14px;
  border-radius: 8px;
  background: #59b958;
  color: #fff;
}
.sra-mc-out-label { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; opacity: .9; }
.sra-mc-out-value { font-size: 30px; font-weight: 800; line-height: 1.1; }
.sra-mc-out-value small { font-size: 14px; font-weight: 600; opacity: .85; margin-left: 3px; }

.sra-mc-breakdown { margin: 6px 0 0; font-size: 12px; color: #4b5563; text-align: center; line-height: 1.6; }
.sra-mc-preapproval {
  display: block;
  margin: 12px 0 0;
  padding: 12px 14px;
  border-radius: 7px;
  background: #1f6feb;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}
.sra-mc-preapproval:hover,
.sra-mc-preapproval:focus { background: #1858c4; color: #fff; }
.sra-mc-note { margin: 8px 0 0; font-size: 11px; color: #9ca3af; text-align: center; }

@media (max-width: 768px) {
  .sra-map-split { grid-template-columns: 1fr; }
  .sra-mc-input { width: 150px; }
}

/* ─── Client Transaction Portal ([sra_my_transactions]) ──────────────────── */
.rsc-txn { max-width: 980px; margin: 0 auto; }
.rsc-txn-h { margin: 0 0 16px; font-size: 22px; font-weight: 800; color: #1f2937; }
.rsc-txn-status { color: #6b7280; font-size: 14px; }
.rsc-txn-empty { color: #6b7280; font-size: 15px; padding: 18px 0; }

.rsc-txn-gate { text-align: center; padding: 28px 20px; border: 1px solid #e5e7eb; border-radius: 10px; background: #f8faf8; }
.rsc-txn-gate h2 { margin: 0 0 6px; font-size: 20px; font-weight: 800; color: #1f2937; }
.rsc-txn-gate p { margin: 0 0 16px; color: #4b5563; }

.rsc-txn-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.rsc-txn-card {
  display: flex; flex-direction: column; gap: 4px;
  padding: 16px 18px; border: 1px solid #e5e7eb; border-radius: 10px;
  background: #fff; text-decoration: none; color: inherit; transition: box-shadow .15s, border-color .15s;
}
.rsc-txn-card:hover { border-color: #59b958; box-shadow: 0 2px 10px rgba(0,0,0,.08); }
.rsc-txn-addr { font-size: 16px; font-weight: 700; color: #1f2937; }
.rsc-txn-meta { font-size: 13px; color: #6b7280; }

.rsc-txn-badge {
  align-self: flex-start; margin-bottom: 6px;
  padding: 3px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  background: #e5e7eb; color: #374151;
}
.rsc-txn-badge-active, .rsc-txn-badge-pending, .rsc-txn-badge-under-contract { background: #fef3c7; color: #92400e; }
.rsc-txn-badge-closed, .rsc-txn-badge-sold, .rsc-txn-badge-completed { background: #dcfce7; color: #166534; }
.rsc-txn-badge-cancelled, .rsc-txn-badge-canceled, .rsc-txn-badge-withdrawn, .rsc-txn-badge-terminated { background: #fee2e2; color: #991b1b; }

.rsc-txn-back { margin: 0 0 14px; font-size: 14px; }
.rsc-txn-back a { color: #2f7d2e; text-decoration: none; }
.rsc-txn-back a:hover { text-decoration: underline; }
.rsc-txn-detail-head { margin-bottom: 18px; }
.rsc-txn-detail-head h2 { margin: 6px 0 0; font-size: 24px; font-weight: 800; color: #1f2937; }

.rsc-txn-facts {
  display: grid; grid-template-columns: max-content 1fr; gap: 8px 22px;
  margin: 0 0 26px; padding: 16px 20px; border: 1px solid #e5e7eb; border-radius: 8px; background: #f9fafb;
}
.rsc-txn-facts dt { font-weight: 700; color: #374151; font-size: 14px; }
.rsc-txn-facts dd { margin: 0; color: #4b5563; font-size: 14px; }

.rsc-txn-docs { list-style: none; margin: 0; padding: 0; }
.rsc-txn-docs li {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid #eef0f2;
}
.rsc-txn-doc-name { flex: 1; font-weight: 600; color: #1f2937; font-size: 14px; }
.rsc-txn-doc-type { font-size: 12px; color: #6b7280; }
.rsc-txn-doc-btn {
  border: 2px solid #59b958; background: #59b958; color: #fff;
  padding: 7px 16px; border-radius: 6px; font-size: 13px; font-weight: 700; cursor: pointer;
}
.rsc-txn-doc-btn:hover { background: #41a840; border-color: #41a840; }
.rsc-txn-doc-btn:disabled { opacity: .6; cursor: default; }

@media (max-width: 640px) {
  .rsc-txn-facts { grid-template-columns: 1fr; gap: 2px 0; }
  .rsc-txn-facts dd { margin: 0 0 10px; }
}

/* ── Agent directory ([sra_agents]) ─────────────────────────────────────────── */
.sra-agents-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:24px;margin:24px 0}
.sra-agent-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:24px 20px;text-align:center;box-shadow:0 1px 3px rgba(0,0,0,.06);display:flex;flex-direction:column;align-items:center}
.sra-agent-card-photo{width:128px;height:128px;border-radius:50%;overflow:hidden;background:transparent;display:flex;align-items:center;justify-content:center;margin-bottom:16px;flex:0 0 auto}
.sra-agent-card-photo.is-placeholder{background:#59b958}
.sra-agent-card-photo img{width:100%;height:100%;object-fit:cover}
.sra-agent-card-initials{color:#fff;font-size:48px;font-weight:600;line-height:1}
.sra-agent-card-name{margin:0 0 4px;font-size:18px;font-weight:600;color:#111827}
.sra-agent-card-title{margin:0 0 12px;font-size:13px;color:#6b7280}
.sra-agent-card-contact{display:flex;flex-direction:column;gap:4px;margin-bottom:14px}
.sra-agent-card-contact a{color:#374151;text-decoration:none;font-size:14px;word-break:break-word}
.sra-agent-card-contact a:hover{color:#59b958;text-decoration:underline}
.sra-agent-card-actions{display:flex;flex-direction:column;gap:8px;width:100%;margin-top:auto}
.sra-agent-card-btn{display:block;padding:9px 14px;border-radius:8px;border:1px solid #59b958;color:#59b958;background:#fff;font-size:14px;font-weight:600;text-decoration:none;transition:background .15s,color .15s}
.sra-agent-card-btn:hover{background:#f0faf0;color:#59b958}
.sra-agent-card-btn-primary{background:#59b958;color:#fff}
.sra-agent-card-btn-primary:hover{background:#4aa549;color:#fff}
.sra-agents-empty{text-align:center;color:#6b7280;padding:40px 0}

/* ── Agent bio page ([sra_agent_bio]) ───────────────────────────────────────── */
.sra-bio{max-width:920px;margin:0 auto}
.sra-bio-head{display:flex;gap:28px;align-items:center;flex-wrap:wrap;margin-bottom:24px}
.sra-bio-photo{width:170px;height:210px;border-radius:10px;overflow:hidden;background:#eee;flex:0 0 auto;position:relative}
.sra-bio-photo img{position:absolute;left:50%;top:50%;width:100%;height:100%;object-fit:cover}
.sra-bio-id{flex:1;min-width:240px}
.sra-bio-name{margin:0 0 4px;font-size:30px;line-height:1.1}
.sra-bio-title{margin:0 0 14px;color:#6b7280;font-size:15px}
.sra-bio-contact{list-style:none;margin:0 0 16px;padding:0;display:flex;flex-direction:column;gap:4px}
.sra-bio-contact a{color:#374151;text-decoration:none}
.sra-bio-contact a:hover{color:#59b958}
.sra-bio-cta{display:flex;gap:10px;flex-wrap:wrap}
.sra-bio-about{font-size:16px;line-height:1.7;color:#374151;margin-bottom:28px}
.sra-bio-about p{margin:0 0 14px}
@media(max-width:560px){.sra-bio-head{flex-direction:column;text-align:center}.sra-bio-contact{align-items:center}.sra-bio-cta{justify-content:center}}

.sra-bio-reviews{margin-top:28px}
