/* Guest book */

.gwolle-gb .gwolle-gb-even {
	background-color: #d1e5f9;
} 
form.gwolle-gb-write div.label label {
   font-weight: bold;
   color: #5a6c9a !important; /* raf blue */
   font-family: sans-serif;
}
/* Guest book buttons colour */
.gwolle-gb input[type=”button”],
.gwolle-gb input[type=”submit”],
.gwolle-gb input.button {
box-shadow: 0 0.25em 0 0 #5a6c9a,0 4px 9px rgba(0,0,0,0.75);
background-color: #5a6c9a;
}
/* Guest book write button */
.gwolle-gb-write-button input {
border-radius: 0.25em;
border: none;
padding: 4px 8px;
}

/* guest book input notice colour to  #5a6c9a */
.gwolle_gb_notice {
color: #5a6c9a
}

/* contact form 7 */
/* contact form 7: new button color (light mode) */
.wpcf7 input[type="submit"] {
  background: #5584e1; /* background color, default value = #34343b */
  color: #ffffff; /* text color, default value = #ffffff */
}
.wpcf7 input[type="submit"]:hover,
.wpcf7 input[type="submit"]:focus {
  background: #6c98f0; /* background color on hover, default value = #786fff */
  color: #ffffff; /* text color on hover, default value = #ffffff */
}
 
/* Halva theme colour changes */
/* change widget title color (light mode) */
.bwp-widget .bwp-widget-title,
.bwp-sidebar-content .wp-block-group h1,
.bwp-sidebar-content .wp-block-group h2,
.bwp-sidebar-content .wp-block-group h3:not(.bwp-widget-title),
.bwp-sidebar-content .wp-block-group h4,
.bwp-sidebar-content .wp-block-group h5,
.bwp-sidebar-content .wp-block-group h6,
.bwp-sidebar-content .widget_block .widget-title {
  color: #5a6c9a; /* default color = #34343b */
}
 
/* navigation bar (light mode) */
.bwp-secondary-nav a {
		color: #5a6c9a;
	}
       .bwp-secondary-nav a:hover {
		color: #000;
}


    
.bwp-secondary-nav-container a:hover {
		color: #000;
	}

/* recaptcha badge visible - false */
.grecaptcha-badge {
	visibility: hidden
}

/* page title colour (light mode) */
.bwp-single-post-title {
  color: #5a6c9a;
}

/* post reply title colour */
.comment-reply-title {
  color: #5a6c9a;
}
 


/* Subscribe me widget button color */
#subscribe-submit .wp-block-button__link { 
	background-color:#5a6c9a;
 }

/* Buttons - Leave a reply button */
.button,
button,
input[type=button],
input[type=reset],
input[type=submit] {
  background-color: #5a6c9a;
  border: 1px solid transparent;
  border-radius: 0.563rem;
	}
	
/* Up arrow color */
.fa-arrow-up {
  color: #5a6c9a;
 	}



/* ?? Up arrow color */
.user-settings-button {
  color: #5a6c9a
 	}
/* Subscribe me widget button color */
#subscribe-submit .wp-block-button__link { 
	background-color:#5a6c9a;
 }

/* coment note to #5a6c9a */
.comment-notes {
		color: #5a6c9a
	}

/* subscribe-label colour to #5a6c9a */
.subscribe-label {
		color: #5a6c9a
	}

/* contact form label colour to #5a6c9a */
.wpcf7-form label {
color: #5a6c9a
}
/* subscribe-label colour to #5a6c9a */

/* testing css below */
/*  */



.gb-notice-dismiss {
color: red
}

/* Not Forgotten cemetery posts: justify the paragraph text
   (same post list as the table styles below) */
.tag-not-forgotten-cemetery .entry-content p {
  text-align: justify;
  hyphens: auto;
}


/* ===== Not Forgotten cemetery posts: table styles =====
   Applies to any post tagged "Not Forgotten cemeteries" (tag slug: not-forgotten-cemetery).
   To style a new cemetery post, just add that tag to it.
   Location Information tables = 3 rows; Map key tables = 4+ rows. */

/* Location Information tables */
.tag-not-forgotten-cemetery .entry-content table:not(.fcafa-grave):not(:has(tr:nth-child(4))) {
  border-collapse: separate !important;
  border-spacing: 0 !important;
  width: 100% !important;
  margin: 10px 0 !important;
  border: 2px solid #5a6c9a;
  border-radius: 8px;
  overflow: hidden;
  background: #eef2f9;
  box-shadow: 0 3px 10px rgba(30,40,70,.15);
}
.tag-not-forgotten-cemetery .entry-content table:not(.fcafa-grave):not(:has(tr:nth-child(4))) td {
  border: none;
  border-bottom: 1px solid #d3dbe9;
  padding: 10px 14px;
  vertical-align: middle;
  text-align: left !important;
}
.tag-not-forgotten-cemetery .entry-content table:not(.fcafa-grave):not(:has(tr:nth-child(4))) tr:last-child td {
  border-bottom: none;
}
.tag-not-forgotten-cemetery .entry-content table:not(.fcafa-grave):not(:has(tr:nth-child(4))) td:first-child {
  background: #5a6c9a;
  color: #fff;
  width: 9.5em;
  white-space: nowrap;
  border-bottom-color: rgba(255,255,255,.25);
}
.tag-not-forgotten-cemetery .entry-content table:not(.fcafa-grave):not(:has(tr:nth-child(4))) td:first-child b,
.tag-not-forgotten-cemetery .entry-content table:not(.fcafa-grave):not(:has(tr:nth-child(4))) td:first-child strong {
  color: #fff;
}
.tag-not-forgotten-cemetery .entry-content table:not(.fcafa-grave):not(:has(tr:nth-child(4))) td a {
  display: inline-block;
  background: #5a6c9a;
  color: #fff !important;
  text-decoration: none;
  padding: 3px 14px;
  border-radius: 4px;
  font-weight: 600;
}
.tag-not-forgotten-cemetery .entry-content table:not(.fcafa-grave):not(:has(tr:nth-child(4))) td a:hover {
  background: #3f4f78;
}
@media (max-width: 600px) {
  .tag-not-forgotten-cemetery .entry-content table:not(.fcafa-grave):not(:has(tr:nth-child(4))) td:first-child {
    white-space: normal;
    width: 6.5em;
  }
}

/* Map key tables — also used by any post tagged "Map key" (tag slug: map-key) */
:is(.tag-not-forgotten-cemetery, .tag-map-key) .entry-content table:has(tr:nth-child(4)) {
  border-collapse: separate !important;
  border-spacing: 0 !important;
  width: 100% !important;
  margin: 10px 0 !important;
  border: 2px solid #5a6c9a;
  border-radius: 8px;
  overflow: hidden;
  background: #eef2f9;
  box-shadow: 0 3px 10px rgba(30,40,70,.15);
}
:is(.tag-not-forgotten-cemetery, .tag-map-key) .entry-content table:has(tr:nth-child(4)) td {
  border: none;
  border-bottom: 1px solid #d3dbe9;
  padding: 8px 14px;
  vertical-align: middle;
}
:is(.tag-not-forgotten-cemetery, .tag-map-key) .entry-content table:has(tr:nth-child(4)) tr:last-child td {
  border-bottom: none;
}
:is(.tag-not-forgotten-cemetery, .tag-map-key) .entry-content table:has(tr:nth-child(4)) tr:nth-child(even) td {
  background: #e3e9f4;
}
:is(.tag-not-forgotten-cemetery, .tag-map-key) .entry-content table:has(tr:nth-child(4)) td:first-child {
  background: #5a6c9a !important;
  color: #fff;
  text-align: center !important;
  width: 6em;
  white-space: nowrap;
  border-bottom-color: rgba(255,255,255,.25);
  font-weight: 600;
}
:is(.tag-not-forgotten-cemetery, .tag-map-key) .entry-content table:has(tr:nth-child(4)) tr:first-child td {
  background: #5a6c9a !important;
  color: #fff;
  border-bottom: 2px solid #3f4f78;
}
:is(.tag-not-forgotten-cemetery, .tag-map-key) .entry-content table:has(tr:nth-child(4)) tr:first-child td b,
:is(.tag-not-forgotten-cemetery, .tag-map-key) .entry-content table:has(tr:nth-child(4)) tr:first-child td strong {
  color: #fff;
}


/* Map key tables: group heading rows (one cell spanning the table) and wide tick-list tables */
:is(.tag-not-forgotten-cemetery, .tag-map-key) .entry-content table td[colspan],
:is(.tag-not-forgotten-cemetery, .tag-map-key) .entry-content table td[colspan] :is(span, b, strong, font, em) {
  color: #fff !important;
}
:is(.tag-not-forgotten-cemetery, .tag-map-key) .entry-content table td[colspan] {
  background: #3f4f78 !important;
  text-align: left !important;
  font-weight: 600;
}
.tag-map-key .entry-content table:has(td:nth-child(5)) td:nth-child(n+3) {
  text-align: center !important;
}
.tag-map-key .entry-content table:has(td:nth-child(5)) td:nth-child(n+3) * { text-align: center !important; }

/* ===== "One of the Few" posts: combat success tables =====
   Same look as the Not Forgotten Map key tables.
   Applies to any post tagged "One of the Few" (tag slug: one-of-the-few).
   To style a new post, just add that tag to it. */
.tag-one-of-the-few .entry-content table:has(tr) {
  border-collapse: separate !important;
  border-spacing: 0 !important;
  width: 100% !important;
  margin: 10px 0 !important;
  border: 2px solid #5a6c9a !important;
  border-radius: 8px;
  overflow: hidden;
  background: #eef2f9 !important;
  box-shadow: 0 3px 10px rgba(30,40,70,.15);
}
.tag-one-of-the-few .entry-content table:has(tr) tr { background: transparent !important; }
.tag-one-of-the-few .entry-content table:has(tr) td, .tag-one-of-the-few .entry-content table:has(tr) th {
  border: none !important;
  border-bottom: 1px solid #d3dbe9 !important;
  padding: 8px 14px !important;
  vertical-align: middle;
  background: #eef2f9;
}
.tag-one-of-the-few .entry-content table:has(tr) td p, .tag-one-of-the-few .entry-content table:has(tr) th p { margin: 0 !important; }
.tag-one-of-the-few .entry-content table:has(tr) tr:last-child td { border-bottom: none !important; }
.tag-one-of-the-few .entry-content table:has(tr) tr:nth-child(even) td { background: #e3e9f4; }
.tag-one-of-the-few .entry-content table:has(tr) td:first-child, .tag-one-of-the-few .entry-content table:has(tr) th:first-child {
  background: #5a6c9a !important;
  color: #fff;
  text-align: center !important;
  width: 6em;
  white-space: nowrap;
  border-bottom-color: rgba(255,255,255,.25) !important;
  font-weight: 600;
}
.tag-one-of-the-few .entry-content table:has(tr) td:first-child p { text-align: center !important; color: #fff; }
.tag-one-of-the-few .entry-content table:has(tr) tr:first-child td, .tag-one-of-the-few .entry-content table:has(tr) tr:first-child th {
  background: #5a6c9a !important;
  color: #fff;
  border-bottom: 2px solid #3f4f78 !important;
}
.tag-one-of-the-few .entry-content table:has(tr) tr:first-child td *, .tag-one-of-the-few .entry-content table:has(tr) tr:first-child th * { color: #fff !important; }


/* ===== Contact page: Contact Form 7 ===== */
.page-id-2373 .wpcf7-form { max-width: 690px; margin: 0 auto; }
.page-id-2373 .wpcf7-form p { margin: 0 0 18px; }
.page-id-2373 .wpcf7-form br { display: none; }
.page-id-2373 .wpcf7-form label { display: block; margin-bottom: 20px; font-size: 14px; font-weight: 600; color: #3f4f78; }
.page-id-2373 .wpcf7-form .wpcf7-form-control-wrap { display: block; margin-top: 6px; }
.page-id-2373 .wpcf7-form p.fcafa-required { font-size: 13px; color: #5a6c9a; font-style: italic; }
.page-id-2373 .wpcf7-form .fcafa-hint { display: block; font-size: 12px; font-weight: 400; color: #6b7280; margin-top: 2px; }
.page-id-2373 .wpcf7-form input[type=text],
.page-id-2373 .wpcf7-form input[type=email],
.page-id-2373 .wpcf7-form input[type=url],
.page-id-2373 .wpcf7-form textarea { width: 100%; background: #fff; border: 1px solid #d3dbe9; border-radius: 6px; color: #333; transition: border-color .15s, box-shadow .15s; }
.page-id-2373 .wpcf7-form textarea { min-height: 180px; resize: vertical; }
.page-id-2373 .wpcf7-form input:focus,
.page-id-2373 .wpcf7-form textarea:focus { outline: none; border-color: #5a6c9a; box-shadow: 0 0 0 3px rgba(90,108,154,.18); }
.page-id-2373 .wpcf7-form input[type=file] { font-size: 13px; padding: 8px; width: 100%; background: #eef2f9; border: 1px dashed #b9c4dc; border-radius: 6px; }
.page-id-2373 .wpcf7-form .wpcf7-submit { background: #5a6c9a; border-color: #5a6c9a; color: #fff; padding: 0 28px; font-weight: 600; cursor: pointer; }
.page-id-2373 .wpcf7-form .wpcf7-submit:hover,
.page-id-2373 .wpcf7-form .wpcf7-submit:focus { background: #3f4f78; border-color: #3f4f78; }
.page-id-2373 .wpcf7-form .wpcf7-not-valid { border-color: #c0392b; }
.page-id-2373 .wpcf7-form .wpcf7-not-valid-tip { font-size: 12px; font-weight: 400; margin-top: 4px; }
.page-id-2373 .wpcf7-form .wpcf7-response-output { border-radius: 6px; padding: 10px 14px; margin: 16px 0 0; font-size: 14px; }


/* ===== Book details tables (publisher, ISBN, format...) =====
   Applies to any post tagged "Books" (tag slug: books).
   To style a new book post, just add that tag to it. */
.tag-books .entry-content .wp-block-table { border-bottom: 0 !important; margin: 1.5em 0 !important; }
.tag-books .entry-content table:not(:has(tr)) { display: none !important; }
.tag-books .entry-content table:has(tr) {
  border-collapse: separate !important;
  border-spacing: 0 !important;
  width: 100% !important;
  max-width: 560px;
  margin: 1.5em 0 !important;
  border: 1px solid #d3dbe9 !important;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.tag-books .entry-content table td {
  padding: 9px 14px !important;
  border: 0 !important;
  border-bottom: 1px solid #d3dbe9 !important;
  background: #fff !important;
  text-align: left !important;
  vertical-align: top;
  font-size: 14px;
  line-height: 1.45;
  color: #333;
}
.tag-books .entry-content table tr:last-child td { border-bottom: 0 !important; }
.tag-books .entry-content table td:first-child {
  width: 36%;
  background: #eef2f9 !important;
  color: #3f4f78;
  font-weight: 600;
  border-right: 1px solid #d3dbe9 !important;
}
.tag-books .entry-content table td span,
.tag-books .entry-content table td font { font-family: inherit !important; font-size: inherit !important; }
.tag-books .entry-content table td b,
.tag-books .entry-content table td strong { font-weight: 600; }
.tag-books .entry-content table td a { color: #3f4f78; }


/* ===== Squadron history posts: officer, aircraft and bases tables =====
   Applies to any post tagged "Squadron history" (tag slug: squadron-history).
   Title rows (one cell spanning the table, in bold) become blue bands;
   the row after a title is the column-header row; empty spacer rows are hidden. */
.tag-squadron-history .entry-content .wp-block-table { border-bottom: 0 !important; }
.tag-squadron-history .entry-content table:has(tr) {
  border-collapse: separate !important;
  border-spacing: 0 !important;
  width: 100% !important;
  margin: 10px 0 1.5em !important;
  border: 2px solid #5a6c9a !important;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(30,40,70,.15);
}
.tag-squadron-history .entry-content table td {
  border: none !important;
  border-bottom: 1px solid #d3dbe9 !important;
  padding: 7px 12px !important;
  vertical-align: middle;
  background: #fff !important;
  text-align: left !important;
}
.tag-squadron-history .entry-content table tr:nth-child(even) td { background: #eef2f9 !important; }
.tag-squadron-history .entry-content table tr:last-child td { border-bottom: none !important; }
.tag-squadron-history .entry-content table td span { font-family: inherit !important; }
.tag-squadron-history .entry-content table tr:has(> td[colspan]:only-child):not(:has(b, strong)) { display: none; }
.tag-squadron-history .entry-content table tr:has(> td[colspan] :is(b, strong)) td {
  background: #5a6c9a !important;
  color: #fff;
  border-bottom: 2px solid #3f4f78 !important;
  padding: 9px 12px !important;
}
.tag-squadron-history .entry-content table tr:has(> td[colspan] :is(b, strong)) td :is(b, strong, em, span) { color: #fff; }
.tag-squadron-history .entry-content table tr:has(> td[colspan] :is(b, strong)) + tr:not(:has(td[colspan])) td,
.tag-squadron-history .entry-content table tr:has(> td[colspan] :is(b, strong)) + tr:has(> td[colspan]:only-child):not(:has(b, strong)) + tr td,
.tag-squadron-history .entry-content table:not(:has(td[colspan])) tr:first-child td {
  background: #e3e9f4 !important;
  color: #3f4f78;
  font-weight: 600;
  border-bottom: 2px solid #b9c4dc !important;
}


/* ===== Research page (page 4429): archive contact-details tables =====
   Same card look as the Book details tables. */
.page-id-4429 .entry-content table:not(:has(tr)) { display: none !important; }
.page-id-4429 .entry-content table:has(tr) {
  border-collapse: separate !important;
  border-spacing: 0 !important;
  width: 100% !important;
  max-width: 560px;
  margin: 12px 0 28px !important;
  border: 1px solid #d3dbe9 !important;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.page-id-4429 .entry-content table td {
  padding: 9px 14px !important;
  border: 0 !important;
  border-bottom: 1px solid #d3dbe9 !important;
  background: #fff !important;
  text-align: left !important;
  vertical-align: top;
  font-size: 14px;
  line-height: 1.45;
  color: #333;
  word-break: break-word;
}
.page-id-4429 .entry-content table tr:last-child td { border-bottom: 0 !important; }
.page-id-4429 .entry-content table td:first-child {
  width: 36%;
  background: #eef2f9 !important;
  color: #3f4f78;
  font-weight: 600;
  border-right: 1px solid #d3dbe9 !important;
}
.page-id-4429 .entry-content table td :is(span, font) { font-family: inherit !important; font-size: inherit !important; }
.page-id-4429 .entry-content table td a { color: #3f4f78; }


/* ===== Aircraft posts: specification, abbreviation and serial-number tables =====
   Applies to any post tagged "Aircraft" (tag slug: aircraft).
   2-column tables with 3+ rows (specs, abbreviations, squadron codes) = label/value card.
   Wider tables (serial lists, marks-by-squadron) and 2-row tables = data grid;
   the first row is a header when its cells are bold or table headings. */
.tag-aircraft .entry-content .wp-block-table { border-bottom: 0 !important; }
.tag-aircraft .entry-content table:not(:has(tr)) { display: none !important; }
.tag-aircraft .entry-content table :is(td, th) :is(span, font) { font-family: inherit !important; font-size: inherit !important; }
.tag-aircraft .entry-content table a { color: #3f4f78; }

/* label / value card */
.tag-aircraft .entry-content table:has(tr:nth-child(3)):not(:has(:is(td,th):nth-child(3))) {
  border-collapse: separate !important; border-spacing: 0 !important;
  width: 100% !important; max-width: 560px;
  margin: 12px 0 24px !important;
  border: 1px solid #d3dbe9 !important; border-radius: 8px; overflow: hidden; background: #fff;
}
.tag-aircraft .entry-content table:has(tr:nth-child(3)):not(:has(:is(td,th):nth-child(3))) :is(td, th) {
  padding: 9px 14px !important; border: 0 !important; border-bottom: 1px solid #d3dbe9 !important;
  background: #fff !important; text-align: left !important; vertical-align: top;
  font-size: 14px; line-height: 1.45; color: #333; font-weight: 400;
}
.tag-aircraft .entry-content table:has(tr:nth-child(3)):not(:has(:is(td,th):nth-child(3))) tr:last-child :is(td, th) { border-bottom: 0 !important; }
.tag-aircraft .entry-content table:has(tr:nth-child(3)):not(:has(:is(td,th):nth-child(3))) :is(td, th):first-child {
  width: 36%; background: #eef2f9 !important; color: #3f4f78; font-weight: 600;
  border-right: 1px solid #d3dbe9 !important;
}
.tag-aircraft .entry-content table:has(tr:nth-child(3)):not(:has(:is(td,th):nth-child(3))) :is(thead tr, tr:has(th)) :is(td, th) {
  background: #5a6c9a !important; color: #fff !important; font-weight: 600;
  border-right: 0 !important; border-bottom: 2px solid #3f4f78 !important;
}
.tag-aircraft .entry-content table:has(tr:nth-child(3)):not(:has(:is(td,th):nth-child(3))) :is(thead tr, tr:has(th)) :is(td, th) * { color: #fff !important; }

/* data grid */
.tag-aircraft .entry-content table:is(:has(:is(td,th):nth-child(3)), :has(tr):not(:has(tr:nth-child(3)))) {
  border-collapse: separate !important; border-spacing: 0 !important;
  width: 100% !important;
  margin: 12px 0 24px !important;
  border: 1px solid #b9c4dc !important; border-radius: 8px; overflow: hidden; background: #fff;
}
.tag-aircraft .entry-content table:is(:has(:is(td,th):nth-child(3)), :has(tr):not(:has(tr:nth-child(3)))) :is(td, th) {
  padding: 7px 10px !important; border: 0 !important; border-bottom: 1px solid #d3dbe9 !important;
  background: #fff !important; text-align: left !important; vertical-align: top;
  font-size: 13.5px; line-height: 1.45; color: #333;
}
.tag-aircraft .entry-content table:is(:has(:is(td,th):nth-child(3)), :has(tr):not(:has(tr:nth-child(3)))) tr:nth-child(even) :is(td, th) { background: #f3f6fb !important; }
.tag-aircraft .entry-content table:is(:has(:is(td,th):nth-child(3)), :has(tr):not(:has(tr:nth-child(3)))) tr:last-child :is(td, th) { border-bottom: 0 !important; }
.tag-aircraft .entry-content table:is(:has(:is(td,th):nth-child(3)), :has(tr):not(:has(tr:nth-child(3)))) :is(td, th):first-child { color: #3f4f78; font-weight: 600; }
.tag-aircraft .entry-content table:is(:has(:is(td,th):nth-child(3)), :has(tr):not(:has(tr:nth-child(3)))) :is(thead tr, tr:has(th), tr:first-child:has(> :nth-child(2) :is(b, strong))) :is(td, th) {
  background: #5a6c9a !important; color: #fff !important; font-weight: 600;
  border-bottom: 2px solid #3f4f78 !important;
}
.tag-aircraft .entry-content table:is(:has(:is(td,th):nth-child(3)), :has(tr):not(:has(tr:nth-child(3)))) :is(thead tr, tr:has(th), tr:first-child:has(> :nth-child(2) :is(b, strong))) :is(td, th) * { color: #fff !important; }
@media (min-width: 700px) {
  .tag-aircraft .entry-content table:is(:has(:is(td,th):nth-child(3)), :has(tr):not(:has(tr:nth-child(3)))) :is(td, th):first-child { white-space: nowrap; }
}

/* Aircraft grids: let columns size to their content (notes column gets the room) */
.tag-aircraft .entry-content table:is(:has(:is(td,th):nth-child(3)), :has(tr):not(:has(tr:nth-child(3)))) { table-layout: auto !important; }
.tag-aircraft .entry-content table:has(:is(td,th):nth-child(4)) :is(td, th):last-child { width: 45%; }
.tag-aircraft .entry-content table :is(td, th) { width: auto; }
.tag-aircraft .entry-content table :is(td, th) { min-width: 3.2em; }


/* ===== Post & page text: use the site's own font at a readable size =====
   Most posts have "font-family: Arial; font-size: small" (and medium/large
   headings) written into every paragraph. These rules override those
   hard-coded settings so all text uses the theme font (Open Sans) at
   consistent sizes. Alignment, bold, italics and colours are unaffected.
   To undo, delete this block. */
.entry-content [style*="font-family"],
.entry-content font[face] { font-family: inherit !important; }
.entry-content [style*="font-size:xx-small"], .entry-content [style*="font-size: xx-small"],
.entry-content [style*="font-size:x-small"],  .entry-content [style*="font-size: x-small"] { font-size: 13px !important; }
.entry-content [style*="font-size:small"],    .entry-content [style*="font-size: small"]  { font-size: 15px !important; }
.entry-content [style*="font-size:medium"],   .entry-content [style*="font-size: medium"] { font-size: 17px !important; }
.entry-content [style*="font-size:large"],    .entry-content [style*="font-size: large"]  { font-size: 20px !important; }
.entry-content [style*="font-size:x-large"],  .entry-content [style*="font-size: x-large"] { font-size: 24px !important; }
.entry-content [style*="font-size:xx-large"], .entry-content [style*="font-size: xx-large"] { font-size: 28px !important; }
.entry-content p { line-height: 1.7; }


/* Not Forgotten cemetery posts: keep the right-hand headstone photos in one
   column (a photo after a short entry would otherwise sit beside the one above) */
.tag-not-forgotten-cemetery .entry-content img.alignright { clear: right; }


/* Separator lines: the "______" lines typed into posts are marked .fcafa-rule
   by a Code Snippet and shown as a full-width line in the Map key blue. */
.entry-content .fcafa-rule {
  display: block;
  height: 0;
  margin: 30px 0 !important;
  padding: 0 !important;
  border: 0;
  border-top: 2px solid #5a6c9a;
  clear: both;
  overflow: hidden;
  font-size: 0 !important;
  line-height: 0 !important;
  color: transparent;
}
.entry-content .fcafa-rule * { font-size: 0 !important; }


/* Not Forgotten: keep each headstone with its own entry */
.tag-not-forgotten-cemetery .entry-content figure.alignright { clear: right; }
.tag-not-forgotten-cemetery .entry-content hr.wp-block-separator { clear: both; }


/* Grave reference tables (e.g. Brookwood) */
.entry-content table.fcafa-grave, .tag-not-forgotten-cemetery .entry-content table.fcafa-grave { width: 100%; margin: 18px 0; border: 2px solid #5a6c9a; border-radius: 8px; overflow: hidden; background: #eef2f9; box-shadow: 0 3px 10px rgba(30,40,70,.15); border-collapse: separate !important; border-spacing: 0 !important; }
.entry-content table.fcafa-grave td, .tag-not-forgotten-cemetery .entry-content table.fcafa-grave td { padding: 8px 14px; border: none; background: transparent; color: inherit; width: auto; white-space: normal; vertical-align: middle; text-align: left !important; }
.entry-content table.fcafa-grave td + td, .tag-not-forgotten-cemetery .entry-content table.fcafa-grave td + td { border-left: 1px solid #d3dbe9; }
.entry-content table.fcafa-grave td[colspan], .tag-not-forgotten-cemetery .entry-content table.fcafa-grave td[colspan] { background: #5a6c9a !important; color: #fff !important; font-weight: 600; font-size: 0.9em; letter-spacing: .02em; padding: 6px 14px; }


/* Medals from other Nations (post 25566):
   - each medal photo sits on the right, below the one above it
   - information text justified
   - dividing lines in the site blue used on the cemetery posts */
.postid-25566 .entry-content figure.alignright { clear: right; }
.postid-25566 .entry-content p,
.postid-25566 .entry-content li { text-align: justify; }
.postid-25566 .entry-content hr { background-color: #5a6c9a; border: 0; opacity: 1; }


/* ===== Medals series (posts tagged "Medals") =====
   To add a post to the series: give it the tag "Medals". */
.tag-medals .entry-content p, .tag-medals .entry-content li { text-align: justify; }
.tag-medals .entry-content [id] { scroll-margin-top: 90px; }
.tag-medals .med-series { display:flex; flex-wrap:wrap; align-items:center; gap:8px 18px; border-top:3px solid #5a6c9a; border-bottom:3px solid #5a6c9a; padding:10px 0; margin:0 0 28px; font-size:.9em; }
.tag-medals .med-series-t { flex-basis:100%; font-weight:bold; color:#5a6c9a; text-transform:uppercase; letter-spacing:.06em; font-size:.85em; }
.tag-medals .med-series a { text-decoration:none; border-bottom:1px solid #5a6c9a; }
.tag-medals .med-series .med-here { background:#5a6c9a; color:#fff; padding:2px 10px; border-radius:3px; }
.tag-medals .med-contents { background:#eef1f7; border-left:5px solid #5a6c9a; padding:14px 20px; margin:28px 0; }
.tag-medals .med-contents-t { font-weight:bold; color:#5a6c9a; margin:0 0 6px; text-transform:uppercase; letter-spacing:.06em; text-align:left !important; }
.tag-medals .med-contents ol { margin:0 0 0 1.2em; padding:0; } .tag-medals .med-contents ol ol { list-style:lower-alpha; margin-top:2px; }
.tag-medals .med-contents li { text-align:left !important; margin:2px 0; }
.tag-medals .med-contents > ol > li { margin-top:14px; }
.tag-medals .med-contents > ol > li:first-child { margin-top:4px; }
.tag-medals .med-contents > ol > li::marker { font-weight:700; color:#5a6c9a; font-size:1.1em; }
.tag-medals .med-contents > ol > li > a { font-weight:700; font-size:1.1em; color:#5a6c9a; text-transform:uppercase; letter-spacing:.05em; text-decoration:none; border-bottom:0; }
.tag-medals .med-contents > ol > li > a:hover { text-decoration:underline; }
.tag-medals .med-contents ol ol { margin-top:6px; }
.tag-medals hr.med-group-line { border:0; height:8px; background:#5a6c9a; width:100%; max-width:none; margin:44px 0 18px; opacity:1; }
.tag-medals hr.med-line { border:0; height:3px; background:#5a6c9a; width:100%; max-width:none; margin:30px 0; opacity:1; }
.tag-medals h2.med-group { color:#5a6c9a; text-align:center; text-transform:uppercase; letter-spacing:.08em; font-size:1.5em; margin:0 0 26px; }
.tag-medals h3.med-title { color:#5a6c9a; font-size:1.35em; margin:30px 0 4px; line-height:1.3; }
.tag-medals h3.med-title .med-en { display:block; font-size:.72em; font-weight:normal; font-style:italic; color:#4e4d58; margin-top:2px; }
.tag-medals h4.med-label { font-size:.95em; text-transform:uppercase; letter-spacing:.06em; color:#4e4d58; border-bottom:1px solid #d3dbe9; padding-bottom:4px; margin:26px 0 10px; }
.tag-medals h5.med-sub { color:#5a6c9a; font-size:1em; margin:16px 0 6px; }
.tag-medals .med-row { gap:2em; margin-bottom:6px; }
.tag-medals .med-row > .wp-block-column > h4.med-label:first-child { margin-top:10px; }
.tag-medals .med-pics { text-align:center; }
.tag-medals .med-pics figure.med-img { margin:6px auto 18px; display:table; }
.tag-medals .med-pics figure.med-img img { height:auto; }
.tag-medals .med-pics .med-pair { gap:10px; justify-content:center; align-items:flex-start; }
.tag-medals .med-pics .med-pair figure.med-img { margin:6px 0 18px; }
.tag-medals .med-pics figcaption { font-size:.8em; color:#4e4d58; margin-top:4px; text-align:center; }
.tag-medals .med-table table { border-collapse:collapse; width:100%; font-size:.9em; }
.tag-medals .med-table th { background:#5a6c9a; color:#fff; text-align:left; padding:6px 10px; border:0; }
.tag-medals .med-table td { padding:5px 10px; border:0; border-bottom:1px solid #d3dbe9; }
.tag-medals .med-table tr:nth-child(even) td { background:#f4f6fa; }
.tag-medals p.med-top { text-align:right !important; font-size:.85em; margin:10px 0 0; }
.tag-medals p.med-top a { text-decoration:none; }
.tag-medals mark.med-check { background:#fff3a0; padding:0 2px; }
.tag-medals p.med-ack { font-size:.9em; }
.tag-medals p.med-updated { font-size:.8em; color:#4e4d58; text-align:left !important; }


/* "On this day" button on tablets in landscape (992-1199px wide, e.g. iPad):
   the theme's Browse/Search buttons shrink to a small box at the top right,
   so the button sits just to the left of that box instead of on top of it.
   (The button's main styles are in the "On this day" code snippet.) */
@media (min-width: 992px) and (max-width: 1199px) {
  .bwp-sticky-buttons-container #fcafa-otd-btn {
    left: auto !important; right: 100% !important; top: 50% !important;
    transform: translateY(-50%) !important; margin-right: 10px;
  }
}
