/* Homepage content treatment. The header, banner, footer, and 3D-tour area keep their existing layout. */
.c3-home-page,
.c3-home-page * { box-sizing: border-box; }

.c3-home-page {
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 0 48px;
    color: var(--c3-live-ink, #222);
    font-family: "Droid Sans", Arial, Helvetica, sans-serif;
}

.c3-home-page a { color: var(--c3-live-link, #19388a); }
.c3-home-page a:hover { color: var(--c3-live-blue-hover, #5db8e8); }

.c3-home-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(240px, .65fr);
    gap: 54px;
    align-items: center;
    padding: 42px 0 40px;
    border-bottom: 1px solid #e1e4e8;
}

.c3-home-eyebrow {
    margin: 0 0 10px;
    color: var(--c3-live-blue, #19388a);
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .1em;
    line-height: 1.2;
    text-transform: uppercase;
}

.c3-home-intro h1 {
    position: relative;
    max-width: 760px;
    margin: 0 0 21px !important;
    padding: 0 0 16px;
    color: var(--c3-live-ink, #222);
    font-family: "Droid Sans", Arial, Helvetica, sans-serif;
    font-size: clamp(2.1rem, 4.5vw, 3.55rem) !important;
    font-weight: 700;
    letter-spacing: -.025em;
    line-height: 1.05 !important;
}

.c3-home-intro h1::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 74px;
    height: 3px;
    border-radius: 2px;
    background: var(--c3-live-blue, #19388a);
    content: "";
}

.c3-home-lead {
    max-width: 700px;
    margin: 0 !important;
    color: #58636d !important;
    font-size: 1.08rem !important;
    line-height: 1.6 !important;
}

.c3-home-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-top: 25px;
}

.c3-home-actions .c3-page-section-action { min-width: 0; }
.c3-home-page .c3-page-section-action { text-transform: none; }

.c3-home-text-link,
.c3-home-card-link {
    font-weight: 700;
    text-decoration: none;
}

.c3-home-text-link span,
.c3-home-card-link span {
    display: inline-block;
    margin-left: 5px;
    transition: transform .18s ease;
}

.c3-home-text-link:hover span,
.c3-home-card-link:hover span { transform: translateX(3px); }

.c3-home-intro-note {
    padding: 4px 0 4px 24px;
    border-left: 3px solid var(--c3-live-blue, #19388a);
}

.c3-home-intro-note strong {
    display: block;
    margin-bottom: 12px;
    color: var(--c3-live-ink, #222);
    font-size: 1rem;
}

.c3-home-intro-note ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.c3-home-intro-note li {
    position: relative;
    margin: 0 0 10px;
    padding-left: 17px;
    color: #687078;
    font-size: .94rem;
    line-height: 1.45;
}

.c3-home-intro-note li:last-child { margin-bottom: 0; }
.c3-home-intro-note li::before {
    position: absolute;
    top: .58em;
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--c3-live-blue-hover, #5db8e8);
    content: "";
}

.c3-home-section { margin-top: 42px; }
.c3-home-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }

.c3-home-card {
    display: flex;
    min-height: 245px;
    flex-direction: column;
    padding: 22px 22px 20px;
    border: 1px solid #d7d9dc;
    border-top: 3px solid var(--c3-live-blue, #19388a);
    border-radius: 0 0 10px 10px;
    background: #fff;
    box-shadow: 0 3px 10px rgba(35, 31, 32, .07);
}

.c3-home-card:hover {
    border-color: #c4c9d1;
    border-top-color: var(--c3-live-blue-hover, #5db8e8);
    box-shadow: 0 7px 16px rgba(35, 31, 32, .11);
}

.c3-home-card-number {
    display: inline-flex;
    width: 29px;
    height: 29px;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border-radius: 50%;
    background: #eef1f7;
    color: var(--c3-live-blue, #19388a);
    font-size: .75rem;
    font-weight: 700;
}

.c3-home-card h3 {
    margin: 0 0 10px;
    color: var(--c3-live-ink, #222);
    font-family: "Droid Sans", Arial, Helvetica, sans-serif;
    font-size: 1.38rem;
    line-height: 1.15;
}

.c3-home-card p {
    margin: 0 0 18px !important;
    color: #687078 !important;
    font-size: .96rem !important;
    line-height: 1.5 !important;
}

.c3-home-card-link { margin-top: auto; }

.c3-home-approach-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.c3-home-approach-item {
    min-width: 0;
    padding-left: 22px;
    border-left: 2px solid #dfe4ec;
}

.c3-home-approach-item:first-child { padding-left: 0; border-left: 0; }

.c3-home-approach-item strong {
    display: block;
    margin-bottom: 9px;
    color: var(--c3-live-blue, #19388a);
    font-size: .75rem;
    letter-spacing: .08em;
}

.c3-home-approach-item h3 {
    margin: 0 0 8px;
    color: var(--c3-live-ink, #222);
    font-size: 1.18rem;
    line-height: 1.2;
}

.c3-home-approach-item p {
    margin: 0 !important;
    color: #687078 !important;
    font-size: .94rem !important;
    line-height: 1.5 !important;
}

.c3-home-connect-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(250px, .8fr);
    gap: 16px;
    align-items: stretch;
}

.c3-home-social-panel,
.c3-home-contact-panel {
    padding: 25px;
    border: 1px solid #d7d9dc;
    border-radius: 10px;
}

.c3-home-social-panel { background: #f7f8fb; }
.c3-home-contact-panel { border-color: var(--c3-live-blue, #19388a); background: var(--c3-live-blue, #19388a); color: #fff; }

.c3-home-social-panel h3,
.c3-home-contact-panel h3 {
    margin: 0 0 8px;
    font-size: 1.45rem;
    line-height: 1.15;
}

.c3-home-contact-panel h3 { color: #fff !important; }

.c3-home-social-panel p,
.c3-home-contact-panel p {
    margin: 0 0 19px !important;
    font-size: .95rem !important;
    line-height: 1.5 !important;
}

.c3-home-social-panel p { color: rgba(255, 255, 255, .78) !important; }
.c3-home-contact-panel p { color: rgba(255, 255, 255, .84) !important; }

.c3-home-social-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }

.c3-home-social-link,
.c3-home-social-link:visited {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 9px;
    min-width: 0;
    align-items: center;
    padding: 9px 10px;
    border: 1px solid #d9dee8;
    border-radius: 7px;
    background: #fff;
    color: #fff !important;
    -webkit-text-fill-color: #fff;
    font-size: .9rem;
    line-height: 1.2;
    text-decoration: none;
}

.c3-home-social-link:hover,
.c3-home-social-link:focus-visible {
    border-color: var(--c3-live-blue-hover, #5db8e8);
    background: #eef6fb;
    color: var(--c3-live-blue, #19388a) !important;
}

.c3-home-social-link::before {
    display: block;
    width: 26px;
    height: 26px;
    background-color: var(--c3-live-blue, #19388a);
    content: "";
    -webkit-mask-position: center;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-position: center;
    mask-repeat: no-repeat;
    mask-size: contain;
}

/* Use the bundled social artwork when older homepage content still carries an
   inline CMS image reference that is no longer available locally. */
.c3-home-social-link > img { display: none; }
.c3-home-social-link::before {
    background-color: transparent;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    -webkit-mask-image: none;
    mask-image: none;
}
.c3-home-social-link[href*="facebook.com"]::before { background-image: url("../images/social/facebook.png"); }
.c3-home-social-link[href*="youtube.com"]::before { background-image: url("../images/social/youtube.png"); }
.c3-home-social-link[href*="instagram.com"]::before { background-image: url("../images/social/instagram.jpg"); }
.c3-home-social-link[href*="x.com"]::before,
.c3-home-social-link[href*="twitter.com"]::before { background-image: url("../images/social/twitter.png"); }
.c3-home-social-link[href*="linkedin.com"]::before { background-color: var(--c3-live-blue, #19388a); -webkit-mask-image: url("../images/icons/social-linkedin.svg"); mask-image: url("../images/icons/social-linkedin.svg"); }
.c3-home-social-link[href*="bidspotter.com"]::before { background-color: var(--c3-live-blue, #19388a); -webkit-mask-image: url("../images/icons/social-bidspotter.svg"); mask-image: url("../images/icons/social-bidspotter.svg"); }

.c3-home-contact-panel .c3-page-section-action {
    border-color: #fff;
    background: #fff;
    color: var(--c3-live-blue, #19388a) !important;
}

.c3-home-contact-panel .c3-page-section-action:hover,
.c3-home-contact-panel .c3-page-section-action:focus-visible {
    border-color: var(--c3-live-blue-hover, #5db8e8);
    background: var(--c3-live-blue-hover, #5db8e8);
    color: #fff !important;
}

/* The legacy home slider copy was being reduced twice by the global paragraph rule. */
#subcontent_wrapper .subcontent_slide p {
    margin: 0;
    font-size: 1em;
    line-height: 1.4;
}

@media (max-width: 820px) {
    .c3-home-intro,
    .c3-home-connect-grid { grid-template-columns: 1fr; gap: 28px; }
    .c3-home-card-grid { grid-template-columns: 1fr; }
    .c3-home-card { min-height: 0; }
}

@media (max-width: 640px) {
    .c3-home-page { padding-bottom: 30px; }
    .c3-home-intro { padding: 30px 0 32px; }
    .c3-home-intro h1 { font-size: clamp(2rem, 10vw, 2.8rem) !important; }
    .c3-home-section { margin-top: 34px; }
    .c3-home-approach-grid { grid-template-columns: 1fr; gap: 20px; }
    .c3-home-approach-item,
    .c3-home-approach-item:first-child { padding: 0 0 0 17px; border-left: 2px solid #dfe4ec; }
    .c3-home-social-list { grid-template-columns: 1fr; }
}
