/* ============================================================
   ALBION LAW FIRM — Shared Page Styles (pages.css)
   All inner pages: banner, 2-col, cards, gallery, CTA strip
   Loaded after main.css and responsive.css
============================================================ */

/* ── PAGE BANNER (shared by all inner pages) ──────────────── */
.page-banner {
    position: relative;
    padding: 100px 0 70px;
    color: #fff;
    text-align: center;
    overflow: hidden;
    min-height: 280px;
    display: flex;
    align-items: center;
}
.page-banner .container { position: relative; z-index: 2; }
.page-banner .bg-stretch { position: absolute; inset: 0; z-index: 0; }
.page-banner .bg-stretch::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,26,48,0.90) 0%, rgba(15,36,64,0.85) 100%);
}
.page-banner .bg-stretch img { width: 100%; height: 100%; object-fit: cover; }
.page-banner__title {
    font-family: 'Libre Baskerville', serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 12px;
    line-height: 1.2;
}
.page-banner__subtitle {
    color: #cbd5e0;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 18px;
    line-height: 1.65;
}
@media (max-width: 767px) {
    .page-banner { padding: 70px 0 50px; }
    .page-banner__title { font-size: 2rem; }
    .page-banner__subtitle { font-size: 1rem; }
}

/* ── BREADCRUMB NAV ───────────────────────────────────────── */
.breadcrumb-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.9rem;
    color: #94a3b8;
}
.breadcrumb-nav a { color: #d4af37; text-decoration: none; }
.breadcrumb-nav a:hover { text-decoration: underline; }
.breadcrumb-sep { color: #64748b; }

/* ── INNER PAGE 2-COL LAYOUT ──────────────────────────────── */
.inner-two-col {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 48px;
    align-items: start;
}
@media (max-width: 1023px) { .inner-two-col { grid-template-columns: 1fr; gap: 32px; } }

/* ── INNER-PAGE CONTENT AREA ──────────────────────────────── */
.inner-content {
    background: #ffffff;
    border-radius: 10px;
    padding: 48px;
    box-shadow: 0 2px 20px rgba(15,36,64,0.07);
}
@media (max-width: 767px) { .inner-content { padding: 24px 20px; } }
.inner-content h2 {
    font-family: 'Libre Baskerville', serif;
    font-size: 2rem;
    color: #0f2440;
    font-weight: 700;
    margin: 0 0 16px;
    line-height: 1.25;
}
.inner-content h3 {
    font-family: 'Libre Baskerville', serif;
    font-size: 1.35rem;
    color: #0f2440;
    font-weight: 700;
    margin: 28px 0 12px;
}
.inner-content p {
    font-size: 0.97rem;
    line-height: 1.8;
    color: #475569;
    margin: 0 0 16px;
}
.inner-content ul {
    padding-left: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0 0 24px;
}
.inner-content ul li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.55;
}
.inner-content ul li::before {
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #d4af37;
    flex-shrink: 0;
    margin-top: 7px;
}
.inner-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #d4af37;
    margin-bottom: 8px;
}

/* ── SIDEBAR CARD ─────────────────────────────────────────── */
.inner-sidebar { display: flex; flex-direction: column; gap: 24px; }
.sidebar-cta-card {
    background: #0f2440;
    border-radius: 10px;
    padding: 32px 28px;
    color: #fff;
}
.sidebar-cta-card h3 {
    font-family: 'Libre Baskerville', serif;
    font-size: 1.25rem;
    color: #d4af37;
    font-weight: 700;
    margin: 0 0 12px;
}
.sidebar-cta-card p {
    color: #cbd5e0;
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0 0 20px;
}
.sidebar-cta-card .btn--secondary {
    width: 100%;
    justify-content: center;
    text-align: center;
}
.sidebar-links-card {
    background: #fff;
    border-radius: 10px;
    padding: 28px;
    box-shadow: 0 2px 16px rgba(15,36,64,0.07);
}
.sidebar-links-card h4 {
    font-family: 'Libre Baskerville', serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f2440;
    margin: 0 0 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #1d40ca;
    display: inline-block;
}
.sidebar-links-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sidebar-links-card ul li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 0;
    color: #334155;
    font-size: 0.92rem;
    text-decoration: none;
    border-bottom: 1px solid #f1f5f9;
    transition: color 0.2s, padding-left 0.2s;
}
.sidebar-links-card ul li a::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #1d40ca;
    flex-shrink: 0;
    transition: background 0.2s;
}
.sidebar-links-card ul li a:hover {
    color: #1d40ca;
    padding-left: 6px;
}
.sidebar-links-card ul li:last-child a { border-bottom: none; }

/* ── GRID CARDS (cases, lawyers, etc.) ────────────────────── */
.page-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
@media (max-width: 1023px) { .page-card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .page-card-grid { grid-template-columns: 1fr; } }

.page-card-grid--2col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}
@media (max-width: 767px) { .page-card-grid--2col { grid-template-columns: 1fr; } }

/* ── GENERIC CARD ─────────────────────────────────────────── */
.pg-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 32px 28px;
    box-shadow: 0 2px 16px rgba(15,36,64,0.07);
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
    overflow: hidden;
}
.pg-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 32px rgba(15,36,64,0.12);
}
.pg-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: #d4af37;
}
.pg-card--navy::before { background: #0f2440; }
.pg-card__label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #d4af37;
}
.pg-card--navy .pg-card__label { color: #0f2440; }
.pg-card__title {
    font-family: 'Libre Baskerville', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f2440;
    margin: 0;
    line-height: 1.3;
}
.pg-card__text {
    font-size: 0.93rem;
    color: #64748b;
    line-height: 1.65;
    margin: 0;
    flex: 1;
}
.pg-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 700;
    color: #1d40ca;
    text-decoration: none;
    margin-top: 4px;
}
.pg-card__link:hover { color: #0f2440; gap: 12px; }

/* ── CTA STRIP (bottom of every page) ────────────────────── */
.page-cta-strip {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
}
.page-cta-strip .bg-stretch { position: absolute; inset: 0; z-index: 0; }
.page-cta-strip .bg-stretch::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,26,48,0.92) 0%, rgba(15,36,64,0.88) 100%);
}
.page-cta-strip .bg-stretch img { width: 100%; height: 100%; object-fit: cover; }
.page-cta-strip .container { position: relative; z-index: 2; }
.page-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}
.page-cta-text h2 {
    font-family: 'Libre Baskerville', serif;
    font-size: 2rem;
    color: #ffffff;
    font-weight: 700;
    margin: 0 0 10px;
}
.page-cta-text p { color: #cbd5e0; font-size: 1rem; margin: 0; line-height: 1.6; }
.page-cta-btns { display: flex; gap: 16px; flex-wrap: wrap; flex-shrink: 0; }
@media (max-width: 767px) {
    .page-cta-inner { flex-direction: column; text-align: center; }
    .page-cta-btns { justify-content: center; }
    .page-cta-text h2 { font-size: 1.6rem; }
}

/* ── SECTION HEADING BLOCK ────────────────────────────────── */
.page-section-heading {
    text-align: center;
    margin-bottom: 48px;
}
.page-section-heading .eyebrow {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #d4af37;
    margin-bottom: 10px;
}
.page-section-heading h2 {
    font-family: 'Libre Baskerville', serif;
    font-size: 2.2rem;
    color: #0f2440;
    font-weight: 700;
    margin: 0 0 12px;
    line-height: 1.2;
}
.page-section-heading p {
    font-size: 1rem;
    color: #64748b;
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.65;
}
@media (max-width: 767px) {
    .page-section-heading h2 { font-size: 1.7rem; }
}

/* ── LAWYER CARD GRID ──────────────────────────────────────── */
.lawyer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}
@media (max-width: 1199px) { .lawyer-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px)  { .lawyer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px)  { .lawyer-grid { grid-template-columns: 1fr; } }

.lawyer-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(15,36,64,0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.lawyer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 36px rgba(15,36,64,0.13);
}
.lawyer-card__img {
    height: 280px;
    overflow: hidden;
    background: #0f2440;
}
.lawyer-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.4s ease;
}
.lawyer-card:hover .lawyer-card__img img { transform: scale(1.04); }
.lawyer-card__body {
    padding: 22px 20px;
    text-align: center;
}
.lawyer-card__name {
    font-family: 'Libre Baskerville', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f2440;
    margin: 0 0 5px;
}
.lawyer-card__pos {
    font-size: 0.82rem;
    font-weight: 700;
    color: #d4af37;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 12px;
}
.lawyer-card__bio {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0 0 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.lawyer-card__link {
    display: inline-block;
    padding: 8px 20px;
    border: 1.5px solid #0f2440;
    border-radius: 4px;
    color: #0f2440;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}
.lawyer-card__link:hover {
    background: #0f2440;
    color: #fff;
}
