/* =========================================================
   Books Asia - Custom CSS
   Site launched: 2015 (Porto template)
   Redesigned: April 2026 (custom build, no template)
   Cleaned, consolidated, and modernised
   ========================================================= */
/* Small devices (tablets, 768px and up) */
/*    @media (min-width: 768px) { ... }
/* Medium devices (desktops, 992px and up) */
/*    @media (min-width: 992px) { ... }
/* Large devices (large desktops, 1200px and up) */
/*    @media (min-width: 1200px) { ... }
 
/* ---------------------------------------------------------
   Base text / general
   --------------------------------------------------------- */
:root {
    --ba-white: #ffffff;

    /* Text */
    --ba-text: #2f3a44;
    --ba-text-soft: #334454;

    /* Brand colours */
    --ba-primary: #23425d;
    --ba-primary-hover: #1f4f78;

    /* Headings */
    --ba-heading-blue: #1f4f78;
    --ba-heading-blue-2: #28577f;

    /* Accent */
    --ba-accent-gold: #CC9900;

    /* Backgrounds */
    --ba-bg-hover: #eef5fb;

    /* Borders */
    --ba-border-soft: #dbe6ef;
    --ba-border-soft-2: #d9e3ec;
}
   
body {
    font-family: 'Manrope', sans-serif;
    background-color: var(--ba-white);
    font-size: 17px;
    line-height: 1.7;
    color: var(--ba-text);
}

body.ba-wait {
    cursor: wait !important;	/* not used at the moment */
}

p {
	color: var(--ba-text);
	line-height: 1.7;
	margin: 0 0 1.1em 0;
}

li,
td,
th,
label {
	line-height: 1.7;
	color: #2f3a44;
}

h3,
h4,
h5 {
	text-transform: none;
}

h5 {
	color: #CC9900;
}

/* reserve space for the vertical scrollbar, even on shorter pages */
html {
	overflow-y: scroll;
}

/* ---------------------------------------------------------
   Typography + readability
   --------------------------------------------------------- */

.lead {
	font-size: 1.22em;
	line-height: 1.68;
	font-weight: 400;
	color: #334454;
	margin-bottom: 1em;
}

h1, .h1 {
	font-size: 36px;
	line-height: 1.25;
	font-weight: 700;
	color: #1f4f78;
	margin-top: 0;
	margin-bottom: 18px;
}

h2, .h2 {
	font-size: 30px;
	line-height: 1.3;
	font-weight: 700;
	color: #28577f;
	margin-top: 0;
	margin-bottom: 16px;
}

h3, .h3 {
	font-size: 24px;
	line-height: 1.35;
	font-weight: 700;
	color: #CC9900;
	margin-top: 0;
	margin-bottom: 14px;
}

h4, .h4 {
	font-size: 20px;
	line-height: 1.4;
	font-weight: 700;
	color: #476d8a;
	margin-top: 0;
	margin-bottom: 12px;
}

h5, .h5 {
	font-size: 17px;
	line-height: 1.45;
	font-weight: 700;
	color: #5a7a94;
	margin-top: 0;
	margin-bottom: 10px;
}

h6, .h6 {
	font-size: 15px;
	line-height: 1.45;
	font-weight: 700;
	color: #6b859b;
	margin-top: 0;
	margin-bottom: 10px;
}

ul,
ol {
	margin-bottom: 1.1em;
}

li {
	margin-bottom: 0.22em;
}

a {
	text-underline-offset: 2px;
}

a:hover,
a:focus {
	text-decoration: underline;
}

.form-control {
	font-size: 16px;
	line-height: 1.5;
	height: 40px;
}

textarea.form-control {
	height: auto;
	min-height: 110px;
}

.help-block {
	font-size: 14px;
	line-height: 1.55;
}

.btn {
	font-size: 15px;
	line-height: 1.45;
	padding: 9px 16px;
	border-radius: 6px;
	font-weight: 600;
}

.table > thead > tr > th,
.table > tbody > tr > th,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > tbody > tr > td,
.table > tfoot > tr > td {
	line-height: 1.55;
	padding: 10px;
}

/* ---------------------------------------------------------
   Jumbotrons / feature panels
   --------------------------------------------------------- */

.jumbotron {
	padding: 30px 26px;
	border-radius: 12px;
	background: #ffffff;
	border: 2px solid #d9e3ec;
	box-shadow: none;
}

.jumbotron p,
.jumbotron li {
	line-height: 1.7;
	color: #2f3a44;
}

.jumbotron h1,
.jumbotron .h1,
.jumbotron h2,
.jumbotron .h2,
.jumbotron h3,
.jumbotron .h3,
.jumbotron h4,
.jumbotron .h4 {
	margin-top: 0;
}

.jumbotron-warning {
	padding: 26px 22px;
	margin-bottom: 20px;
	border-radius: 12px;
	background-color: #a61e1e;
	border: 2px solid #8f1818;
	box-shadow: none;
	color: #FFFFFF;
}

.jumbotron-warning h1,
.jumbotron-warning .h1,
.jumbotron-warning h2,
.jumbotron-warning .h2,
.jumbotron-warning h3,
.jumbotron-warning .h3,
.jumbotron-warning h4,
.jumbotron-warning .h4 {
	color: #ffffff;
}

.jumbotron-warning p,
.jumbotron-warning li {
	line-height: 1.65;
	color: #ffffff;
}

/* ---------------------------------------------------------
   Utility helpers
   --------------------------------------------------------- */

.center,
.text-center-custom {
	text-align: center;
}

/*
.section-gap-sm { margin-top: 24px; }
.section-gap    { margin-top: 40px; }
.section-gap-lg { margin-top: 60px; }
*/

.section-gap-sm { height: 20px; }
.section-gap    { height: 30px; }
.section-gap-lg { height: 40px; }

.zoomonhover:hover {
	-ms-transform: scale(4);
	-webkit-transform: scale(4);
	transform: scale(4);
	border: 1px solid grey;
}

/* ---------------------------------------------------------
   Spinner / loader
   --------------------------------------------------------- */

.loader {
	border: 6px solid #f3f3f3;
	border-top: 6px solid #0088cc;
	border-radius: 50%;
	width: 40px;
	height: 40px;
	animation: spin 1s linear infinite;
	margin: 0 auto 10px;
}

@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

/* 07-04-2026 Google AI Mode - ensure we scroll to the visible portion when use link to a Page Id */
/* for example <a href="/services.php#marc-records">MARC Records</a> */
/* Adjust the 100px to match the actual height of your header */
html {
    scroll-behavior: smooth;
}

[id] {
    scroll-margin-top: 250px !important;
}

/* ---------------------------------------------------------
   DataTables
   --------------------------------------------------------- */

div.dataTables_wrapper div.top {
	display: flex;
	align-items: center;
	gap: 8px;
}

div.dt-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 14px;
}

div.dt-buttons button {
	background-color: #4CAF50;
	color: white;
	border: none;
	padding: 6px 14px;
	border-radius: 4px;
	font-size: 14px;
	cursor: pointer;
	transition: background-color 0.2s ease, transform 0.1s ease;
}

div.dt-buttons button:hover {
	background-color: #45a049;
	transform: translateY(-1px);
}

div.dt-buttons button:active {
	box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
}

div.dt-buttons button.print {
	background-color: #888888;
}

div.dt-buttons button.excel {
	background-color: #107C41;
}

div.dt-buttons button.pdf {
	background-color: #B22222;
}

div.dt-buttons button.print:hover { background-color: #666666; }
div.dt-buttons button.excel:hover { background-color: #0D5C31; }
div.dt-buttons button.pdf:hover { background-color: #8B0000; }

div.dataTables_wrapper div.top .dataTables_paginate {
	margin-right: auto;
}

div.dataTables_wrapper div.top .dataTables_filter {
	margin: 0 auto;
}

div.dataTables_wrapper div.top .dt-buttons {
	margin-left: auto;
}

div.dataTables_wrapper div.dataTables_filter label {
	font-weight: normal;
	margin-bottom: 0;
}

div.dataTables_wrapper div.dataTables_filter input {
	width: 160px;
	height: 26px;
	font-size: 12px;
	border-radius: 4px;
}

div.dataTables_wrapper .dataTables_paginate .paginate_button {
	background-color: #0088cc !important;
	color: white !important;
	border: none;
	border-radius: 4px;
	padding: 4px 10px;
	margin: 0 2px;
	cursor: pointer;
	transition: background-color 0.2s ease, transform 0.1s ease;
}

div.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
	background-color: #0077b3 !important;
	transform: translateY(-1px);
}

div.dataTables_wrapper .dataTables_paginate .paginate_button.current {
	background-color: #005f80 !important;
	color: #fff !important;
}

div.dataTables_wrapper .dataTables_paginate .paginate_button.disabled {
	background-color: #66b3d9 !important;
	color: #fff !important;
	cursor: not-allowed;
	opacity: 0.6;
}

div.dataTables_wrapper div.bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

div.dataTables_wrapper div.bottom .dataTables_paginate {
	order: 1;
}

div.dataTables_wrapper div.bottom .dataTables_info {
	order: 2;
	text-align: right;
}

/* ---------------------------------------------------------
   Cookie alert
   --------------------------------------------------------- */

.cookie-alert {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	background-color: #333;
	color: #ffffff !important;
	font-size: 16px;
	font-weight: 400;
	z-index: 9999;
	padding: 15px 25px;
	text-align: center;
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	line-height: 1.6;
	box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
	border-top: 5px solid #ffd700;
	border-bottom: 5px solid #ffd700;
	opacity: 0;
	transform: translateY(100%);
	transition: opacity 0.5s ease, transform 0.5s ease;
}

.cookie-alert.show {
	opacity: 1;
	transform: translateY(0);
}

.cookie-alert p {
	display: inline-block;
	margin: 0 10px 0 0;
	vertical-align: middle;
	color: #ffffff !important;
	font-size: 16px;
}

.cookie-alert a {
	color: #ffd700;
	text-decoration: underline;
	font-weight: bold;
	font-size: 16px;
	transition: color 0.3s ease;
}

.cookie-alert a:hover {
	color: #e0b800;
}

.cookie-alert button {
	display: inline-block;
	vertical-align: middle;
	background-color: #ffd700;
	color: #333;
	border: none;
	padding: 8px 18px;
	border-radius: 5px;
	cursor: pointer;
	font-weight: bold;
	font-size: 16px;
	transition: background-color 0.3s ease;
}

.cookie-alert button:hover {
	background-color: #e0b800;
}

/* ---------------------------------------------------------
   Hero section
   --------------------------------------------------------- */

.hero-home-row {
	background: url("/img/booksasia/hero/Pastel Banner Image1.jpg") no-repeat center center;
	background-size: cover;
	padding: 118px 20px;
}

.hero-row__container {
	display: flex;
	justify-content: space-between;
	max-width: 1200px;
	margin: 0 auto;
	gap: 20px;
	flex-wrap: wrap;
}

.hero-item {
	background: rgba(255,255,255,0.7);
	padding: 30px 25px;
	border-radius: 12px;
	box-shadow: 0 6px 20px rgba(0,0,0,0.15);
	flex: 1;
	min-width: 250px;
	text-align: center;
}

.hero-item h2 {
	font-size: 28px;
	font-weight: 700;
	margin: 0 0 10px 0;
	color: #222;
}

.hero-item p {
	font-size: 16px;
	line-height: 1.5;
	color: #222;
	margin: 0;
}

/* ---------------------------------------------------------
   Home survey
   --------------------------------------------------------- */

.home-survey-section {
	margin-top: 60px;	/* margin = space outside */
	margin-right: 0;
	margin-bottom: 20px;
	margin-left: 0;
	padding-top: 0;		/* padding = space inside */
	padding-right: 20px;
	padding-bottom: 0;
	padding-left: 20px;
}

.home-survey-container {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	justify-content: center;
}

.home-survey-card {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	width: 100%;
	max-width: 760px;
	padding: 14px 18px;
	border-top: 1px solid #e6dcc0;
	border-right: 10px solid #c5c5c5;
	border-bottom: 1px solid #e6dcc0;
	border-left: 10px solid #c5c5c5;
	border-radius: 8px;
	background: #f8f3dc;
}

.home-survey-card--complete {
	border-top-color: #b7dfc8;
	border-right-color: #7bc491;
	border-bottom-color: #b7dfc8;
	border-left-color: #7bc491;
	background: linear-gradient(to bottom, #f4fbf7, #e8f6ee);
}

.home-survey-card__icon {
	flex: 0 0 46px;          /* slightly wider column */
	font-size: 32px;         /* bigger icon */
	line-height: 1;
	padding-top: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #c49a2c;
}

.home-survey-card--complete .home-survey-card__icon {
	color: #3d8b5f;
}

.home-survey-card__body {
	flex: 1;
	min-width: 0;
}

.home-survey-card__intro {
	margin: 0 0 4px;
	font-size: 11.5px;
	line-height: 1.3;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #8c7a2a;
}

.home-survey-card--complete .home-survey-card__intro {
	color: #2f6f4d;
}

.home-survey-card__question {
	margin: 0 0 10px;
	font-size: 19px;
	line-height: 1.35;
	font-weight: 700;
	color: #23425d;
}

.home-survey-card__form {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0;
}

.home-survey-card__option {
	border: 1px solid #e6d7a3;
	border-radius: 999px;
	background: #fff;
	color: #23425d;
	padding: 6px 12px;
	font-size: 13px;
	line-height: 1.3;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
}

.home-survey-card__option:hover,
.home-survey-card__option:focus {
	border-color: #d4b24c;
	box-shadow: 0 0 0 3px rgba(212, 178, 76, 0.15);
	outline: none;
}

.home-survey-card__actions {
	margin-top: 12px;
}

.home-survey-card__actions--inline {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
}

.home-survey-card__inline-form {
	margin: 0;
}

.home-survey-card__dismiss-button,
.home-survey-card__login-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	border-radius: 8px;
	padding: 8px 14px;
	font-size: 14px;
	line-height: 1.3;
	font-weight: 700;
	transition: all 0.2s ease;
	text-decoration: none;
	min-height: 42px;
}

.home-survey-card__dismiss-button {
	border: 1px solid #111;
	background: #111;
	color: #fff;
	cursor: pointer;
}

.home-survey-card__dismiss-button:hover,
.home-survey-card__dismiss-button:focus {
	border-color: #000;
	background: #000;
	color: #fff;
	box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.16);
	outline: none;
}

.home-survey-card__login-button {
	border: 1px solid #23425d;
	background: #23425d;
	color: #fff;
	text-decoration: none;
	cursor: pointer;
}

.home-survey-card__login-button:hover,
.home-survey-card__login-button:focus,
.home-survey-card__login-button:active,
.home-survey-card__login-button:visited {
	background: #3d8b5f;
	border-color: #122739;
	color: #fff;
	text-decoration: none;
	box-shadow: 0 0 0 3px rgba(35, 66, 93, 0.18);
	outline: none;
}

.home-survey-card__login-text {
    margin: 14px 0 12px;
    padding-left: 10px;
    border-left: 3px solid #d4a017;   /* warm accent line */
    font-size: 15px;
    line-height: 1.5;
    color: #4a3f1a;                   /* much darker = readable */
    font-weight: 600;
}

.home-survey-results {
	margin-top: 4px;
}

.home-survey-results__row + .home-survey-results__row {
	margin-top: 10px;
}

.home-survey-results__label-line {
	margin-bottom: 4px;
	font-size: 14px;
	line-height: 1.4;
	color: #23425d;
}

.home-survey-results__label {
	font-weight: 600;
}

.home-survey-results__bar {
	width: 100%;
	height: 10px;
	overflow: hidden;
	border-radius: 999px;
	background: rgba(212, 178, 76, 0.18);
}

.home-survey-results__fill {
	height: 100%;
	border-radius: 999px;
	background: linear-gradient(to right, #d4b24c, #e7c96a);
}

.home-survey-card--complete .home-survey-results__bar {
	background: rgba(61, 139, 95, 0.14);
}

.home-survey-card--complete .home-survey-results__fill {
	background: linear-gradient(to right, #4ea56f, #7bc491);
}

.home-survey-card__form--disabled {
	pointer-events: none;
}

.home-survey-card__option--disabled {
    opacity: 1;                    /* keep text crisp */
    background: #f5f1e6;           /* soft warm background */
    color: #5f5a4b;                /* darker = readable */
    cursor: not-allowed;           /* clearer signal than default */
    box-shadow: none;
    border: 1px dashed #d8cfb8;    /* subtle �inactive� cue */
}

.home-survey-card__footer {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 12px;
	margin-top: 12px;
}

.home-survey-card__closing-text {
	font-size: 13px;
	line-height: 1.3;
	font-weight: 600;
	color: #6f6a58;
	text-align: right;
	white-space: nowrap;
}

.home-survey-card--complete .home-survey-card__closing-text {
	color: #4f6f5a;
}

/* =========================================================
   Cover Image Zoom (shared across site) - consolidated 18-04-2026
   Shared Book Cover Styling
   ========================================================= */
/* Small cover images (tables, basket, thumbnails) */
.search-results-cover,
.basket-cover,
.sb-cover {
    border-radius: 8px;   /* or 10px / 12px if you prefer */
}

.zoomonhover {
    transition: transform 0.2s ease;
}

.zoomonhover:hover {
    transform: scale(2);
    position: relative;
    z-index: 20;
    border: 1px solid #d8e2ea;
    border-radius: 14px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
    background: #fff;
}

/* old cover image styles which used  search.css */
.search-result-cover-wrap {
    text-align: center;
}

.search-result-cover {
    max-width: 225px;
    width: 100%;
    height: auto;
    border-radius: 14px;
    border: 1px solid #d8e2ea;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
    background: #fff;
}

.search-result-cover.placeholder {
    padding: 4px;
    box-sizing: border-box;
}

@media (max-width: 767px) {
	.home-survey-section {
		padding-right: 15px;
		padding-left: 15px;
	}

	.home-survey-card {
		flex-direction: column;
		gap: 10px;
		padding: 14px;
	}

	.home-survey-card__icon {
		font-size: 22px;
	}

	.home-survey-card__question {
		font-size: 17px;
	}

	.home-survey-card__form,
	.home-survey-card__actions--inline {
		flex-direction: column;
		align-items: stretch;
	}

	.home-survey-card__option,
	.home-survey-card__dismiss-button,
	.home-survey-card__login-button,
	.home-survey-card__inline-form {
		width: 100%;
	}

	.home-survey-card__dismiss-button,
	.home-survey-card__login-button {
		justify-content: center;
		text-align: center;
	}

	.home-survey-card__inline-form .home-survey-card__dismiss-button {
		width: 100%;
	}

	.home-survey-card__footer {
		flex-direction: column;
		align-items: stretch;
	}

	.home-survey-card__closing-text {
		text-align: left;
		white-space: normal;
	}
}

/* ---------------------------------------------------------
   Search panels / search forms
   --------------------------------------------------------- */

.search-panel {
	background: #e9ecef;
	padding: 6px 10px;
	border-radius: 6px;
	margin-bottom: 8px;
	font-size: 13px;
	color: #333;
}

.search-panel .form-group {
	margin-bottom: 2px !important;
}

.search-panel label {
	font-size: 12px;
	margin-bottom: 1px;
	display: block;
}

.search-panel input.form-control,
.search-panel select.form-control {
	height: 28px;
	font-size: 12px;
	padding: 2px 6px;
}

.search-panel .search-button {
	height: 28px;
	min-width: 130px;
	font-size: 12px;
	color: #fff;
	border: none;
	text-align: center;
	margin-top: 0;
}

#ISBNSearch .search-button {
	background-color: #007bff;
}

#SearchBooks .search-button {
	background-color: #28a745;
}

#resetAllForms {
	background-color: #999;
}

#ISBNSearch .search-button:hover,
#SearchBooks .search-button:hover,
#resetAllForms:hover {
	opacity: 0.85;
	cursor: pointer;
}

#SearchBooks .form-group {
	margin-bottom: 2px !important;
}

#SearchBooks .form-group .col-md-3,
#SearchBooks .form-group .col-md-2 {
	padding-bottom: 0;
}

#SearchBooks label {
	font-size: 12px;
	margin-bottom: 1px;
}

#SearchBooks .form-control {
	height: 28px;
	font-size: 12px;
	padding: 2px 6px;
}

#SearchBooks .search-button {
	margin-top: 0;
}

.criteria-summary {
	background: #f1f3f5;
	border: 1px solid #d6d6d6;
	border-radius: 6px;
	padding: 6px 10px;
	font-size: 12px;
	font-family: Arial, sans-serif;
	color: #333;
	margin: 6px 0;
	white-space: nowrap;
	overflow-x: auto;
}

/* ---------------------------------------------------------
   Wider desktop container
   --------------------------------------------------------- */

@media (min-width: 1200px) {
	.container {
		width: 1200px;
	}

	#header > .container {
		max-width: 1320px;
	}
}

/* ---------------------------------------------------------
   Home intro + CTA section
   --------------------------------------------------------- */

.home-intro-accent-heading,
h5.home-intro-accent-heading {
	color: #CC9900;
	font-size: 15pt;
	line-height: 1.45;
	text-transform: none;
	font-weight: 700;
	margin-top: 0;
	margin-bottom: 20px;
}

.home-intro-container {
	padding-top: 10px;
	padding-bottom: 10px;
}

.home-intro-row {
	flex-wrap: wrap;
	align-items: stretch;
}

/* -----------------------------------------
   Home intro - left column
   ----------------------------------------- */

.home-intro-main-col {
	display: block;
	padding-top: 8px;
	padding-bottom: 8px;
}

.home-intro-lead {
	display: block;
	width: 90%;
	float: none;
	clear: both;
	font-size: 3rem;
	line-height: 1.4;
	font-weight: 600;
	color: var(--ba-accent-gold);			/* --ba-heading-blue: #1f4f78; */
	margin: 0 0px 26px 0;
}

.home-aligned-block {
	display: block;
	width: 100%;
	float: none;
	clear: both;
	max-width: none;
	margin: 0;
	padding: 0;
}

/* language list on home page */
.home-language-list {
	list-style: none;
	margin: 0 0 20px 0;
	padding: 0;
}

/* Maintain original h4 style for links */
.home-language-list a {
    color: inherit;
    text-decoration: none;
    font-size: inherit;
    font-weight: inherit;
    transition: color 0.3s ease;
}

/* Identical hover effect for the 3rd include */
.home-language-list a:hover {
    color: #3a6ea5;
    text-decoration: underline; /* The universal 'it's a link' signal */
}

.home-language-list li {
	position: relative;
	margin: 0 0 14px 0;
	padding: 0 0 0 22px;
	font-size: 1.8rem;
	line-height: 1.65;
	color: #4a4a4a;
}

.home-language-list li:before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.72em;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #cc9900;
	transform: translateY(-50%);
}

.home-language-list strong {
	color: #23425d;
	font-weight: 800;
}

.home-language-link {
	margin: 0 0 18px 0;
	font-size: 1.8rem;
	line-height: 1.6;
	color: #4a4a4a;
}

.home-language-link a {
	color: #0056b3;
	text-decoration: underline;
}

.home-language-link a:hover {
	text-decoration: none;
}

.home-intro-footline {
	margin-top: 22px;
	font-size: 1.75rem;
	line-height: 1.6;
	font-weight: 700;
	color: #23425d;
	opacity: 0.9;
	max-width: 700px;   /* try 580�680px */	
}

/* -----------------------------------------
   Home CTA - right column
   ----------------------------------------- */
.home-cta-col {
	display: flex;
	flex-direction: column;
	/* border-left: 1px solid #dbe6ef; */
}

.home-cta-stack {
	width: 100%;
	display: flex;
	flex-direction: column;
	height: 100%;
}

.home-cta-tile {
	display: block;
	text-decoration: none !important;
	border-radius: 16px;
	padding: 26px 24px;
	margin-bottom: 22px;
	border: 1px solid rgba(45, 85, 120, 0.10);
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.home-cta-tile:last-child {
	margin-bottom: 0;
}

.home-cta-booklist {
	background: linear-gradient(135deg, #eef5fb 0%, #dceaf6 100%);
	color: #23425d !important;
}

.home-cta-feedback {
	background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
	color: #7c2d12 !important;
}

.home-cta-insights {
	background: linear-gradient(135deg, #eef7f7 0%, #dcebea 100%);
	color: #234c4a !important;
}

.home-cta-survey {
	background: linear-gradient(135deg, #eef7f7 0%, #dcebea 100%);
	color: #234c4a !important;

	border: 2px solid #c94b32;

	box-shadow:
		0 8px 22px rgba(0, 0, 0, 0.08),
		inset 0 1px 0 rgba(255,255,255,0.55);
}

.home-cta-survey .home-cta-title {
	color: #b63f2b;
	font-weight: 700;
}

.home-cta-label {
	display: inline-block;
	font-size: 1.08rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.55px;
	margin-bottom: 10px;
	line-height: 1.3;
	opacity: 0.82;
}

.home-cta-title {
	display: block;
	font-size: 2.1rem;
	line-height: 1.18;
	font-weight: 800;
	margin-bottom: 16px;
	color: #1f3f5a;
	position: relative;
}

.home-cta-title:after {
	content: "";
	display: block;
	width: 40px;
	height: 3px;
	background: #d4e6f5;
	margin-top: 9px;
	border-radius: 2px;
}

.home-cta-feedback .home-cta-title:after {
	background: #d2dee8;
}

.home-cta-insights .home-cta-title {
	color: #1f4a47;
}

.home-cta-insights .home-cta-title:after {
	background: #cfe1df;
}

.home-cta-text,
.home-cta-compact .home-cta-text {
	font-size: 1.45rem;
	line-height: 1.65;
	font-weight: 500;
	margin-bottom: 20px;
}

.home-cta-button,
.home-cta-compact .home-cta-button {
	display: inline-block;
	padding: 13px 22px;
	border-radius: 999px;

	background: #ffffff;
	border: 2px solid #d7dee5;

	box-shadow:
		0 6px 18px rgba(0, 0, 0, 0.16),
		0 2px 4px rgba(0, 0, 0, 0.08),
		inset 0 1px 0 rgba(255,255,255,0.95);

	font-size: 1.2rem;
	font-weight: 800;
	line-height: 1.2;
	text-transform: uppercase;
	letter-spacing: 0.4px;

	color: #2f4f63 !important;

	transition:
		transform 0.15s ease,
		box-shadow 0.2s ease,
		border-color 0.2s ease;
}

.home-cta-button:hover,
.home-cta-button:focus {
	text-decoration: none !important;

	transform: translateY(-2px);

	border-color: #9fb5c8;

	box-shadow:
		0 10px 24px rgba(0, 0, 0, 0.18),
		0 4px 8px rgba(0, 0, 0, 0.10),
		inset 0 1px 0 rgba(255,255,255,1);
}

.home-cta-note {
	display: block;
	margin-top: 14px;
	font-size: 1.2rem;
	line-height: 1.55;
	font-weight: 700;
	opacity: 0.95;
}

.home-cta-compact {
	padding: 21px 21px;
}

.home-cta-compact .home-cta-label {
	margin-bottom: 8px;
	font-size: 1.02rem;
}

.home-cta-title,
.home-cta-compact .home-cta-title {
	font-size: 2.1rem;
	line-height: 1.18;
	font-weight: 800;
}

.home-cta-compact .home-cta-title {
	margin-bottom: 12px;
}

.home-cta-compact .home-cta-title:after {
	width: 34px;
	margin-top: 7px;
}

.home-cta-compact .home-cta-note {
	margin-top: 11px;
	font-size: 1.02rem;
	line-height: 1.5;
}

.home-cta-soon {
	display: inline-block;
	margin-left: 8px;
	padding: 4px 8px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.78);
	border: 1px solid rgba(31, 74, 71, 0.14);
	font-size: 0.86rem;
	color: red;
	font-weight: 800;
	letter-spacing: 0.3px;
	text-transform: uppercase;
	vertical-align: middle;
}

/* added for CTA on sample booklists - with 2 buttons */
.home-cta-buttons {
	display: flex;
	gap: 10px;
	flex-wrap: nowrap;   /* THIS is the key line */
}

.home-cta-buttons .home-cta-button {
	flex: 1;             /* makes them equal width */
	text-align: center;
}

.home-cta-button-secondary {
	background: transparent;
}

/* =========================================================
   Header / navigation
   Sticky header controlled here (no theme dependency)

   REFACTOR PASS 4 - Mobile/Desktop scroll fix
   - Desktop dropdowns scroll internally
   - Page beneath dropdown should not scroll where supported
   - Mobile menu becomes its own scrollable panel
   - Mobile submenus sit in normal flow so bottom items are reachable
   ========================================================= */


/* ---------------------------------------------------------
   Header shell
   --------------------------------------------------------- */

#header {
	position: sticky;
	top: 0;
	width: 100%;
	z-index: 3000;
	background: var(--ba-white);
	border-bottom: 1px solid var(--ba-border-soft-2);
}

.ba-header-shell {
	position: relative;
	z-index: 3100;
	background: var(--ba-white);
	padding-top: 10px;
	padding-bottom: 6px;
}


/* ---------------------------------------------------------
   Header top row / logo
   --------------------------------------------------------- */

.ba-header-top {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
	padding-top: 14px;
	position: relative;
	min-height: 0;
}

.ba-header-logo {
	text-align: center;
}

.ba-header-logo img {
	display: block;
	height: 88px;
	width: auto;
	margin: 0 auto;
}


/* ---------------------------------------------------------
   Mobile menu toggle
   --------------------------------------------------------- */

.ba-nav-toggle {
	display: none;
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	border: 1px solid var(--ba-border-soft-2);
	background: var(--ba-white);
	color: var(--ba-primary);
	border-radius: 10px;
	padding: 10px 14px;
	line-height: 1;
	min-width: 46px;
	min-height: 46px;
}

.ba-nav-toggle .fa-bars {
	font-size: 20px;
}


/* ---------------------------------------------------------
   Navigation shell
   --------------------------------------------------------- */

.ba-header-nav {
	border-top: none;
	margin-top: 0;
	padding-top: 0;
	position: relative;
	z-index: 3200;
}

.ba-nav {
	width: 100%;
}


/* ---------------------------------------------------------
   Top-level menu
   --------------------------------------------------------- */

.ba-menu {
	list-style: none;
	margin: 0;
	padding: 8px 0 12px 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 6px;
}

.ba-menu > li {
	position: relative;
	margin: 0;
	padding: 0;
}

.ba-menu > li > a,
.ba-menu-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 17px;
	line-height: 1.4;
	font-weight: 700;
	color: var(--ba-primary);
	background: transparent;
	border: none;
	border-radius: 8px;
	padding: 12px 14px;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.ba-menu > li > a:hover,
.ba-menu > li > a:focus,
.ba-menu-link:hover,
.ba-menu-link:focus {
	background: var(--ba-bg-hover);
	color: var(--ba-primary-hover);
	text-decoration: none;
}

.ba-has-submenu > .ba-menu-toggle::after,
.ba-submenu-nested > .ba-submenu-link::after {
	content: "";
	display: inline-block;
	margin-left: auto;
	width: 10px;
	height: 10px;
	border-right: 2px solid #b22222;
	border-bottom: 2px solid #b22222;
	transform: rotate(45deg);
	transition: transform 0.2s ease, opacity 0.2s ease;
	position: relative;
	top: -1px;
	opacity: 0.85;
}

.ba-has-submenu.is-open > .ba-menu-toggle::after,
.ba-submenu-nested.is-open > .ba-submenu-link::after {
	transform: rotate(-135deg);
	opacity: 1;
}

.ba-admin-top-link {
	color: #c62828 !important;
	font-weight: 600;
}

.ba-admin-top-link:hover,
.ba-admin-top-link:focus {
	color: #a61f1f !important;
}


/* ---------------------------------------------------------
   Desktop submenus
   --------------------------------------------------------- */

.ba-submenu {
	list-style: none;
	margin: 0;
	padding: 8px 0;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 250px;
	max-width: none;
	background: var(--ba-white);
	border: 1px solid #dfe8f0;
	border-radius: 12px;
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.10);
	display: none;
	z-index: 5000;

	/* Scroll fix */
	max-height: min(70vh, calc(100vh - 140px));
	overflow-y: auto;
	overflow-x: hidden;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
	scrollbar-gutter: stable;
}

.ba-submenu-wide {
	min-width: 330px;
	max-width: none;
}

.ba-has-submenu.is-open > .ba-submenu {
	display: block;
}

.ba-submenu li {
	position: relative;
}

.ba-submenu a,
.ba-submenu-link {
	display: block;
	width: 100%;
	text-align: left;
	font-size: 15px;
	line-height: 1.45;
	font-weight: 600;
	color: var(--ba-primary);
	background: transparent;
	border: none;
	padding: 10px 16px;
	text-decoration: none;
	cursor: pointer;
}

.ba-submenu a:hover,
.ba-submenu a:focus,
.ba-submenu-link:hover,
.ba-submenu-link:focus {
	background: #f4f9ff;
	color: var(--ba-primary-hover);
	text-decoration: none;
}


/* Parent row that opens a nested submenu */
.ba-submenu-nested > .ba-submenu-link {
	font-weight: 700;
	background: #f8fbfe;
	border-top: 1px solid #eef3f7;
	border-bottom: 1px solid #eef3f7;
}


/* Nested child menu block */
.ba-submenu-inner {
	position: static;
	display: none;
	box-shadow: none;
	border: none;
	border-radius: 8px;
	background: #f7fbff;
	padding: 8px 0;
	min-width: 100%;
	max-width: calc(100% - 46px);
	margin: 4px 12px 8px 34px;
	border-left: 3px solid #23425d;
	overflow-wrap: break-word;
}

.ba-submenu-nested.is-open > .ba-submenu-inner {
	display: block;
}

.ba-submenu-inner li > a {
	padding: 9px 14px;
	font-weight: 500;
	font-size: 14px;
	line-height: 1.4;
	color: #35516b;
	border-radius: 6px;
	white-space: normal;
	word-break: normal;
}

.ba-submenu-inner li > a:hover,
.ba-submenu-inner li > a:focus {
	background: #edf6fd;
	color: var(--ba-primary-hover);
	text-decoration: none;
}

.ba-menu-divider {
	height: 2px;
	margin: 6px 16px;
	background: #996600;
	list-style: none;
}

.ba-admin-warning {
	margin-left: 6px;
	color: #0066FF;
	font-size: 1.2em;
	opacity: 0.85;
}

.ba-submenu-muted {
	display: block;
	padding: 10px 16px;
	font-size: 15px;
	line-height: 1.45;
	font-weight: 600;
	color: #8a97a3;
	opacity: 0.65;
	cursor: default;
}

.ba-submenu-muted i {
	color: inherit;
	margin-right: 2px;
}

.ba-review-stars {
	display: inline-flex;
	gap: 2px;
	margin-left: 8px;
	color: #ffd700;
}


/* Admin links inside submenus */
.ba-submenu a.ba-admin-link,
.ba-submenu .ba-admin-link {
	color: #b22222 !important;
	font-weight: 700;
}

.ba-submenu a.ba-admin-link:hover,
.ba-submenu a.ba-admin-link:focus {
	background: rgba(178, 34, 34, 0.08);
	color: #8b1a1a !important;
}


/* Line up icons */
.ba-submenu a > i:first-child,
.ba-submenu-link > i:first-child,
.ba-submenu-muted > i:first-child,
.ba-custid-form > i:first-child {
	display: inline-block;
	width: 1.25em;
	text-align: center;
	margin-right: 8px;
	flex: 0 0 1.25em;
}

.ba-submenu-link {
	display: flex;
	align-items: center;
	gap: 0;
}

.ba-submenu-link > i:first-child {
	display: inline-block;
	width: 1.25em;
	text-align: center;
	margin-right: 8px;
	flex: 0 0 1.25em;
}


/* ---------------------------------------------------------
   Header admin - switch customer / account
   --------------------------------------------------------- */

.ba-custid-form {
	display: flex;
	align-items: center;
	gap: 4px;
	margin: 0;
	padding: 9px 14px;
	font-size: 15px;
	line-height: 1.45;
	font-weight: 700;
	color: #d97706 !important;
}

.ba-custid-form span,
.ba-custid-form i {
	color: inherit;
	font-weight: inherit;
}

.ba-custid-label {
	display: inline-flex;
	align-items: center;
	min-width: unset;
}

.ba-custid-label > i {
	width: auto;
	text-align: center;
	margin-right: 3px;
	flex: 0 0 auto;
}

.ba-custid-form .form-control {
	width: 55px;
	height: 24px;
	padding: 2px 4px;
	font-size: inherit;
	line-height: 1.2;
	text-align: center;
	color: var(--ba-primary);
	font-weight: 600;
	margin: 0;
}

.ba-custid-form .ba-custid-btn {
	height: 24px;
	padding: 0 8px;
	font-size: 13px;
	line-height: 1;
	border-radius: 4px;
	border: 1px solid #e6d7a3;
	background: linear-gradient(to bottom, #fffdf5, #fff6d9);
	color: #5c4a1f;
	font-weight: 600;
	cursor: pointer;
	margin-left: 2px;
}

.ba-custid-form .ba-custid-btn:hover {
	background: #fff2c2;
}


/* ---------------------------------------------------------
   Mobile menu behaviour
   --------------------------------------------------------- */

@media (max-width: 991px) {

	.ba-nav-toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
	}

	.ba-header-nav {
		display: none;
		position: fixed;
		left: 0;
		right: 0;
		top: 116px;
		bottom: 0;
		z-index: 6000;
		background: var(--ba-white);
		border-top: 1px solid var(--ba-border-soft-2);
		overflow-y: auto;
		overflow-x: hidden;
		-webkit-overflow-scrolling: touch;
		overscroll-behavior: contain;
	}

	.ba-header-nav.is-open {
		display: block;
	}

	.ba-menu {
		display: block;
		padding: 10px 12px 34px 12px;
	}

	.ba-menu > li {
		display: block;
		width: 100%;
	}

	.ba-menu > li > a,
	.ba-menu-link {
		display: flex;
		width: 100%;
		justify-content: flex-start;
		padding: 13px 14px;
	}

	.ba-submenu {
		position: static;
		width: 100%;
		min-width: 0;
		max-width: none;
		max-height: none;
		overflow: visible;
		box-shadow: none;
		border-radius: 10px;
		margin: 2px 0 10px 0;
	}

	.ba-submenu-wide {
		min-width: 0;
	}

	.ba-submenu-inner {
		max-width: none;
		margin: 4px 8px 8px 28px;
	}
}


/* ---------------------------------------------------------
   Smaller mobile logo/menu spacing
   --------------------------------------------------------- */

@media (max-width: 575px) {

	.ba-header-logo img {
		height: 72px;
	}

	.ba-header-nav {
		top: 100px;
	}
}


/* End of Header Section */


/* ---------------------------------------------------------
   Essential Services section
   --------------------------------------------------------- */

.ba-essential-services {
	margin-top: 12px;
	margin-bottom: 12px;
}

.ba-essential-column {
	text-align: center;
	margin-bottom: 36px;
	padding-left: 24px;
	padding-right: 24px;
}

.ba-essential-title {
	margin: 0 0 14px 0;
	font-size: 21px;
	font-weight: 700;
	line-height: 1.25;
	color: #23425d;
}

/* Keep the link looking like your original heading */
.ba-essential-title a {
    color: inherit;
    text-decoration: none;
    font-size: inherit;
    font-weight: inherit;
    transition: color 0.3s ease; /* Makes the colour change feel premium and smooth */
}

/* The light colour shift on hover */
.ba-essential-title a:hover {
    color: #3a6ea5; 
	text-decoration: underline; /* The universal 'it's a link' signal */
}

.ba-stat-panel {
	display: inline-block;
	min-width: 150px;
	padding: 14px 18px;
	border-radius: 12px;
	margin: 0 auto 14px auto;
}

.ba-stat-number {
	font-size: 32px;
	font-weight: 800;
	line-height: 1;
	margin-bottom: 4px;
}

.ba-stat-label {
	font-size: 11px;
	font-weight: 700;
	line-height: 1.3;
	text-transform: uppercase;
	letter-spacing: 0.4px;
	opacity: 0.8;
}

.ba-essential-kicker {
	margin: 6px 0 10px 0;
	font-size: 15px;
	line-height: 1.45;
	color: #2d465b;
}

.ba-essential-text {
	font-size: 16px;
	line-height: 1.7;
}

.ba-stat-blue {
	background: #eef6ff;
	color: #1f4f78;
}

.ba-stat-indigo {
	background: #f3f0ff;
	color: #4338ca;
}

.ba-stat-teal {
	background: #ecfeff;
	color: #0f766e;
}

/* ---------------------------------------------------------
   Value Added Services section
   --------------------------------------------------------- */

.ba-value-services {
	margin-top: 6px;
	margin-bottom: 18px;
}

.ba-service-list {
	margin-bottom: 10px;
}

.ba-service-row {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 16px 0;
	border-bottom: 1px solid #dbe6ef;
	min-height: 122px;
}

.ba-service-row:first-child {
	padding-top: 4px;
}

.ba-service-row:last-child {
	border-bottom: none;
}

.ba-service-icon {
	flex: 0 0 42px;
	width: 42px;
	height: 42px;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 17px;
	margin-top: 0;
}

.ba-service-icon-blue {
	background: #eef6ff;
	color: #1f4f78;
}

.ba-service-icon-indigo {
	background: #f3f0ff;
	color: #4338ca;
}

.ba-service-icon-teal {
	background: #ecfeff;
	color: #0f766e;
}

.ba-service-icon-gold {
	background: #fff7e8;
	color: #b7791f;
}

.ba-service-copy {
	flex: 1;
}

.ba-service-copy h4 {
	margin: 0 0 6px 0;
	font-size: 20px;
	line-height: 1.25;
	font-weight: 700;
	color: #23425d;
}

/* Maintain original h4 style for links */
.ba-service-copy h4 a {
    color: inherit;
    text-decoration: none;
    font-size: inherit;
    font-weight: inherit;
    transition: color 0.3s ease;
}

/* Identical hover effect for the 3rd include */
.ba-service-copy h4 a:hover {
    color: #3a6ea5;
    text-decoration: underline; /* The universal 'it's a link' signal */
}

.ba-service-copy p {
	font-size: 16px;
	line-height: 1.7;
	margin: 0;
}

/* ---------------------------------------------------------
   Responsive - tablet / mobile
   Updated 13 Apr 2026
   - Improved hamburger spacing from screen edge
   - Added horizontal padding to header top row
   - Consolidated header-specific responsive rules here
   - Removed dead .ba-admin-inline rule
   --------------------------------------------------------- */

@media (max-width: 991px) {
	.hero-home-row {
		display: none;
	}

	.home-cta-col {
		padding-left: 15px;
		padding-right: 15px;
		border-left: none;
		margin-top: 24px;
	}

	.home-intro-container {
		padding-top: 0;
		padding-bottom: 0;
		background: transparent;
	}

	.home-intro-main-col,
	.home-cta-col {
		display: block;
	}

	.home-intro-panel {
		padding: 26px 24px 24px 24px;
	}

	.home-intro-lead {
		font-size: 2.25rem;
		line-height: 1.48;
	}

	.home-language-list p {
		font-size: 1.45rem;
		line-height: 1.65;
	}

	.ba-header-top {
		min-height: 68px;
		padding: 12px 16px;
	}

	.ba-header-logo img {
		display: block;
		height: auto !important;
		width: auto;
		max-height: 40px;
		object-fit: contain;
	}

	.ba-nav-toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		right: 16px;
	}

	.ba-header-nav {
		display: none;
		border-top: 1px solid #eef3f7;
		padding-bottom: 10px;
	}

	.ba-header-nav.is-open {
		display: block;
	}

	.ba-menu {
		display: block;
		padding: 12px 0 4px 0;
	}

	.ba-menu > li {
		display: block;
	}

	.ba-menu > li > a,
	.ba-menu-link {
		width: 100%;
		justify-content: space-between;
		padding: 12px 10px;
		font-size: 16px;
		border-radius: 6px;
	}

	.ba-submenu {
		position: static;
		display: none;
		box-shadow: none;
		border: 1px solid #e8eef4;
		border-radius: 8px;
		margin: 4px 0 10px 0;
		background: #fbfdff;
		min-width: 100%;
	}

	.ba-has-submenu.is-open > .ba-submenu {
		display: block;
	}

	.ba-submenu a,
	.ba-submenu-link {
		font-size: 15px;
		padding: 10px 14px;
	}

	.ba-submenu-inner {
		margin-left: 0;
		border-left: 2px solid #e3edf6;
		padding-left: 0;
	}

	.ba-custid-form {
		padding: 0 10px;
	}

	.ba-service-row {
		padding: 14px 0;
	}

	.ba-service-copy h4 {
		font-size: 18px;
	}
}

/* ---------------------------------------------------------
   Responsive - desktop only dividers
   --------------------------------------------------------- */

@media (min-width: 992px) {
	.ba-essential-column {
		border-right: 1px solid #d6e2ec;
	}

	.ba-essential-column:last-child {
		border-right: none;
	}

	.ba-value-services .col-md-6:first-child .ba-service-list {
		padding-right: 18px;
	}

	.ba-value-services .col-md-6:last-child .ba-service-list {
		padding-left: 18px;
	}
}

/* ---------------------------------------------------------
   Responsive - mobile cookie alert
   --------------------------------------------------------- */

@media (max-width: 767px) {
	.hero-home-row {
		display: none;
	}

	.cookie-alert {
		padding: 16px;
		padding-bottom: calc(16px + env(safe-area-inset-bottom));
		text-align: left;
	}

	.cookie-alert p {
		display: block;
		margin: 0 0 12px 0;
		font-size: 15px;
	}

	.cookie-alert button {
		display: block;
		width: 100%;
		min-height: 44px;
		font-size: 17px;
		padding: 12px;
		touch-action: manipulation;
	}
}

/* ---------------------------------------------------------
   Responsive - small mobile typography
   --------------------------------------------------------- */

@media (max-width: 767px) {
	body {
		font-size: 16px;
		line-height: 1.68;
	}

	p {
		font-size: 1em;
	}

	.lead {
		font-size: 1.16em;
		line-height: 1.65;
	}

	h1, .h1 {
		font-size: 30px;
	}

	h2, .h2 {
		font-size: 26px;
	}

	h3, .h3 {
		font-size: 22px;
	}

	h4, .h4 {
		font-size: 19px;
	}

	.jumbotron,
	.jumbotron-warning {
		padding: 22px 18px;
		border-radius: 10px;
	}

	.jumbotron p,
	.jumbotron-warning p {
		font-size: 1em;
	}

	.home-intro-accent-heading {
		font-size: 14pt;
	}

	.home-intro-panel {
		padding: 22px 18px 20px 18px;
		border-radius: 12px;
	}

	.home-intro-lead {
		font-size: 1.8rem;
		line-height: 1.5;
		margin-bottom: 24px;
	}

	.home-aligned-block blockquote p {
		font-size: 1.3rem;
		line-height: 1.65;
	}

	.home-cta-tile {
		padding: 22px 18px;
		border-radius: 12px;
	}

	.home-cta-title,
	.home-cta-compact .home-cta-title {
		font-size: 1.85rem;
	}

	.home-cta-text {
		font-size: 1.24rem;
	}

	.home-cta-button {
		font-size: 1.08rem;
	}

	.home-cta-compact .home-cta-text {
		font-size: 1.12rem;
	}

	.ba-header-top {
		padding-top: 10px;
		padding-bottom: 10px;
	}

	.ba-header-logo img {
		display: block;
		height: auto !important;
		max-height: 60px;
		width: auto;
		object-fit: contain;
	}

	.ba-menu > li > a,
	.ba-menu-link {
		font-size: 16px;
	}
}

/* =========================================================
   Booklists page
   ========================================================= */

.ba-booklists-module {
	margin-top: 8px;
	margin-bottom: 34px;
}

.ba-booklists-hero {
	background: linear-gradient(135deg, #f7fbff 0%, #edf5fb 100%);
	border: 1px solid #d9e4ee;
	border-radius: 24px;
	padding: 28px 26px 24px 26px;
	margin: 0 0 28px 0;
	box-shadow: 0 10px 24px rgba(0,0,0,0.05);
}

.ba-booklists-kicker {
	display: inline-block;
	margin-bottom: 10px;
	padding: 6px 11px;
	border-radius: 999px;
	background: #fff7e8;
	border: 1px solid #f0ddb1;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.45px;
	text-transform: uppercase;
	color: #a26a00;
}

.ba-booklists-hero h2 {
	margin: 0 0 10px 0;
	font-size: 34px;
	line-height: 1.16;
	font-weight: 800;
	color: #1f4f78;
}

.ba-booklists-hero p {
	margin: 0;
	font-size: 18px;
	line-height: 1.6;
	color: #3d4d5b;
	max-width: 980px;
}

.ba-booklists-jumplinks {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 18px;
}

.ba-booklists-jumplinks a {
	display: inline-block;
	padding: 10px 14px;
	border-radius: 999px;
	background: #ffffff;
	border: 1px solid #d8e3ed;
	color: #23425d;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	transition: all 0.2s ease;
}

.ba-booklists-jumplinks a:hover,
.ba-booklists-jumplinks a:focus {
	background: #eef5fb;
	border-color: #a8c5dc;
	text-decoration: none;
	transform: translateY(-1px);
}

/* ---------------------------------------------------------
   Section cards
   --------------------------------------------------------- */

.ba-booklist-card {
	margin: 0 0 28px 0;
	border: 1px solid #dbe6ef;
	border-radius: 22px;
	background: #ffffff;
	box-shadow: 0 8px 20px rgba(0,0,0,0.04);
	overflow: hidden;
}

.ba-booklist-card-header {
	padding: 18px 22px 16px 22px;
	border-bottom: 1px solid rgba(0,0,0,0.06);
}

.ba-booklist-card-header h3 {
	margin: 0;
	font-size: 28px;
	line-height: 1.2;
	font-weight: 800;
	color: #23425d;
	scroll-margin-top: 120px;
}

.ba-booklist-card-header p {
	margin: 8px 0 0 0;
	font-size: 15px;
	line-height: 1.5;
	color: #607383;
}

.ba-booklist-card-saffron .ba-booklist-card-header {
	background: linear-gradient(135deg, #fff7e8 0%, #fff0d3 100%);
}

.ba-booklist-card-sand .ba-booklist-card-header {
	background: linear-gradient(135deg, #fff8ef 0%, #f8efe3 100%);
}

.ba-booklist-card-jade .ba-booklist-card-header {
	background: linear-gradient(135deg, #eefaf5 0%, #e2f3ea 100%);
}

.ba-booklist-card-plum .ba-booklist-card-header {
	background: linear-gradient(135deg, #f7f2ff 0%, #ede5fb 100%);
}

.ba-booklist-card-sky .ba-booklist-card-header {
	background: linear-gradient(135deg, #eef7ff 0%, #e3f0fb 100%);
}

.ba-booklist-card-special .ba-booklist-card-header {
	background: linear-gradient(135deg, #eef6ff 0%, #e9f7f4 100%);
}

/* ---------------------------------------------------------
   Tables
   --------------------------------------------------------- */

.ba-booklist-table-wrap {
	overflow-x: auto;
}

.ba-booklist-table {
	width: 100%;
	border-collapse: collapse;
	margin: 0;
	background: #ffffff;
}

.ba-booklist-table th,
.ba-booklist-table td {
	border: 1px solid #dbe6ef;
	padding: 9px 10px;
	vertical-align: middle;
}

.ba-booklist-table thead th {
	background: #f8fbfe;
	font-size: 14px;
	line-height: 1.2;
	font-weight: 800;
	color: #23425d;
	text-align: center;
}

.ba-booklist-table tbody tr:nth-child(even) td {
	background: #fcfdff;
}

.ba-booklist-table tbody tr:hover td {
	background: #f4f9ff;
}

.ba-booklist-table .table-label {
	padding-left: 14px !important;
	padding-right: 10px;
	font-weight: 700;
	color: #2f3a44;
	line-height: 1.28;
	vertical-align: middle;
}

.ba-booklist-table td[align="center"] {
	text-align: center;
}

.ba-booklist-table td[align="center"] a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 10px;
	background: #ffffff;
	border: 1px solid #d8e3ed;
	transition: all 0.2s ease;
}

.ba-booklist-table td[align="center"] a:hover,
.ba-booklist-table td[align="center"] a:focus {
	background: #eef5fb;
	border-color: #a8c5dc;
	text-decoration: none;
	transform: translateY(-1px);
	box-shadow: 0 6px 14px rgba(0,0,0,0.08);
}

.ba-booklist-login-lock {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 10px;
	background: #fff8e8;
	border: 1px solid #f0ddb1;
}

.ba-booklist-na {
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	color: #8b98a6;
}

/* ---------------------------------------------------------
   Special collections
   --------------------------------------------------------- */

.ba-booklist-special-table th,
.ba-booklist-special-table td {
	padding: 12px 12px;
	vertical-align: top;
}

.ba-booklist-special-table .table-label {
	padding-left: 14px !important;
	line-height: 1.24;
	vertical-align: middle;
}

.ba-booklist-special-table .table-desc {
	text-align: left;
	padding: 8px 14px 8px 14px !important;
	line-height: 1.36 !important;
	font-size: 15px;
	color: #334454;
	vertical-align: top;
}

.ba-booklist-special-table td[align="center"] {
	vertical-align: middle;
}

/* ---------------------------------------------------------
   Responsive
   --------------------------------------------------------- */

@media (max-width: 991px) {
	.ba-booklists-hero {
		padding: 22px 18px 20px 18px;
	}

	.ba-booklists-hero h2 {
		font-size: 29px;
	}

	.ba-booklists-hero p {
		font-size: 17px;
	}

	.ba-booklist-card-header h3 {
		font-size: 24px;
	}

	.ba-booklist-table {
		min-width: 760px;
	}
}

@media (max-width: 767px) {
	.ba-booklists-hero h2 {
		font-size: 25px;
	}

	.ba-booklists-hero p {
		font-size: 16px;
		line-height: 1.55;
	}

	.ba-booklists-jumplinks a {
		font-size: 13px;
		padding: 9px 12px;
	}

	.ba-booklist-card-header {
		padding: 16px 16px 14px 16px;
	}

	.ba-booklist-card-header h3 {
		font-size: 22px;
	}
}

/* =========================================================
   Team page
   ========================================================= */

.team-grid {
	display: flex;
	flex-wrap: wrap;
	margin-left: -15px;
	margin-right: -15px;
	margin-top: 18px;
}

.team-card {
	width: 33.3333%;
	padding-left: 15px;
	padding-right: 15px;
	margin-bottom: 28px;
}

.team-card-inner,
.team-card {
	box-sizing: border-box;
}

.team-photo {
	text-align: center;
	margin-bottom: 16px;
}

.team-photo img {
	width: 270px;
	height: 201px;
	max-width: 100%;
	border-radius: 12px;
	border: 1px solid #d9e3ec;
	box-shadow: 0 6px 18px rgba(0,0,0,0.08);
	background: #f8fafc;
}

.team-copy {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 18px;
	padding: 20px 20px 18px 20px;
	box-shadow: 0 8px 22px rgba(31, 50, 90, 0.06);
	min-height: 100%;
}

.team-copy h3 {
	margin: 0 0 4px 0;
	font-size: 28px;
	line-height: 1.2;
	font-weight: 800;
	color: #1f4f78;
}

.team-role {
	font-size: 16px;
	line-height: 1.45;
	font-weight: 700;
	color: #7a5a19;
	margin-bottom: 14px;
}

.team-copy p {
	font-size: 17px;
	line-height: 1.72;
	color: #334155;
	margin: 0 0 12px 0;
}

.team-copy p:last-child {
	margin-bottom: 0;
}

.main .container::after {
    content: "";
    display: table;
    clear: both;
}

@media (max-width: 991px) {
	.team-card {
		width: 50%;
	}
}

@media (max-width: 767px) {
	.team-card {
		width: 100%;
	}

	.team-copy {
		padding: 18px 16px 16px 16px;
	}

	.team-copy h3 {
		font-size: 24px;
	}

	.team-copy p {
		font-size: 16px;
		line-height: 1.68;
	}
}

/* =========================================================
   Services Page (MARC, EDI and Servicing
   ========================================================= */
.services-intro {
	max-width: 1080px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 18px;
	padding: 22px 24px;
	line-height: 1.8;
	color: #334155;
}

.service-section {
	margin-bottom: 30px;
	padding: 28px 28px 22px 28px;
	border-radius: 20px;
}

.service-section h2 {
	margin-top: 0;
	margin-bottom: 14px;
}

.service-section h3 {
	margin-top: 22px;
	margin-bottom: 10px;
}

.service-section p {
	line-height: 1.8;
	margin-bottom: 14px;
}

.service-marc {
	background: #f5f9fc;
	border: 1px solid #dbe6ef;
}

.service-edi {
	background: #f8fbf6;
	border: 1px solid #ddebdc;
}

.service-servicing {
	background: #fff8f2;
	border: 1px solid #f0e1d2;
}

.service-highlight {
	background: rgba(255,255,255,0.8);
	border-left: 5px solid #5b8db8;
	border-radius: 12px;
	padding: 18px 18px 14px 18px;
	margin: 18px 0;
}

.service-points {
	margin: 8px 0 0 0;
	padding-left: 20px;
}

.service-points li {
	margin-bottom: 10px;
	line-height: 1.75;
}

.service-steps {
	margin-top: 12px;
}

.service-step {
	background: #ffffff;
	border: 1px solid #e2e8ee;
	border-radius: 16px;
	padding: 20px 18px;
	margin-bottom: 20px;
	height: 100%;
}

.service-step-number {
	display: inline-block;
	min-width: 36px;
	height: 36px;
	line-height: 36px;
	text-align: center;
	border-radius: 50%;
    background: #eaf2f9;
    color: #1f4f78;
	font-weight: 700;
	margin-bottom: 12px;
}

.services-bottom-note {
	background: #fffdf6;
	border: 1px solid #f1e6bf;
	border-radius: 16px;
	padding: 18px 20px;
	margin-top: 18px;
}

/* =========================================================
   SERVICE ICONS (subtle, editorial)
   ========================================================= */
.service-icon {
    margin-right: 10px;
    color: #5b8db8;
    font-size: 0.9em;
    vertical-align: middle;
    opacity: 0.85;
}

.service-section h2 i {
    position: relative;
    top: -1px;
}

/* =========================================================
   SERVICE STEP ICONS (subtle)
   ========================================================= */
.service-step-icon {
    font-size: 1.1em;
    color: #5b8db8;
    margin-right: 6px;
    opacity: 0.9;
}

.service-step h4 {
    display: flex;
    align-items: center;
    gap: 6px;
}

@media (max-width: 767px) {
	.services-page {
		padding-top: 16px;
	}

	.services-lead {
		font-size: 1.45rem;
		line-height: 1.65;
	}

	.services-intro,
	.service-section {
		padding-left: 18px;
		padding-right: 18px;
	}
}

/* =========================================================
   Footer
   ========================================================= */

.ba-footer-gap {
	height: 40px;
}

footer#footer.short {
	padding: 2.2rem 1rem 2.6rem;
	text-align: center;
	background: linear-gradient(to bottom, #f8fbfd, #eef4f8);
	border-top: 1px solid #dbe6ef;
	color: #4c6275;
}

footer#footer.short::before,
footer#footer.short::after {
	display: none;
}

footer#footer.short .footer-inner {
	max-width: 980px;
	margin: 0 auto;
	text-align: center;
}

footer#footer.short .footer-inner h4 {
	color: #cc9900;
	font-size: 1.8rem;
	line-height: 1.25;
	font-weight: 700;
	margin: 0 0 0.9rem 0;
	text-align: center;
	text-transform: none;
	letter-spacing: normal;
}

footer#footer.short p {
	color: #4c6275;
	font-size: 1.3rem;
	line-height: 1.8;
	margin: 0 0 1rem 0;
	text-align: center;
}

footer#footer.short .footer-meta {
	margin-bottom: 1rem;
}

footer#footer.short .footer-copyright {
	margin-bottom: 1rem;
}

footer#footer.short .footer-links {
	font-size: 1.2rem;
	line-height: 1.8;
	font-weight: 600;
	text-align: center;
}

footer#footer.short a,
footer#footer.short a:visited {
	color: #23425d;
	text-decoration: none;
	margin: 0 0.45rem;
}

footer#footer.short a:hover,
footer#footer.short a:focus {
	color: #1f4f78;
	text-decoration: underline;
}

@media (max-width: 767px) {
	.ba-footer-gap {
		height: 42px;
	}

	footer#footer.short {
		padding: 2rem 1rem 2.3rem;
	}

	footer#footer.short .footer-inner h4 {
		font-size: 1.55rem;
	}

	footer#footer.short p,
	footer#footer.short .footer-links {
		font-size: 1.12rem;
		line-height: 1.75;
	}

	footer#footer.short a {
		margin: 0 0.3rem;
	}
}

/* =========================================================
   How To Order page
   ========================================================= */

.ordering-section {
	margin-bottom: 30px;
	padding: 30px 30px 24px 30px;
	border-radius: 22px;
}

/* -----------------------------------------
   Section colour themes
----------------------------------------- */

.ordering-supplier {
	background: linear-gradient(135deg, #f4fbf6 0%, #eaf6ee 100%);
	border: 1px solid #d6eadc;
}

.ordering-customer {
	background: linear-gradient(135deg, #f4f9ff 0%, #e8f1fb 100%);
	border: 1px solid #d6e4f2;
}

/* -----------------------------------------
   Section headings
----------------------------------------- */

.ordering-heading {
	display: flex;
	align-items: center;
	gap: 10px;
}

.ordering-section-icon {
	margin-right: 0;
	font-size: 1.2em;
	line-height: 1;
	flex-shrink: 0;
	position: relative;
	top: -1px;
}

.ordering-supplier .ordering-section-icon {
	color: #2f855a;
}

.ordering-customer .ordering-section-icon {
	color: #2b6cb0;
}

/* -----------------------------------------
   Intro row
----------------------------------------- */

.ordering-intro-main-col .lead:first-child {
	margin-top: 0;
}

/* -----------------------------------------
   Intro panel
----------------------------------------- */

.ordering-intro-panel {
	padding: 20px 22px;
	border-radius: 18px;
	margin: 18px 0 22px 0;
	background: rgba(255,255,255,0.7);
	border: 1px solid rgba(0,0,0,0.05);
}

.ordering-intro-panel p {
	margin: 0;
	font-size: 1.6rem;
	line-height: 1.7;
	font-weight: 400;
	color: inherit;
}

/* -----------------------------------------
   Steps
----------------------------------------- */

.ordering-step {
	background: #ffffff;
	border: 1px solid #e2e8ee;
	border-radius: 16px;
	padding: 20px 18px;
	margin-bottom: 20px;
	height: 100%;
	box-shadow: 0 4px 14px rgba(0,0,0,0.04);
}

.ordering-step-header {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
}

.ordering-step-number {
	display: inline-block;
	min-width: 36px;
	width: 36px;
	height: 36px;
	line-height: 36px;
	text-align: center;
	border-radius: 50%;
	font-weight: 700;
	margin-bottom: 0;
	flex-shrink: 0;
}

.ordering-supplier .ordering-step-number {
	background: #e6f4ea;
	color: #2f855a;
}

.ordering-customer .ordering-step-number {
	background: #e6effa;
	color: #2b6cb0;
}

.ordering-step h4 {
	margin: 0;
	line-height: 1.3;
}

.ordering-step p {
	font-size: 1.6rem;
	line-height: 1.7;
	margin: 0;
}

/* -----------------------------------------
   Mobile
----------------------------------------- */

@media (max-width: 767px) {
	.ordering-section {
		padding-left: 18px;
		padding-right: 18px;
	}

	.ordering-intro-panel {
		padding: 18px;
	}

	.ordering-step-header {
		align-items: flex-start;
	}
}

/* =========================================================
   CHARITY PAGE (CLEAN - NO HEADING OVERRIDES)
   ========================================================= */

.ba-charity-page {
    padding-bottom: 10px;
}

/* HERO */
.ba-charity-hero {
    max-width: 980px;
    margin: 0 auto 24px auto;
    text-align: center;
    background: linear-gradient(to bottom, #fffdf7, #f8f4e9);
    border: 1px solid #eadfbe;
    border-radius: 24px;
    padding: 28px 22px;
    box-shadow: 0 10px 24px rgba(74, 59, 20, 0.06);
}

.ba-charity-kicker {
    display: inline-block;
    margin-bottom: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #f4ecd2;
    color: #6d5320;
    font-size: 1.2rem;
    font-weight: 700;
}

.ba-charity-title {
    margin: 0 0 12px 0;
}

.ba-charity-intro {
    max-width: 820px;
    margin: 0 auto;
    font-size: 1.8rem;
    line-height: 1.85;
    color: #5f5849;
}

/* MAIN CARD */
.ba-charity-card {
    background: #ffffff;
    border: 1px solid #e5e0d1;
    border-radius: 24px;
    padding: 28px 24px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

/* INTRO BLOCK */
.ba-charity-intro-block {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e9e1cc;
}

.ba-charity-intro-block h2 {
    margin-top: 0;
    margin-bottom: 10px;
}

.ba-charity-lead {
    margin-bottom: 0;
    font-size: 1.85rem;
    line-height: 1.9;
    color: #4f5d6b;
}

/* LIST */
.ba-charity-list {
    margin-top: 6px;
}

/* ENTRY */
.ba-charity-entry {
    display: flex;
    gap: 22px;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #ece5d5;
}

.ba-charity-entry:last-child {
    border-bottom: none;
}

/* IMAGE */
.ba-charity-entry-media {
    flex: 0 0 280px;
    max-width: 280px;
}

.ba-charity-image {
    width: 100%;
    border-radius: 16px;
    border: 1px solid #e7dfcd;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

/* TEXT */
.ba-charity-entry-body {
    flex: 1;
    min-width: 0;
}

.ba-charity-entry h3 {
    margin: 0 0 8px 0;
}

.ba-charity-entry h3 a {
    color: inherit;
    text-decoration: none;
}

.ba-charity-entry h3 a:hover,
.ba-charity-entry h3 a:focus {
    text-decoration: underline;
}

.ba-charity-entry p {
    margin: 0;
    font-size: 1.75rem;
    line-height: 1.9;
    color: #445260;
}

/* CTA */
.ba-charity-closing {
    margin-top: 22px;
    padding: 22px 20px;
    background: linear-gradient(to bottom, #fffdf7, #f8f3e8);
    border: 1px solid #eadfbe;
    border-radius: 20px;
    text-align: center;
}

.ba-charity-closing h3 {
    margin-top: 0;
    margin-bottom: 12px;
}

.ba-charity-closing p {
    margin-bottom: 12px;
    font-size: 1.75rem;
    line-height: 1.9;
    color: #4f5d6b;
}

.ba-charity-cta-wrap {
    margin-top: 16px;
}

.ba-charity-cta-btn {
    min-width: 260px;
    padding: 12px 22px;
    border-radius: 999px;
    font-size: 1.6rem;
    font-weight: 700;
}

/* RESPONSIVE */
@media (max-width: 991px) {
    .ba-charity-intro,
    .ba-charity-lead,
    .ba-charity-entry p,
    .ba-charity-closing p {
        font-size: 1.65rem;
    }

    .ba-charity-entry {
        gap: 18px;
    }

    .ba-charity-entry-media {
        flex: 0 0 220px;
        max-width: 220px;
    }
}

@media (max-width: 767px) {
    .ba-charity-hero {
        padding: 24px 18px;
    }

    .ba-charity-card {
        padding: 22px 16px;
    }

    .ba-charity-entry {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .ba-charity-entry-media {
        max-width: 100%;
        width: 100%;
    }

    .ba-charity-image {
        max-width: 320px;
    }

    .ba-charity-lead,
    .ba-charity-entry p,
    .ba-charity-closing p {
        font-size: 1.55rem;
        line-height: 1.8;
    }

    .ba-charity-cta-btn {
        width: 100%;
        min-width: 0;
    }
}

/* =========================================================
   CONTACT PAGE
   ========================================================= */

.ba-contact-page {
    padding-bottom: 10px;
}

.ba-contact-hero {
    max-width: 860px;
    margin: 0 auto 28px auto;
    text-align: center;
    background: linear-gradient(to bottom, #f8fbff, #eef5fb);
    border: 1px solid #dbe7f1;
    border-radius: 24px;
    padding: 30px 24px;
    box-shadow: 0 10px 24px rgba(31, 79, 120, 0.06);
}

.ba-contact-kicker {
    display: inline-block;
    margin-bottom: 10px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #eaf3fb;
    color: #1f4f78;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.2px;
}

/* Let the site's normal heading styles control colour/size */
.ba-contact-title {
    margin: 0 0 14px 0;
}

.ba-contact-intro {
    max-width: 720px;
    margin: 0 auto;
    font-size: 1.65rem;
    line-height: 1.8;
    color: #4b5b6b;
}

.ba-contact-alert {
    max-width: 860px;
    margin: 0 auto 28px auto;
    border-radius: 18px;
    padding: 18px 20px;
    font-size: 1.45rem;
    line-height: 1.7;
}

.ba-contact-card {
    background: #ffffff;
    border: 1px solid #dde7ef;
    border-radius: 24px;
    padding: 28px 24px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
    margin-bottom: 24px;
}

.ba-contact-form-card {
    background: linear-gradient(to bottom, #ffffff, #fcfdff);
}

.ba-contact-details-card {
    background: linear-gradient(to bottom, #fcfdfd, #f6faf8);
}

/* Let the site's normal heading styles control colour/size */
.ba-contact-section-title {
    margin: 0 0 10px 0;
}

.ba-contact-section-text {
    margin-bottom: 22px;
    font-size: 1.6rem;
    line-height: 1.75;
    color: #5a6b7b;
}

.ba-contact-form-card .form-group {
    margin-bottom: 18px;
}

.ba-contact-form-card label {
    display: block;
    margin-bottom: 7px;
    font-size: 1.55rem;
    font-weight: 700;
    color: #29465f;
}

.ba-contact-form-card .form-control {
    min-height: 48px;
    border-radius: 14px;
    border: 1px solid #ccd8e3;
    box-shadow: none;
    font-size: 1.65rem;
    line-height: 1.6;
    padding: 12px 14px;
    color: #243746;
}

.ba-contact-form-card .form-control:focus {
    border-color: #7ea6c8;
    box-shadow: 0 0 0 3px rgba(31, 79, 120, 0.08);
}

.ba-contact-message {
    min-height: 220px;
    resize: vertical;
    font-size: 1.65rem;
}

.ba-contact-recaptcha {
    margin-top: 10px;
    margin-bottom: 16px;
}

.ba-contact-submit {
    min-width: 170px;
    padding: 12px 22px;
    border-radius: 999px;
    font-size: 1.45rem;
    font-weight: 700;
}

.ba-contact-submit[disabled] {
    opacity: 0.65;
    cursor: not-allowed;
}

.ba-contact-person {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 18px 0;
    border-bottom: 1px solid #e4ece8;
}

.ba-contact-person:first-of-type {
    padding-top: 4px;
}

.ba-contact-person:last-of-type {
    margin-bottom: 12px;
}

.ba-contact-person-icon {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: #eef6ff;
    color: #1f4f78;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.ba-contact-person-icon-alt {
    background: #eef8f2;
    color: #2f6b4f;
}

/* Let the site's normal heading styles control colour/size */
.ba-contact-person-body h4 {
    margin: 0 0 4px 0;
}

.ba-contact-role {
    margin-bottom: 8px;
    color: #5f7387;
    font-size: 1.35rem;
    font-weight: 600;
}

.ba-contact-person-body p {
    margin-bottom: 6px;
    font-size: 1.6rem;
    color: #405364;
    line-height: 1.6;
}

.ba-contact-person-body i {
    width: 18px;
    margin-right: 4px;
    color: #6e8498;
}

.ba-contact-mini-panel {
    margin-top: 18px;
    padding: 18px 18px;
    background: #f8fbfc;
    border: 1px solid #e3eceb;
    border-radius: 18px;
}

/* Let the site's normal heading styles control colour/size */
.ba-contact-mini-panel h4 {
    margin-top: 0;
    margin-bottom: 10px;
}

.ba-contact-mini-panel p {
    margin-bottom: 0;
    font-size: 1.6rem;
    line-height: 1.75;
    color: #4f6272;
}

.ba-contact-mini-panel i {
    margin-right: 6px;
}

.ba-contact-hours {
    margin-bottom: 0;
}

.ba-contact-hours li {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 8px 0;
    font-size: 1.4rem;
    border-bottom: 1px dashed #dbe5e3;
}

.ba-contact-hours li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.ba-contact-hours span {
    color: #516474;
}

.ba-contact-hours strong {
    color: #213547;
    font-weight: 700;
    text-align: right;
}

/* =========================================================
   PREFILL ALERT for Contact Us page
   ========================================================= */
.ba-contact-prefill {
    max-width: 860px;
    margin: 0 auto 22px auto;
    padding: 18px 20px;
    border-radius: 18px;
    border: 2px solid #e6d7a3;
    background: linear-gradient(to bottom, #fffdf5, #fff6d9);
    color: #5c4a1f;
    font-size: 1.55rem;
    line-height: 1.65;
    font-weight: 600;
    box-shadow: 0 8px 18px rgba(92, 74, 31, 0.08);
}

/* Success */
#contactSuccess {
    border: 2px solid #b7dfc8;
    background: linear-gradient(to bottom, #f4fbf7, #e6f6ee);
    color: #1f5c3a;
    box-shadow: 0 8px 18px rgba(31, 92, 58, 0.08);
}

/* General error */
#contactError {
    border: 2px solid #e2b8b8;
    background: linear-gradient(to bottom, #fff6f6, #fde8e8);
    color: #7a2e2e;
    box-shadow: 0 8px 18px rgba(122, 46, 46, 0.08);
}

/* Captcha / verification warning */
#contactCaptchaError {
    border: 2px solid #e6d7a3;
    background: linear-gradient(to bottom, #fffdf5, #fff6d9);
    color: #5c4a1f;
    box-shadow: 0 8px 18px rgba(92, 74, 31, 0.08);
}

.ba-contact-alert {
    max-width: 860px;
    margin: 0 auto 22px auto;
    padding: 18px 20px;
    border-radius: 18px;

    font-size: 1.55rem;
    line-height: 1.65;
    font-weight: 600;
}

/* Icon styling */
.ba-contact-prefill i {
    margin-right: 10px;
    color: #c49b2a;
    font-size: 1.2em;
}

/* Optional: subtle left accent strip (adds a bit of class) */
.ba-contact-prefill {
    border-left: 6px solid #c49b2a;
}

/* Mobile tweak */
@media (max-width: 767px) {
    .ba-contact-prefill {
        font-size: 1.4rem;
        padding: 16px;
    }
}

@media (max-width: 991px) {
    .ba-contact-hero {
        padding: 26px 20px;
        margin-bottom: 22px;
    }

    .ba-contact-intro {
        font-size: 1.5rem;
    }

    .ba-contact-card {
        padding: 24px 20px;
    }
}

@media (max-width: 767px) {
    .ba-contact-intro,
    .ba-contact-section-text,
    .ba-contact-mini-panel p,
    .ba-contact-person-body p {
        font-size: 1.4rem;
    }

    .ba-contact-person {
        gap: 12px;
    }

    .ba-contact-hours li {
        flex-direction: column;
        gap: 3px;
    }

    .ba-contact-hours strong {
        text-align: left;
    }

    /* Minimum 16px to avoid mobile zoom weirdness */
    .ba-contact-form-card .form-control {
        font-size: 16px;
    }
}

/* =========================================================
   CONTACT LOGIN PAGE EXTRAS
   ========================================================= */

.ba-login-feature-list {
    margin-left: 25px;
    padding-left: 0;
}

.ba-login-feature-list li {
    position: relative;
    padding: 7px 0 7px 0;
    font-size: 1.45rem;
    line-height: 1.65;
    color: #405364;
    border-bottom: 1px dashed #dbe5e3;
}

.ba-login-feature-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.ba-login-feature-list i {
    width: 18px;
    margin-right: 6px;
    color: #2f6b4f;
}

.ba-contact-note-panel {
    background: #fffdf5;
    border-color: #eee4bf;
}

/* =========================================================
   FORM VALIDATION - SOFT WARNING STYLE
   ========================================================= */

/* Invalid fields (not focused) */
#contactFormAdvanced input:invalid,
#contactFormAdvanced textarea:invalid,
#contactFormAdvanced select:invalid {
    border-color: #e6c200 !important;
}

/* Invalid + focused (override theme focus style ONLY here) */
#contactFormAdvanced input:invalid:focus,
#contactFormAdvanced textarea:invalid:focus,
#contactFormAdvanced select:invalid:focus {
    border-color: #e6c200 !important;
    box-shadow: none !important;
}

/* MI Reports Table Adjustments */
#BudgetsVSpendTable {
    table-layout: auto;
}

#BudgetsVSpendTable th:first-child,
#BudgetsVSpendTable td:first-child {
    width: 22%;
    min-width: 180px;
    white-space: nowrap;
}

/* =========================================================
   MI Reporting - Budgets v Spend Table � Colour Coding
   ========================================================= */

/* Body cells */
#BudgetsVSpendTable .budget-value {
    color: #1e5eff;
    font-weight: 600;
}

#BudgetsVSpendTable .spend-value {
    color: #1a8f3c;
    font-weight: 600;
}

#BudgetsVSpendTable .spend-over {
    color: #d62c1a;
    font-weight: 700;
}

/* Column headers */
#BudgetsVSpendTable thead th:nth-child(2),
#BudgetsVSpendTable thead th:nth-child(4),
#BudgetsVSpendTable thead th:nth-child(6),
#BudgetsVSpendTable thead th:nth-child(8),
#BudgetsVSpendTable thead th:nth-child(10) {
    color: #1e5eff;
}

#BudgetsVSpendTable thead th:nth-child(3),
#BudgetsVSpendTable thead th:nth-child(5),
#BudgetsVSpendTable thead th:nth-child(7),
#BudgetsVSpendTable thead th:nth-child(9),
#BudgetsVSpendTable thead th:nth-child(11) {
    color: #1a8f3c;
}

/* Highlight Total Budget & Total Spend columns (soft) */
#BudgetsVSpendTable th:nth-child(2),
#BudgetsVSpendTable th:nth-child(3),
#BudgetsVSpendTable td:nth-child(2),
#BudgetsVSpendTable td:nth-child(3) {
    background-color: #fff9e6;
}

/* =========================================================
   Booklists page + Adult Fiction preview pages
   Uses existing home-intro and home-cta styles where possible
   ========================================================= */

/* -----------------------------------------
   Preview icon on booklists table
   ----------------------------------------- */

.ba-booklist-preview-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #eef6ff;
    color: #28577f;
    text-decoration: none;
    border: 1px solid #cfe0f2;
    transition: all 0.2s ease;
}

.ba-booklist-preview-link:hover,
.ba-booklist-preview-link:focus {
    background: #28577f;
    color: #fff;
    border-color: #28577f;
    text-decoration: none;
}

.ba-preview-intro {
    font-size: 18px;
    line-height: 1.6;
    color: #444;
    max-width: 700px;
    margin-bottom: 15px;
}

.ba-preview-language-note {
    font-size: 16px;          /* normal body size */
    line-height: 1.6;
    color: #555;              /* softer than main intro */
    margin-top: 10px;
    max-width: 700px;         /* keeps it readable */
}

/* screen-reader only helper */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* -----------------------------------------
   Booklists table � fixed consistent column widths
   ----------------------------------------- */

.ba-booklist-table {
    width: 100%;
    table-layout: fixed;
}

.ba-booklist-table th,
.ba-booklist-table td {
    text-align: center;
    vertical-align: middle;
}

.ba-booklist-table th:first-child,
.ba-booklist-table td:first-child {
    width: 28%;
    text-align: left;
}

.ba-booklist-table th:nth-child(2),
.ba-booklist-table td:nth-child(2) {
    width: 12%;
}

.ba-booklist-table th:nth-child(n+3),
.ba-booklist-table td:nth-child(n+3) {
    width: 12%;
}

/* -----------------------------------------
   Adult Fiction preview page
   ----------------------------------------- */

.ba-preview-intro-container {
    margin-top: 0;
}

.ba-preview-intro-container .home-intro-row {
    background: linear-gradient(to bottom, #fffdf7, #fff8e8);
    border: 1px solid #eadfb4;
    border-radius: 20px;
    padding: 26px 26px 18px;
    box-shadow: 0 10px 24px rgba(92, 74, 31, 0.06);
}

.ba-preview-intro-container h2 {
    margin: 0 0 16px;
    font-size: 2rem;
    line-height: 1.45;
    font-weight: 700;
    color: #2c4863;
}

.ba-preview-points {
    margin-bottom: 0;
}

.ba-preview-points li {
    color: #5a4b26;
    line-height: 1.75;
    margin-bottom: 8px;
}

.ba-preview-points li strong {
    color: #7a5a12;
}

.ba-booklist-list-heading {
    margin: 0 0 18px;
    padding-left: 2px;
    font-size: 1.7rem;
    line-height: 1.35;
    font-weight: 700;
    color: #28577f;
}

.ba-booklist-section {
    margin-bottom: 38px;
}

.ba-booklist-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.ba-book-card {
    background: #fff;
    border: 1px solid #dbe6ef;
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 6px 18px rgba(35, 66, 93, 0.06);
}

.ba-book-card-colour {
    background: linear-gradient(to bottom, #ffffff, #fcfdfd);
    border: 1px solid #d9e4ec;
    box-shadow: 0 10px 22px rgba(35, 66, 93, 0.07);
}

.ba-book-card-inner {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.ba-book-cover {
    width: 110px;
    min-width: 110px;
    border: 1px solid #d8dee6;
    border-radius: 6px;
    background: #fff;
    padding: 3px;
    box-sizing: border-box;
}

.ba-book-details h3 {
    margin: 0 0 10px;
    font-size: 2rem;
    line-height: 1.3;
    font-weight: 700;
    color: #B23A3A;
}

.ba-book-details p {
    margin: 0 0 8px;
    line-height: 1.55;
    color: #465d70;
}

.ba-book-meta {
    margin-top: 10px;
    font-size: 1.2rem;
    color: #5b7183;
}

.ba-book-description {
    margin-top: 18px;
    padding-top: 14px;
    line-height: 1.65;
    color: #506575;
    border-top: 1px solid #e7edf2;
}

.ba-book-flags {
    margin-top: 10px;
}

.ba-book-flag {
    display: inline-block;
    margin: 0 6px 6px 0;
    padding: 4px 9px;
    border-radius: 999px;
    font-size: 0.84rem;
    line-height: 1.2;
    font-weight: 700;
}

.ba-book-flag-red {
    background: #fce8e8;
    color: #a94442;
}

.ba-book-flag-blue {
    background: #e8f1fc;
    color: #2b5f9e;
}

.ba-booklist-cta-warm {
    margin-top: 34px;
    padding: 24px 26px;
    background: linear-gradient(to bottom, #fffdf5, #fff4d2);
    border: 1px solid #e6d7a3;
    border-radius: 18px;
    box-shadow: 0 10px 24px rgba(122, 90, 18, 0.08);
}

.ba-booklist-cta-warm h2 {
    margin: 0 0 10px;
    font-size: 1.65rem;
    line-height: 1.35;
    font-weight: 700;
    color: #7a5a12;
}

.ba-booklist-cta-warm p {
    color: #5c4a1f;
    line-height: 1.7;
}

/* -----------------------------------------
   Responsive
   ----------------------------------------- */

@media (max-width: 991px) {
    .ba-booklist-grid {
        grid-template-columns: 1fr;
    }

    .ba-preview-intro-container .home-intro-row {
        padding: 20px 18px 14px;
    }

    .ba-preview-intro-container h2 {
        font-size: 1.65rem;
    }

    .ba-booklist-list-heading {
        font-size: 1.45rem;
    }

    .ba-booklist-cta-warm h2 {
        font-size: 1.4rem;
    }
}

@media (max-width: 575px) {
    .ba-book-card-inner {
        flex-direction: column;
    }

    .ba-book-cover {
        width: 90px;
        min-width: 90px;
    }
}

/* Compact jumbotron � used only where needed */
.ba-jumbotron-compact {
    padding: 16px 20px;
}

.ba-jumbotron-compact p {
    font-size: 2rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* ---------------------------------------------------------
   Excel choice modal - Booklists Excel or Basket
   --------------------------------------------------------- */
/* ---------------------------------------------------------
   Excel choice modal - celebratory version
   --------------------------------------------------------- */

.ba-modal-overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(15, 23, 42, 0.55);
    z-index: 9999;
}

.ba-modal-overlay.is-open {
    display: flex;
}

.ba-modal-box {
    position: relative;
    width: 100%;
    max-width: 580px;
    padding: 30px 26px 22px;
    text-align: center;
    border-radius: 18px;
    border: 1px solid #d9e2ec;
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.24);
}

.ba-modal-box--celebration {
    background:
        linear-gradient(180deg, #fffdf5 0%, #ffffff 22%, #f8fbff 100%);
}

.ba-modal-box--warning {
    background:
        linear-gradient(180deg, #fffaf0 0%, #ffffff 22%, #fffdf7 100%);
}

.ba-modal-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    padding: 7px 14px;
    border-radius: 999px;
    background: linear-gradient(180deg, #fff3bf 0%, #ffe08a 100%);
    color: #6b4f00;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.2px;
    box-shadow: inset 0 0 0 1px rgba(107, 79, 0, 0.12);
}

.ba-modal-badge i {
    font-size: 15px;
}

.ba-modal-box h3 {
    margin: 0 0 14px;
    font-size: 30px;
    line-height: 1.25;
    color: #1f2937;
    font-weight: 800;
}

.ba-modal-lead {
    margin: 0 0 14px;
    font-size: 19px;
    line-height: 1.7;
    color: #334155;
}

.ba-modal-note {
    margin: 0 0 22px;
    font-size: 16px;
    line-height: 1.65;
    color: #475569;
}

.ba-modal-language-text {
    margin: 0 0 24px;
    font-size: 18px;
    line-height: 1.65;
    color: #475569;
}

.ba-modal-spacer {
    height: 10px;
}

.ba-modal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    margin-bottom: 16px;
}

.ba-modal-btn {
    min-width: 210px;
    padding: 12px 20px;
    font-size: 18px;
    border-radius: 10px;
    text-decoration: none !important;
    font-weight: 600;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.ba-modal-btn i {
    margin-right: 8px;
}

.ba-modal-btn-download {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #1f2937 !important;
}

.ba-modal-btn-download:hover,
.ba-modal-btn-download:focus {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #111827 !important;
}

.ba-modal-btn-basket {
    background: linear-gradient(180deg, #2563eb 0%, #1d4ed8 100%);
    border: 1px solid #1d4ed8;
    color: #ffffff !important;
}

.ba-modal-btn-basket:hover,
.ba-modal-btn-basket:focus {
    background: linear-gradient(180deg, #1d4ed8 0%, #1e40af 100%);
    border-color: #1e40af;
    color: #ffffff !important;
}

.ba-modal-footer {
    margin-top: 2px;
}

.ba-modal-cancel-btn {
    background: transparent;
    border: 0;
    color: #475569;
    font-size: 17px;
    font-weight: 600;
    padding: 8px 14px;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.ba-modal-cancel-btn:hover,
.ba-modal-cancel-btn:focus {
    color: #0f172a;
    outline: none;
}

.ba-modal-btn-warning {
    background: #f59e0b;          /* warm amber */
    border: 1px solid #f59e0b;
    color: #fff !important;
}

.ba-modal-btn-warning:hover,
.ba-modal-btn-warning:focus {
    background: #d97706;          /* darker amber */
    border-color: #d97706;
    color: #fff !important;
}

.ba-modal-btn-danger {
    background: #b42318;
    border: 1px solid #b42318;
    color: #fff !important;
}

.ba-modal-btn-danger:hover,
.ba-modal-btn-danger:focus {
    background: #912018;
    border-color: #912018;
    color: #fff !important;
}

.ba-excel-icon-wrap {
    position: relative;
    display: inline-block;
}

.ba-excel-plus {
    position: absolute;
    top: -4px;
    right: -6px;
    background: #2563eb;
    color: #fff;
    font-size: 11px;
    line-height: 1;
    padding: 2px 4px;
    border-radius: 6px;
    font-weight: 700;
}

.ba-excel-icon-wrap:hover .ba-excel-plus {
    background: #1d4ed8;
}

.ba-booklist-excel-choice:hover img {
    opacity: 0.85;
}

@media (max-width: 575px) {
    .ba-modal-box {
        padding: 24px 18px 18px;
        max-width: 96%;
    }

    .ba-modal-box h3 {
        font-size: 24px;
    }

    .ba-modal-lead {
        font-size: 17px;
    }

    .ba-modal-language-text {
        font-size: 16px;
    }

    .ba-modal-actions {
        flex-direction: column;
    }

    .ba-modal-btn {
        width: 100%;
        min-width: 0;
    }

    .ba-modal-cancel-btn {
        width: 100%;
    }
}

/* banner to remind i'm on staging, NOT LIVE */
.ba-env-banner {
    background: repeating-linear-gradient(
        45deg,
        #ffd800,
        #ffd800 14px,
        #000000 14px,
        #000000 28px
    );
    color: #000;
    border-bottom: 3px solid #000;
    padding: 12px 16px;
    text-align: center;
    font-size: 16px;
    font-weight: 800;
    position: sticky;
    top: 0;
    z-index: 10000;
    box-shadow: 0 3px 8px rgba(0,0,0,0.3);
}

.ba-env-banner span,
.ba-env-banner strong {
    background: #fff4e5;
    padding: 4px 10px;
    border: 2px solid #000;
    display: inline-block;
}

.ba-env-banner-live-admin {
    background: #fff4e5;
    color: #7a4b00;
    border-bottom: 2px solid #f0a000;
    padding: 8px 14px;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    position: sticky;
    top: 0;
    z-index: 10000;
}

.ba-env-banner-live-admin span {
    background: #ffffff;
    border: 1px solid #f0a000;
    border-radius: 999px;
    padding: 4px 12px;
    display: inline-block;
}

