
/* ==========================================================
   PREMIUM PUBLIC BUSINESS PROFILE
   ========================================================== */

.pbp-preview {
    max-width: 1180px;
    margin: 18px auto;
    padding: 11px 15px;
    border: 1px solid #e5d29f;
    border-radius: 9px;
    background: #fff9eb;
    color: #57451d;
    font-size: 11px;
}

.pbp-preview span {
    margin-left: 8px;
}

.pbp-preview a {
    float: right;
    color: #163d78;
    font-weight: 800;
}


/* HERO */

.pbp-hero {
    min-height: 200px;
    display: flex;
    align-items: center;
    background: #112a43;
    color: #fff;
}

.pbp-hero-inner {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 60px 0 38px;
}

.pbp-identity {
    display: flex;
    gap: 20px;
    align-items: flex-end;
}

.pbp-logo {
    width: 94px;
    height: 94px;
    flex: 0 0 94px;
    padding: 9px;
    border-radius: 14px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 8px 28px rgba(0,0,0,.18);
}

.pbp-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.pbp-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 9px;
}

.pbp-badge {
    padding: 5px 8px;
    border: 1px solid rgba(255,255,255,.38);
    border-radius: 999px;
    background: rgba(5,22,38,.32);
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .04em;
    backdrop-filter: blur(5px);
}

.pbp-badge.premium {
    border-color: rgba(226,185,91,.78);
    color: #ffe1a0;
}

.pbp-category {
    margin-bottom: 5px;
    color: #e8c374;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.pbp-hero h1 {
    max-width: 800px;
    margin: 0;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(36px, 5vw, 61px);
    line-height: .98;
    text-shadow: 0 2px 16px rgba(0,0,0,.25);
}

.pbp-location {
    margin-top: 10px;
    font-size: 13px;
    font-weight: 700;
}

.pbp-hero-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 14px;
    max-width: 720px;
    margin: 10px 0 0;
    color: rgba(255,255,255,.88);
    font-size: 14px;
    line-height: 1.5;
}

.pbp-hero-contact a {
    color: #ffe1a0;
    font-weight: 700;
    text-decoration: none;
}


/* ACTION BAR */

.pbp-action-bar {
    border-bottom: 1px solid #e5e0d8;
    background: #fff;
}

.pbp-action-inner {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 12px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pbp-action {
    min-height: 36px;
    padding: 0 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d7d8d6;
    border-radius: 7px;
    background: #fff;
    color: #163d78;
    font-size: 10px;
    font-weight: 800;
    text-decoration: none;
}

.pbp-action.primary {
    border-color: #163d78;
    background: #163d78;
    color: #fff;
}


/* PAGE GRID */

.pbp-shell {
    width: min(1180px, calc(100% - 40px));
    margin: 30px auto 46px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 28px;
    align-items: start;
}

.pbp-main {
    min-width: 0;
}

.pbp-section {
    padding: 0 0 30px;
    margin-bottom: 30px;
    border-bottom: 1px solid #e7e1d9;
}

.pbp-section:last-child {
    border-bottom: 0;
}

.pbp-kicker {
    display: block;
    margin-bottom: 6px;
    color: #a87518;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.pbp-section h2,
.pbp-rail-card h2,
.pbp-related h2 {
    margin: 0 0 14px;
    color: #122d49;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px;
    line-height: 1.1;
}

.pbp-editorial {
    max-width: 760px;
    color: #434b53;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 16px;
    line-height: 1.75;
}

.pbp-section-intro {
    margin: -5px 0 18px;
    color: #69727b;
    font-size: 12px;
}


/* VISITOR */

.pbp-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 12px;
}

.pbp-info-card {
    padding: 15px;
    border: 1px solid #e5e0d8;
    border-radius: 10px;
    background: #faf8f4;
}

.pbp-info-card strong {
    display: block;
    margin-bottom: 6px;
    color: #183755;
    font-size: 11px;
}

.pbp-info-card p {
    margin: 0;
    color: #5e656c;
    font-size: 11px;
    line-height: 1.5;
}


/* GALLERY */

.pbp-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 10px;
}

.pbp-gallery figure {
    height: 225px;
    margin: 0;
    overflow: hidden;
    border-radius: 10px;
    background: #eeeae4;
}

.pbp-gallery figure:first-child {
    grid-row: span 2;
    height: 460px;
}

.pbp-gallery img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}


/* VIDEO */

.pbp-video {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
    border-radius: 11px;
    background: #111;
}

.pbp-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.pbp-video-caption {
    margin: 11px 0 0;
    color: #686f77;
    font-size: 11px;
    line-height: 1.55;
}


/* EDITORIAL */

.pbp-story-list article {
    padding: 15px 0;
    border-top: 1px solid #ece7e0;
}

.pbp-story-list article:first-child {
    border-top: 0;
    padding-top: 0;
}

.pbp-story-list h3 {
    margin: 0 0 6px;
    color: #163d78;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 17px;
}

.pbp-story-list p {
    margin: 0;
    color: #626970;
    font-size: 11px;
    line-height: 1.55;
}


/* AWARDS */

.pbp-award-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 10px;
}

.pbp-award {
    padding: 13px;
    border: 1px solid #e7e1d9;
    border-radius: 9px;
}

.pbp-award strong {
    display: block;
    color: #183959;
    font-size: 11px;
}

.pbp-award span {
    display: block;
    margin-top: 4px;
    color: #737a80;
    font-size: 10px;
}


/* RIGHT RAIL */

.pbp-rail {
    position: sticky;
    top: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pbp-rail-card {
    padding: 19px;
    border: 1px solid #e3ddd5;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 5px 20px rgba(20,35,50,.04);
}

.pbp-rail-card h2 {
    font-size: 20px;
}

.pbp-detail {
    padding: 10px 0;
    border-top: 1px solid #eee9e3;
}

.pbp-detail:first-of-type {
    border-top: 0;
}

.pbp-detail strong {
    display: block;
    margin-bottom: 4px;
    color: #203a54;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.pbp-detail span,
.pbp-detail a {
    color: #565f68;
    font-size: 11px;
    line-height: 1.5;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.pbp-rail-button {
    width: 100%;
    min-height: 37px;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    background: #163d78;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    text-decoration: none;
}

.pbp-rail-button.gold {
    background: #be7d0a;
}

.pbp-snapshot-row {
    padding: 9px 0;
    display: flex;
    justify-content: space-between;
    gap: 15px;
    border-top: 1px solid #eee9e3;
    font-size: 10px;
}

.pbp-snapshot-row:first-of-type {
    border-top: 0;
}

.pbp-snapshot-row span {
    color: #7a8086;
}

.pbp-snapshot-row strong {
    color: #243d55;
    text-align: right;
}


/* OFFERS */

.pbp-offer.secondary {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #e8e1d8;
}

.pbp-offer p {
    margin: 0 0 10px;
    color: #626a71;
    font-size: 11px;
    line-height: 1.5;
}

.pbp-code {
    display: inline-block;
    margin: 3px 0 9px;
    padding: 6px 8px;
    border: 1px dashed #c9ae76;
    border-radius: 6px;
    background: #fffaf0;
    color: #6c531e;
    font-size: 9px;
    font-weight: 800;
}

.pbp-offer-date {
    color: #737a81;
    font-size: 9px;
}

.pbp-offer details {
    margin-top: 10px;
    color: #747b82;
    font-size: 9px;
}

.pbp-offer summary {
    cursor: pointer;
    font-weight: 700;
}


/* CONTACT FORM */

.pbp-contact-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 11px;
}

.pbp-contact-form label {
    color: #253d53;
    font-size: 9px;
    font-weight: 800;
}

.pbp-contact-form label.full,
.pbp-form-footer.full {
    grid-column: 1 / -1;
}

.pbp-contact-form input,
.pbp-contact-form textarea {
    width: 100%;
    margin-top: 4px;
    padding: 10px;
    box-sizing: border-box;
    border: 1px solid #dcd7d0;
    border-radius: 7px;
    background: #fff;
    font: inherit;
}

.pbp-contact-form textarea {
    min-height: 115px;
    resize: vertical;
}

.pbp-form-footer {
    display: flex;
    align-items: center;
    gap: 14px;
}

.pbp-form-footer button {
    min-height: 40px;
    padding: 0 20px;
    border: 0;
    border-radius: 7px;
    background: #163d78;
    color: #fff;
    font-weight: 800;
    cursor: pointer;
}

.pbp-form-footer span {
    color: #7a8086;
    font-size: 9px;
}

.pbp-honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.pbp-alert {
    margin-bottom: 15px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 700;
}

.pbp-alert.success {
    background: #edf6ee;
    color: #275b32;
}

.pbp-alert.error {
    background: #fff0ef;
    color: #8b2f28;
}


/* RELATED */

.pbp-related {
    padding: 38px 0 48px;
    background: #f7f4ee;
    border-top: 1px solid #e6dfd5;
}

.pbp-related-inner {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.pbp-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 11px;
}

.pbp-related-card {
    padding: 16px;
    border: 1px solid #e3ddd4;
    border-radius: 10px;
    background: #fff;
    text-decoration: none;
}

.pbp-related-card h3 {
    margin: 0;
    color: #163d78;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 16px;
}

.pbp-related-card span {
    display: block;
    margin-top: 5px;
    color: #737b82;
    font-size: 10px;
}


/* RESPONSIVE */

@media (max-width: 900px) {

    .pbp-shell {
        grid-template-columns: 1fr;
    }

    .pbp-rail {
        position: static;
    }

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

@media (max-width: 650px) {

    .pbp-identity {
        display: block;
    }

    .pbp-logo {
        width: 76px;
        height: 76px;
        margin-bottom: 14px;
    }

    .pbp-info-grid,
    .pbp-award-grid,
    .pbp-contact-form,
    .pbp-gallery,
    .pbp-related-grid {
        grid-template-columns: 1fr;
    }

    .pbp-gallery figure,
    .pbp-gallery figure:first-child {
        grid-row: auto;
        height: 220px;
    }

    .pbp-form-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .pbp-preview a {
        display: block;
        float: none;
        margin-top: 7px;
    }
}



/* ==========================================================
   FINAL PREMIUM PROFILE REFINEMENT
   ========================================================== */


/* HERO — slightly more editorial */

.pbp-hero-inner {
    padding-top: 28px;
    padding-bottom: 28px;
}

.pbp-identity-content {
    max-width: 780px;
}


/* MAIN PAGE — slightly tighter */

.pbp-shell {
    margin-top: 26px;
    margin-bottom: 24px;
    gap: 24px;
}

.pbp-section {
    padding-bottom: 24px;
    margin-bottom: 24px;
}

.pbp-section h2 {
    margin-bottom: 12px;
}

.pbp-editorial {
    max-width: 720px;
    font-size: 15.5px;
    line-height: 1.7;
}


/* GALLERY */

.pbp-gallery {
    gap: 9px;
}

.pbp-gallery figure {
    height: 205px;
}

.pbp-gallery figure:first-child {
    height: 419px;
}


/* One image should look intentional — not like half a gallery */

.pbp-gallery.one-photo {
    display: block;
}

.pbp-gallery.one-photo figure,
.pbp-gallery.one-photo figure:first-child {
    width: 100%;
    height: 350px;
    max-width: none;
}

.pbp-gallery.one-photo img {
    object-position: center;
}


/* VIDEO — keep premium but don't let it dominate page */

.pbp-video {
    width: 100%;
    max-width: 760px;
    aspect-ratio: 16 / 9;
    padding-top: 0;
}

.pbp-video iframe {
    position: absolute;
    inset: 0;
}

.pbp-video-caption {
    max-width: 760px;
}


/* RIGHT RAIL */

.pbp-rail {
    gap: 12px;
}

.pbp-rail-card {
    padding: 17px;
    border-color: #dfd9cf;
    box-shadow:
        0 6px 22px rgba(20,35,50,.045);
}

.pbp-rail-card::before {
    content: "";
    display: block;
    width: 34px;
    height: 2px;
    margin-bottom: 11px;
    background: #c69a45;
}

.pbp-rail-card .pbp-kicker {
    margin-bottom: 5px;
}

.pbp-rail-card h2 {
    margin-bottom: 11px;
    font-size: 19px;
}


/* Make offer feel like a premium placement */

.pbp-offer-card {
    background:
        linear-gradient(
            180deg,
            #fffdf8 0%,
            #ffffff 100%
        );
}

.pbp-offer-card::before {
    background: #bd7b0c;
}

.pbp-code {
    padding: 5px 8px;
}


/* VISITOR + SNAPSHOT */

.pbp-info-card {
    padding: 13px;
}

.pbp-snapshot-row {
    padding: 8px 0;
}


/* CONTACT — tighter and more deliberate */

.pbp-contact-section {
    padding-bottom: 12px;
    margin-bottom: 12px;
}

.pbp-contact-form {
    gap: 9px 11px;
}

.pbp-contact-form input {
    min-height: 38px;
}

.pbp-contact-form textarea {
    min-height: 92px;
}

.pbp-form-footer {
    margin-top: 2px;
}


/* RELATED BUSINESSES — pull upward */

.pbp-related {
    padding-top: 28px;
    padding-bottom: 38px;
}

.pbp-related h2 {
    margin-bottom: 12px;
}

.pbp-related-card {
    padding: 14px;
    transition:
        transform .15s ease,
        box-shadow .15s ease,
        border-color .15s ease;
}

.pbp-related-card:hover {
    transform: translateY(-2px);
    border-color: #d4c6ae;
    box-shadow:
        0 6px 18px rgba(22,61,120,.06);
}


/* ACTION BAR */

.pbp-action-inner {
    padding-top: 10px;
    padding-bottom: 10px;
}

.pbp-action {
    min-height: 34px;
}


/* MOBILE */

@media (max-width: 650px) {

    .pbp-hero {
        min-height: 200px;
    }

    .pbp-hero-inner {
        padding-top: 24px;
        padding-bottom: 24px;
    }

    .pbp-gallery.one-photo figure,
    .pbp-gallery.one-photo figure:first-child {
        height: 235px;
    }

}


/* ==========================================================
   HERO FINAL POSITIONING
   ========================================================== */

.pbp-hero {
    min-height: 200px;
}

.pbp-hero-inner {
    min-height: 200px;
    display: flex;
    align-items: center;
    padding-top: 0;
    padding-bottom: 0;
}

.pbp-identity {
    width: 100%;
    align-items: center;
}

.pbp-identity-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pbp-hero-contact {
    margin-bottom: 0;
}

