/* Fountain Court Chambers brand styles — opt-in via `.fc-page` on a wrapper or `fc-brand` body class */

/* Page background + Lato typography */
body.fc-brand {
    background: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)),
                url('/img/bg-head-pupillage-1a.webp') center top / cover no-repeat fixed;
    min-height: 100vh;
    font-family: 'Lato', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    color: #262626;
}

/* When loaded under the default layout, hide the layout's global top banner */
body.fc-brand .section.bg-banner {
    display: none !important;
}

.fc-page {
    font-family: 'Lato', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    color: #262626;
}

.fc-page h1, .fc-page h2, .fc-page h3, .fc-page h4, .fc-page h5 {
    color: #262626;
}

.fc-page h1.fc-heading,
.fc-page .fc-heading {
    font-weight: 900;
    letter-spacing: -0.02em;
    color: #262626;
}

/* Small uppercase red eyebrow label */
.fc-page .fc-section-label {
    color: #C02A11;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
    font-size: 0.75rem;
}

.fc-page .fc-section-label.with-rule::after {
    content: "";
    display: inline-block;
    width: 32px;
    height: 2px;
    background: #C02A11;
    vertical-align: middle;
    margin-left: 10px;
}

/* Intro / hero card with charcoal logo band */
.fc-page .fc-intro-card {
    border: none;
    border-radius: 2px;
    overflow: hidden;
}

.fc-page .fc-intro-header {
    background: #262626;
    padding: 1.25rem 1rem;
    text-align: center;
    border-bottom: 3px solid #C02A11;
}

.fc-page .fc-intro-header img {
    max-height: 48px;
    width: auto;
    display: inline-block;
}

/* Content section cards (left red border) */
.fc-page .fc-section-card {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-left: 3px solid #C02A11;
    border-radius: 2px;
    background: #fff;
}

.fc-page .fc-section-title {
    font-weight: 900;
    font-size: 1.25rem;
    letter-spacing: -0.01em;
    color: #C02A11;
    margin-bottom: 0.75rem;
}

.fc-page .fc-question {
    font-weight: 700;
    font-size: 1rem;
    color: #262626;
    margin-bottom: 0;
}

.fc-page .fc-question-intro {
    color: #555;
    font-size: 0.95rem;
}

/* Form control focus states in brand red */
.fc-page .form-control:focus,
.fc-page .form-select:focus {
    border-color: #C02A11;
    box-shadow: 0 0 0 0.15rem rgba(192, 42, 17, 0.15);
}

.fc-page .form-check-input:checked {
    background-color: #C02A11;
    border-color: #C02A11;
}

.fc-page .form-check-input:focus {
    border-color: #C02A11;
    box-shadow: 0 0 0 0.15rem rgba(192, 42, 17, 0.2);
}

/* Primary brand button */
.fc-page .fc-btn-primary,
.fc-page .btn-primary.fc-btn-primary {
    background-color: #C02A11;
    border: 1px solid #C02A11;
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.fc-page .fc-btn-primary:hover,
.fc-page .fc-btn-primary:focus,
.fc-page .fc-btn-primary:active {
    background-color: #A31D06 !important;
    border-color: #A31D06 !important;
    color: #fff !important;
    box-shadow: 0 0 0 0.2rem rgba(192, 42, 17, 0.2);
}

/* Secondary dark button */
.fc-page .fc-btn-secondary {
    background-color: #262626;
    border: 1px solid #262626;
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.fc-page .fc-btn-secondary:hover,
.fc-page .fc-btn-secondary:focus {
    background-color: #3a3a3a;
    border-color: #3a3a3a;
    color: #fff;
}

/* Links */
.fc-page a {
    color: #C02A11;
}

.fc-page a:hover {
    color: #A31D06;
}

/* App tile cards (Home-index style) */
.fc-page .fc-app-tile {
    display: block;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 2px;
    padding: 1.75rem 1.5rem;
    text-decoration: none;
    color: #262626;
    height: 100%;
    position: relative;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.fc-page .fc-app-tile::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 3px;
    height: 100%;
    background: #C02A11;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.2s ease;
}

.fc-page .fc-app-tile:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1.25rem rgba(0, 0, 0, 0.08);
    border-color: rgba(192, 42, 17, 0.25);
    color: #262626;
}

.fc-page .fc-app-tile:hover::before {
    transform: scaleY(1);
}

.fc-page .fc-app-tile .fc-tile-label {
    color: #C02A11;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    font-size: 0.7rem;
    margin-bottom: 0.5rem;
}

.fc-page .fc-app-tile .fc-tile-title {
    font-weight: 900;
    font-size: 1.15rem;
    letter-spacing: -0.01em;
    margin-bottom: 0.25rem;
    line-height: 1.2;
}

.fc-page .fc-app-tile .fc-tile-desc {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0;
}

.fc-page .fc-app-tile .fc-tile-arrow {
    display: inline-block;
    color: #C02A11;
    font-weight: 700;
    margin-top: 0.75rem;
    letter-spacing: 0.04em;
}

.fc-page .fc-app-tile .fc-tile-arrow::after {
    content: " →";
    transition: margin-left 0.15s ease;
    display: inline-block;
}

.fc-page .fc-app-tile:hover .fc-tile-arrow::after {
    margin-left: 4px;
}
