/* Inner pages that share the home page look */

.pg-section { padding-top: 64px; }
.pg-info {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.pg-info article {
    background: #fff;
    border-radius: 18px;
    padding: 26px 22px;
    box-shadow: 0 12px 32px rgba(11, 34, 57, .08);
    height: auto;
    align-self: stretch;
}
.pg-info i.pg-ico {
    width: 48px; height: 48px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center;
    background: var(--ma-blue-light); color: var(--ma-blue); font-size: 18px; margin-bottom: 14px;
}
.pg-info h3 { font-size: 16px; font-weight: 700; color: var(--ma-ink); margin: 0 0 8px; }
.pg-info p, .pg-info a { color: var(--ma-text); font-size: 14.5px; line-height: 1.65; margin: 0 0 8px; }
.pg-info a:hover { color: var(--ma-blue); text-decoration: none; }

.pg-split { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .75fr); gap: 28px; align-items: start; }
.pg-card, .pg-panel {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 12px 32px rgba(11, 34, 57, .08);
}
.pg-panel { padding: 28px 26px; }
.pg-panel h2, .pg-panel h3 {
    font-family: var(--ma-serif); color: var(--ma-ink); font-size: 26px; margin: 0 0 16px;
}
.pg-form .form-control {
    height: auto; border: 1px solid var(--ma-line); border-radius: 12px; padding: 12px 14px;
    font-size: 15px; color: var(--ma-ink); box-shadow: none; margin-bottom: 12px;
}
.pg-form textarea.form-control { min-height: 140px; }
.pg-form .form-control:focus { border-color: var(--ma-blue); box-shadow: 0 0 0 3px rgba(0, 128, 192, .12); }
.pg-form .form-group { margin-bottom: 14px; }
.pg-form .pg-label { display: block; font-size: 13px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; color: var(--ma-text); margin-bottom: 8px; }
.pg-choice { display: flex; flex-wrap: wrap; gap: 8px; }
.pg-choice label {
    display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 8px 14px;
    border: 1px solid var(--ma-line); border-radius: 50px; cursor: pointer; color: var(--ma-ink); font-weight: 600; font-size: 14px;
}
.pg-choice input { margin: 0; }
.pg-hours { list-style: none; padding: 0; margin: 0 0 22px; }
.pg-hours li {
    display: flex; justify-content: space-between; gap: 12px; padding: 9px 0;
    border-bottom: 1px solid var(--ma-line); color: var(--ma-ink); font-size: 15px;
}
.pg-hours li span { color: var(--ma-text); }
.pg-hours .closed { color: #c0392b; font-weight: 600; }
.pg-map { padding: 0 0 70px; background: #fff; }
.pg-map iframe { display: block; width: 100%; height: 420px; border: 0; border-radius: 18px; }

.pg-faq { max-width: 860px; margin: 0 auto; }
.pg-faq .card { border: 0; background: transparent; }
.pg-faq .card-header { padding: 0; background: transparent; border: 0; margin: 0; font-size: inherit; font-weight: inherit; line-height: inherit; }
.pg-faq .card-title {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    background: #fff; border-radius: 14px; padding: 18px 22px; margin-bottom: 10px;
    box-shadow: 0 8px 24px rgba(11, 34, 57, .06); color: var(--ma-ink); font-weight: 600; font-size: 17px;
}
.pg-faq .card-title:after { content: "+"; color: var(--ma-blue); font-size: 22px; font-weight: 400; line-height: 1; }
.pg-faq .card-title:not(.collapsed) { color: var(--ma-blue); }
.pg-faq .card-title:not(.collapsed):after { content: "–"; }
.pg-faq .card-title:hover { text-decoration: none; color: var(--ma-blue); }
.pg-faq .card-block { background: #fff; border-radius: 14px; padding: 4px 22px 18px; margin: -4px 0 10px; }
.pg-faq .card-block p { color: var(--ma-text); font-size: 16px; line-height: 1.7; margin: 0; }
.pg-faq hr { display: none; }

.pg-jobs { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 980px; margin: 8px auto 0; }
.pg-job h3 { font-size: 22px; margin-bottom: 8px; }
.pg-job p { color: var(--ma-text); line-height: 1.7; }
.pg-job-mail { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.pg-job-mail a { font-weight: 600; color: var(--ma-blue); }
.pg-lead { max-width: 820px; margin: 0 auto 36px; text-align: left; color: var(--ma-text); font-size: 17px; line-height: 1.75; }
.pg-lead p { margin: 0 0 14px; }
.pg-lead p:last-child { margin-bottom: 0; }

.pg-logos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pg-logo {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
    min-height: 150px; padding: 18px; background: #fff; border-radius: 16px; text-align: center;
    box-shadow: 0 12px 32px rgba(11, 34, 57, .08); color: var(--ma-ink);
}
.pg-logo img { max-width: 140px; max-height: 64px; object-fit: contain; }
.pg-logo span { font-size: 14px; font-weight: 600; }

.pg-award {
    display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 28px; align-items: center;
    background: #fff; border-radius: 18px; overflow: hidden; margin-bottom: 22px;
    box-shadow: 0 12px 32px rgba(11, 34, 57, .08);
}
.pg-award img { width: 100%; height: 220px; object-fit: cover; display: block; }
.pg-award-copy { padding: 22px 28px 22px 0; }
.pg-award-copy h2 { font-family: var(--ma-serif); font-size: 28px; color: var(--ma-ink); margin: 0 0 10px; }
.pg-award-copy p { color: var(--ma-text); line-height: 1.7; }

.pg-list { display: flex; flex-direction: column; gap: 28px; }
.pg-project {
    display: grid; grid-template-columns: minmax(260px, 420px) minmax(0, 1fr); gap: 0;
    background: #fff; border-radius: 18px; overflow: hidden;
    box-shadow: 0 12px 32px rgba(11, 34, 57, .08);
}
.pg-project-media { position: relative; min-height: 260px; background: var(--ma-soft); }
.pg-project-media img { width: 100%; height: 100%; object-fit: cover; display: block; position: absolute; inset: 0; }
.pg-scale {
    position: absolute; top: 16px; left: 16px; z-index: 1; padding: 6px 14px; border-radius: 50px;
    background: #fff; color: var(--ma-blue-dark); font-weight: 600; font-size: 13px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .12);
}
.pg-project-body { padding: 28px 30px; }
.pg-project-body h2 { font-family: var(--ma-serif); font-size: 28px; color: var(--ma-ink); margin: 0 0 8px; }
.pg-loc { color: var(--ma-text); margin: 0 0 12px; }
.pg-loc i { color: var(--ma-blue); margin-right: 4px; }
.pg-project-body p { color: var(--ma-text); line-height: 1.7; }
.pg-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.pg-actions .property-magnify-gallery { display: contents; }
.pg-actions .hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.pg-detail-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(300px, .7fr); gap: 32px; align-items: start; }
.pg-side { position: sticky; top: 110px; }
.pg-gallery .carousel-inner { border-radius: 18px; overflow: hidden; background: var(--ma-navy); }
.pg-gallery .carousel-item img { width: 100%; height: 460px; object-fit: cover; }
.pg-thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 0; padding: 0; position: static; }
.pg-thumbs li { width: 86px; height: 64px; margin: 0; text-indent: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; opacity: 1; background: none; }
.pg-thumbs li.active { border-color: var(--ma-blue); }
.pg-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pg-copy img, .pg-copy iframe, .pg-project-body img { max-width: 100%; height: auto; }
.pg-copy h2 { font-family: var(--ma-serif); font-size: 34px; color: var(--ma-ink); margin: 0 0 12px; }
.pg-copy p { color: var(--ma-text); font-size: 16px; line-height: 1.75; }
.pg-video { margin-top: 28px; border-radius: 18px; overflow: hidden; background: var(--ma-navy); aspect-ratio: 16 / 9; }
.pg-video iframe { width: 100%; height: 100%; border: 0; }
.pg-help { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; padding: 16px 18px; background: #fff; border-radius: 16px; box-shadow: 0 12px 32px rgba(11, 34, 57, .08); }
.pg-help a { color: #128c7e; font-size: 28px; }

@media (max-width: 991px) {
    .pg-info, .pg-logos { grid-template-columns: 1fr 1fr; }
    .pg-split, .pg-detail-grid, .pg-project, .pg-award, .pg-jobs { grid-template-columns: 1fr; }
    .pg-side { position: static; }
    .pg-award-copy { padding: 8px 22px 22px; }
    .pg-project-media { min-height: 220px; }
    .pg-project-media img { position: static; height: 240px; }
    .pg-gallery .carousel-item img { height: 280px; }
}
@media (max-width: 767px) {
    .pg-info, .pg-logos { grid-template-columns: 1fr; }
    .pg-map iframe { height: 280px; }
}
