/*
 * Blog styles. Built on the same colour and spacing variables as the main site (--sv-* in customes.css),
 * so the blog follows the light and dark themes and the same card, heading and button look.
 */

/* ------------------------------------------------------------------ base */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}
.screen-reader-text:focus {
  background: #fff;
  clip: auto;
  clip-path: none;
  color: #1b4079;
  display: block;
  font-weight: 700;
  height: auto;
  left: 8px;
  padding: 0.75rem 1rem;
  top: 8px;
  width: auto;
  z-index: 100000;
  border-radius: 0.5rem;
}
/* the sticky header sits below the WordPress admin bar for logged-in editors */
body.admin-bar .landing-top-header-outer { top: 32px; }
@media (max-width: 782px) { body.admin-bar .landing-top-header-outer { top: 46px; } }

.ib-main { --ib-radius: 1.1rem; --ib-brand: #1b4079; --ib-brand-hover: #0d2a4d; }
.ib-main a { text-underline-offset: 0.18em; }

/* ------------------------------------------------------------------ hero */
.ib-hero { padding: 3rem 0 1.5rem; }
.ib-crumb {
  align-items: center;
  color: var(--sv-text);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.85rem;
  gap: 0.55rem;
  margin-bottom: 1.8rem;
}
.ib-crumb a { color: var(--sv-text); text-decoration: none; }
.ib-crumb a:hover { color: var(--sv-accent); }
.ib-crumb [aria-current] { color: var(--sv-title); font-weight: 600; }
.ib-title {
  color: var(--sv-title);
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin: 0 0 1rem;
  max-width: 26ch;
}
.ib-lead {
  color: var(--sv-text);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.6;
  margin: 0 0 1.5rem;
  max-width: 62ch;
}
.ib-tools { align-items: center; display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; margin-top: 1.6rem; }

/* listing hero: everything centred */
.ib-hero .container { text-align: center; }
.ib-hero .svh-kicker { justify-content: center; }
.ib-hero .ib-title, .ib-hero .ib-lead { margin-left: auto; margin-right: auto; }
.ib-hero .ib-tools { align-items: center; flex-direction: column; justify-content: center; }
.ib-hero .ib-search { flex: 0 0 auto; max-width: 460px; width: 100%; }
.ib-hero .ib-cats { justify-content: center; }
.ib-hero .svh-kicker::after { background: var(--sv-accent); content: ''; display: block; flex: 0 0 auto; height: 2px; width: 2.2rem; }

/* search */
.ib-search {
  align-items: center;
  background: var(--sv-card);
  border: 1px solid var(--sv-line);
  border-radius: 999px;
  display: flex;
  flex: 0 1 380px;
  gap: 0.5rem;
  max-width: 100%;
  min-width: 240px;
  padding: 0.3rem 0.3rem 0.3rem 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.ib-search:focus-within { border-color: var(--sv-accent); box-shadow: 0 0 0 3px #2563eb26; }
.ib-search-ico { color: var(--sv-text); flex-shrink: 0; }
.ib-search-input {
  background: transparent;
  border: 0;
  color: var(--sv-title);
  flex: 1;
  font-size: 0.95rem;
  min-width: 0;
  outline: 0;
  padding: 0.5rem 0;
}
.ib-search-input::placeholder { color: var(--sv-text); opacity: 0.8; }
.ib-search-btn {
  background: var(--ib-brand);
  border: 0;
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.55rem 1.1rem;
  transition: background 0.2s;
}
.ib-search-btn:hover { background: var(--ib-brand-hover); }

/* category pills */
.ib-cats { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin: 0; padding: 0; }
.ib-cat {
  background: var(--sv-card);
  border: 1px solid var(--sv-line);
  border-radius: 999px;
  color: var(--sv-text);
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.45rem 0.95rem;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.ib-cat:hover { border-color: var(--sv-accent); color: var(--sv-accent); }
.ib-cat.is-active { background: var(--ib-brand); border-color: var(--ib-brand); color: #fff; }

/* ------------------------------------------------------------------ listing */
.ib-list { padding: 1.5rem 0 4rem; }
.ib-grid { display: grid; gap: 1.4rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }

.ib-card {
  background: var(--sv-card);
  border: 1px solid var(--sv-line);
  border-radius: var(--ib-radius);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.ib-card:hover { border-color: var(--sv-accent); box-shadow: 0 16px 36px #1b40791c; transform: translateY(-4px); }
.ib-card-media {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--sv-soft), #dbe7fb);
  display: block;
  overflow: hidden;
}
.ib-card-media img { display: block; height: 100%; object-fit: cover; transition: transform 0.5s; width: 100%; }
.ib-card:hover .ib-card-media img { transform: scale(1.04); }
.ib-card-placeholder { align-items: center; color: var(--ib-brand); display: flex; height: 100%; justify-content: center; opacity: 0.55; width: 100%; }
.ib-card-body { display: flex; flex: 1; flex-direction: column; padding: 1.3rem 1.4rem 1.4rem; }
.ib-card-top { align-items: center; display: flex; flex-wrap: wrap; gap: 0.5rem 0.8rem; margin-bottom: 0.8rem; }
.ib-chip {
  background: var(--sv-soft);
  border: 1px solid var(--sv-line);
  border-radius: 999px;
  color: var(--ib-brand);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.7rem;
  text-decoration: none;
  text-transform: uppercase;
}
[data-bs-theme=dark] .ib-chip { color: #93c5fd; }
a.ib-chip:hover { border-color: var(--sv-accent); color: var(--sv-accent); }
.ib-meta-item { color: var(--sv-text); font-size: 0.82rem; }
.ib-card-title { font-size: 1.15rem; font-weight: 750; letter-spacing: -0.01em; line-height: 1.3; margin: 0 0 0.6rem; }
.ib-card-title a { color: var(--sv-title); text-decoration: none; }
.ib-card-title a:hover { color: var(--sv-accent); }
.ib-card-excerpt { color: var(--sv-text); font-size: 0.93rem; line-height: 1.6; margin: 0 0 1.1rem; }
.ib-card-foot {
  align-items: center;
  border-top: 1px solid var(--sv-line);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 0.9rem;
}
.ib-readmore { color: var(--sv-accent); font-size: 0.88rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.ib-readmore:hover { text-decoration: underline; }

/* featured (newest) post */
.ib-card--featured { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); margin-bottom: 1.4rem; }
.ib-card--featured .ib-card-media { aspect-ratio: auto; min-height: 100%; }
.ib-card--featured .ib-card-body { justify-content: center; padding: clamp(1.4rem, 3vw, 2.4rem); }
.ib-card--featured .ib-card-title { font-size: clamp(1.45rem, 2.4vw, 2rem); letter-spacing: -0.025em; line-height: 1.2; margin-bottom: 0.8rem; }
.ib-card--featured .ib-card-excerpt { font-size: 1.02rem; }
.ib-card--featured .ib-card-foot { margin-top: 0.4rem; }

/* pagination */
.ib-pagination { margin: 2.6rem 0 0; }
.ib-pagination .nav-links { align-items: center; display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; }
.ib-pagination .page-numbers {
  align-items: center;
  background: var(--sv-card);
  border: 1px solid var(--sv-line);
  border-radius: 0.7rem;
  color: var(--sv-title);
  display: inline-flex;
  font-size: 0.92rem;
  font-weight: 600;
  justify-content: center;
  min-height: 2.6rem;
  min-width: 2.6rem;
  padding: 0 0.9rem;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.ib-pagination a.page-numbers:hover { border-color: var(--sv-accent); color: var(--sv-accent); }
.ib-pagination .page-numbers.current { background: var(--ib-brand); border-color: var(--ib-brand); color: #fff; }
.ib-pagination .dots { background: transparent; border-color: transparent; }

.ib-empty { background: var(--sv-card); border: 1px solid var(--sv-line); border-radius: var(--ib-radius); padding: 3rem 1.5rem; text-align: center; }
.ib-empty h2 { color: var(--sv-title); font-size: 1.5rem; font-weight: 800; margin: 0 0 0.6rem; }
.ib-empty p { color: var(--sv-text); margin: 0 auto 1.4rem; max-width: 46ch; }

/* ------------------------------------------------------------------ call to action */
.ib-cta {
  background: linear-gradient(135deg, #1b4079 0%, #0f2748 100%);
  border-radius: 1.4rem;
  color: #fff;
  margin: 3.5rem 0 0;
  padding: clamp(2rem, 5vw, 3.2rem) clamp(1.4rem, 4vw, 3rem);
  text-align: center;
}
.ib-cta h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.2; margin: 0 auto 0.8rem; max-width: 24ch; }
.ib-cta p { color: #dbe7fb; font-size: 1.02rem; line-height: 1.6; margin: 0 auto 1.6rem; max-width: 56ch; }
.ib-cta a.ib-cta-btn { background: #fff !important; border-color: #fff !important; color: #1b4079 !important; }
.ib-cta a.ib-cta-btn:hover { background: #eaf1fb !important; border-color: #eaf1fb !important; color: #0d2a4d !important; }
.ib-cta-btn { display: inline-block; font-weight: 700; padding: 0.8rem 1.6rem; }
.ib-404 { padding-bottom: 3rem; }

/* ------------------------------------------------------------------ single post */
.ib-narrow { margin-left: auto; margin-right: auto; max-width: 820px !important; }
.ib-wide { margin-left: auto; margin-right: auto; max-width: 1240px !important; }
.ib-article-head { padding: 3rem 0 1.5rem; }
.ib-article-title {
  color: var(--sv-title);
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
  margin: 0.4rem 0 1rem;
}
.ib-byline { align-items: center; display: flex; gap: 0.85rem; margin-top: 1.4rem; }
.ib-avatar { border-radius: 50%; display: inline-block; flex-shrink: 0; height: 44px; overflow: hidden; width: 44px; }
.ib-avatar--lg { height: 72px; width: 72px; }
.ib-avatar-img { display: block; height: 100%; object-fit: cover; width: 100%; }
.ib-byline-text { display: flex; flex-direction: column; gap: 0.1rem; }
.ib-author { color: var(--sv-title); font-size: 0.95rem; font-weight: 700; text-decoration: none; }
.ib-author:hover { color: var(--sv-accent); }
.ib-meta-line { align-items: center; color: var(--sv-text); display: flex; flex-wrap: wrap; font-size: 0.85rem; gap: 0.45rem; }

.ib-cover { margin: 1rem 0 2.2rem; }
.ib-cover img { border: 1px solid var(--sv-line); border-radius: var(--ib-radius); display: block; height: auto; max-height: 560px; object-fit: cover; width: 100%; }
.ib-cover figcaption { color: var(--sv-text); font-size: 0.85rem; margin-top: 0.6rem; text-align: center; }

/* article text */
.ib-content { color: var(--sv-text); font-size: 1.08rem; line-height: 1.8; overflow-wrap: anywhere; padding-bottom: 1rem; }
.ib-content > * { margin-bottom: 1.4rem; margin-top: 0; }
.ib-content h2, .ib-content h3, .ib-content h4 { color: var(--sv-title); font-weight: 800; letter-spacing: -0.02em; line-height: 1.25; margin-top: 2.4rem; scroll-margin-top: 6rem; }
.ib-content h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); }
.ib-content h3 { font-size: clamp(1.25rem, 2.1vw, 1.5rem); }
.ib-content h4 { font-size: 1.15rem; }
.ib-content a { color: var(--sv-accent); font-weight: 600; text-decoration: underline; }
.ib-content a:hover { color: var(--ib-brand-hover); }
.ib-content strong { color: var(--sv-title); }
.ib-content ul, .ib-content ol { padding-left: 1.4rem; }
.ib-content ul { list-style: disc; }
.ib-content ol { list-style: decimal; }
.ib-content li { margin-bottom: 0.5rem; }
.ib-content li::marker { color: var(--sv-accent); }
.ib-content img, .ib-content video, .ib-content iframe { border-radius: 0.8rem; height: auto; max-width: 100%; }
.ib-content figure { margin-left: 0; margin-right: 0; }
.ib-content figcaption, .ib-content .wp-caption-text { color: var(--sv-text); font-size: 0.85rem; margin-top: 0.5rem; text-align: center; }
.ib-content blockquote {
  background: var(--sv-soft);
  border-left: 4px solid var(--sv-accent);
  border-radius: 0 0.8rem 0.8rem 0;
  color: var(--sv-title);
  font-size: 1.12rem;
  font-style: normal;
  margin-left: 0;
  margin-right: 0;
  padding: 1.1rem 1.4rem;
}
.ib-content blockquote p:last-child { margin-bottom: 0; }
.ib-content hr { border: 0; border-top: 1px solid var(--sv-line); margin: 2.4rem 0; opacity: 1; }
.ib-content code { background: var(--sv-soft); border-radius: 0.35rem; color: var(--sv-title); font-size: 0.9em; padding: 0.15em 0.4em; }
.ib-content pre { background: #0f2748; border-radius: 0.8rem; color: #e2e8f0; overflow-x: auto; padding: 1.1rem 1.3rem; }
.ib-content pre code { background: transparent; color: inherit; padding: 0; }
.ib-table-wrap { border: 1px solid var(--sv-line); border-radius: 0.8rem; margin-bottom: 1.4rem; overflow-x: auto; }
.ib-table-wrap table { border-collapse: collapse; margin: 0; min-width: 480px; width: 100%; }
.ib-table-wrap th, .ib-table-wrap td { border-bottom: 1px solid var(--sv-line); font-size: 0.95rem; padding: 0.75rem 1rem; text-align: left; }
.ib-table-wrap th { background: var(--sv-soft); color: var(--sv-title); }
.ib-table-wrap tr:last-child td { border-bottom: 0; }
.alignleft { float: left; margin: 0.3rem 1.4rem 1rem 0; max-width: 50%; }
.alignright { float: right; margin: 0.3rem 0 1rem 1.4rem; max-width: 50%; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignwide, .alignfull { clear: both; }
.wp-caption { max-width: 100%; }
.sticky { position: relative; }
.ib-page-links { color: var(--sv-text); display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1.5rem 0; }

/* tags, author box */
.ib-tags { align-items: center; border-top: 1px solid var(--sv-line); display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 2rem; padding-top: 1.4rem; }
.ib-tags-label { color: var(--sv-title); font-size: 0.85rem; font-weight: 700; margin-right: 0.3rem; }
.ib-tags a {
  background: var(--sv-soft);
  border: 1px solid var(--sv-line);
  border-radius: 999px;
  color: var(--sv-text);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.3rem 0.8rem;
  text-decoration: none;
}
.ib-tags a:hover { border-color: var(--sv-accent); color: var(--sv-accent); }
.ib-author-box { align-items: center; background: var(--sv-card); border: 1px solid var(--sv-line); border-radius: var(--ib-radius); display: flex; gap: 1.2rem; margin-top: 2rem; padding: 1.4rem; }
.ib-author-name { color: var(--sv-title); font-size: 1.05rem; font-weight: 800; margin: 0 0 0.25rem; }
.ib-author-bio { color: var(--sv-text); font-size: 0.93rem; line-height: 1.6; margin: 0; }

/* related */
.ib-related { padding: 3.5rem 0 0; }
.ib-related .svs-title { margin-bottom: 1.4rem; }
.ib-bottom-cta { padding-bottom: 4rem; }

/* article layout: text on the left, sticky sidebar on the right */
.ib-article-head .ib-article-title, .ib-article-head .ib-lead { max-width: 860px; }
.ib-layout { padding-bottom: 1rem; }
.ib-layout--side { align-items: stretch; display: grid; gap: 3rem; grid-template-columns: minmax(0, 1fr) 340px; }
.ib-body { min-width: 0; }
.ib-body .ib-content { max-width: 800px; }
.ib-side-sticky { display: flex; flex-direction: column; gap: 1.2rem; position: sticky; top: 6.5rem; }
body.admin-bar .ib-side-sticky { top: 9.5rem; }
.ib-side-card { background: var(--sv-card); border: 1px solid var(--sv-line); border-radius: var(--ib-radius); box-shadow: 0 6px 24px #1b40790d; padding: 1.5rem; }
.ib-side-title { color: var(--sv-title); font-size: 1.05rem; font-weight: 800; letter-spacing: 0.04em; margin: 0 0 1.3rem; padding-bottom: 0.7rem; position: relative; text-transform: uppercase; }
.ib-side-title::after { background: var(--sv-accent); border-radius: 2px; bottom: 0; content: ''; height: 3px; left: 0; position: absolute; width: 2.6rem; }
.ib-side-search { align-items: center; background: var(--sv-soft); border: 1px solid var(--sv-line); border-radius: 999px; display: flex; gap: 0.5rem; padding: 0.3rem 0.3rem 0.3rem 1.1rem; transition: border-color 0.2s, box-shadow 0.2s; }
.ib-side-search:focus-within { border-color: var(--sv-accent); box-shadow: 0 0 0 3px #2563eb26; }
.ib-side-search input { background: transparent; border: 0; color: var(--sv-title); flex: 1; font-size: 0.93rem; min-width: 0; outline: 0; padding: 0.5rem 0; }
.ib-side-search input::placeholder { color: var(--sv-text); opacity: 0.85; }
.ib-side-search button { align-items: center; background: var(--ib-brand); border: 0; border-radius: 50%; color: #fff; cursor: pointer; display: inline-flex; flex-shrink: 0; height: 2.5rem; justify-content: center; transition: background 0.2s; width: 2.5rem; }
.ib-side-search button:hover { background: var(--ib-brand-hover); }
.ib-side-posts { display: flex; flex-direction: column; gap: 1.1rem; list-style: none; margin: 0; padding: 0; }
.ib-side-posts li { align-items: center; display: flex; gap: 0.95rem; }
.ib-side-thumb { background: linear-gradient(135deg, var(--sv-soft), #dbe7fb); border-radius: 0.75rem; display: block; flex: 0 0 84px; height: 76px; overflow: hidden; }
.ib-side-thumb img { display: block; height: 100%; object-fit: cover; width: 100%; }
.ib-side-thumb-ph { align-items: center; color: var(--ib-brand); display: flex; height: 100%; justify-content: center; opacity: 0.55; width: 100%; }
.ib-side-info { min-width: 0; }
.ib-side-link { color: var(--sv-title); display: -webkit-box; font-size: 0.95rem; font-weight: 700; -webkit-line-clamp: 3; line-height: 1.35; overflow: hidden; text-decoration: none; -webkit-box-orient: vertical; }
.ib-side-link:hover { color: var(--sv-accent); }
.ib-side-info time { align-items: center; color: var(--sv-text); display: flex; font-size: 0.8rem; gap: 0.35rem; margin-top: 0.35rem; }

/* ------------------------------------------------------------------ comments */
.ib-comments { border-top: 1px solid var(--sv-line); margin-top: 2.6rem; padding-top: 2rem; }
.ib-comments-title { color: var(--sv-title); font-size: 1.4rem; font-weight: 800; margin: 0 0 1.2rem; }
.ib-comment-list { list-style: none; margin: 0 0 2rem; padding: 0; }
.ib-comment-list .children { list-style: none; padding-left: 1.4rem; }
.ib-comment-list .comment-body { background: var(--sv-card); border: 1px solid var(--sv-line); border-radius: 0.9rem; margin-bottom: 1rem; padding: 1rem 1.2rem; }
.ib-comment-list .comment-author { align-items: center; color: var(--sv-title); display: flex; font-weight: 700; gap: 0.6rem; }
.ib-comment-list .avatar { border-radius: 50%; }
.ib-comment-list .comment-metadata, .ib-comment-list .comment-metadata a { color: var(--sv-text); font-size: 0.8rem; text-decoration: none; }
.ib-comment-list .comment-content { color: var(--sv-text); line-height: 1.7; }
.ib-comment-list .reply a { color: var(--sv-accent); font-size: 0.85rem; font-weight: 700; text-decoration: none; }
.ib-comments .comment-respond { background: var(--sv-card); border: 1px solid var(--sv-line); border-radius: var(--ib-radius); padding: 1.4rem; }
.ib-comments .comment-reply-title { color: var(--sv-title); font-size: 1.2rem; font-weight: 800; }
.ib-comments label { color: var(--sv-title); display: block; font-size: 0.88rem; font-weight: 600; margin-bottom: 0.3rem; }
.ib-comments input[type=text], .ib-comments input[type=email], .ib-comments input[type=url], .ib-comments textarea {
  background: var(--sv-card);
  border: 1px solid var(--sv-line);
  border-radius: 0.7rem;
  color: var(--sv-title);
  max-width: 100%;
  padding: 0.65rem 0.9rem;
  width: 100%;
}
.ib-comments input:focus, .ib-comments textarea:focus { border-color: var(--sv-accent); box-shadow: 0 0 0 3px #2563eb26; outline: 0; }
.ib-comments .form-submit input[type=submit] { background: var(--ib-brand); border: 0; border-radius: 0.7rem; color: #fff; cursor: pointer; font-weight: 700; padding: 0.7rem 1.4rem; }
.ib-comments .form-submit input[type=submit]:hover { background: var(--ib-brand-hover); }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 991.98px) {
  .ib-layout--side { gap: 2.2rem; grid-template-columns: minmax(0, 1fr) 300px; }
  .ib-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ib-card--featured { grid-template-columns: 1fr; }
  .ib-card--featured .ib-card-media { aspect-ratio: 16 / 9; min-height: 0; }
}
@media (max-width: 767.98px) {
  /* phones have no room beside the article: the sidebar goes under it */
  .ib-layout--side { display: block; }
  .ib-side { margin-top: 2rem; }
  .ib-side-sticky { position: static; }
  .ib-hero { padding: 2rem 0 1rem; }
  .ib-article-head { padding: 2rem 0 1rem; }
  .ib-grid { grid-template-columns: 1fr; }
  .ib-search { flex-basis: 100%; }
  /* categories scroll sideways instead of wrapping into many rows */
  .ib-hero .ib-cats { justify-content: flex-start; }
  .ib-cats { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 0.4rem; scrollbar-width: none; width: 100%; }
  .ib-cats::-webkit-scrollbar { display: none; }
  .ib-cat { white-space: nowrap; }
  .ib-content { font-size: 1.02rem; line-height: 1.75; }
  .alignleft, .alignright { float: none; margin: 0 auto 1rem; max-width: 100%; }
  .ib-author-box { align-items: flex-start; flex-direction: column; }
  .ib-card-foot { flex-wrap: wrap; }
  .ib-cta { border-radius: 1.1rem; margin-top: 2.5rem; }
  .ib-comment-list .children { padding-left: 0.6rem; }
}
@media (prefers-reduced-motion: reduce) {
  .ib-card, .ib-card-media img { transition: none; }
  .ib-card:hover { transform: none; }
  .ib-card:hover .ib-card-media img { transform: none; }
}

/* ------------------------------------------------------------------ footer: always full width on article and listing pages */
html,body{margin:0!important;padding:0!important}
#root,#root>.landing-page{width:100%!important;max-width:none!important;margin:0!important;padding-left:0!important;padding-right:0!important}
.landing-page>.v2{display:block;width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
.landing-page>.v2>.ft2{width:100%!important;max-width:none!important;margin:0!important;border-radius:0!important;padding:64px 0 0!important}
.landing-page>.v2>.ft2>.ft2-in,.landing-page>.v2>.ft2>.ft2-bottom{width:100%;max-width:1240px;margin-left:auto;margin-right:auto;padding-left:24px;padding-right:24px}
.landing-page>.v2>.ft2>.ft2-bottom{margin-top:56px}
@media (max-width:620px){.landing-page>.v2>.ft2{padding-top:44px!important}}

/* full-bleed page: no side gaps anywhere on the page (articles included); if a plugin or the browser still insets the page, the gap shows the same blue as the page */
html,body{background:#f0f4fb!important;width:100%!important;max-width:none!important;min-width:0!important;margin:0!important;padding:0!important;border:0!important}
body>#root,body>#root>.landing-page{box-sizing:border-box;position:relative;left:0!important;right:0!important;width:100%!important;max-width:none!important;margin:0!important;padding-left:0!important;padding-right:0!important;border:0!important;transform:none!important}
.ib-main{width:100%;max-width:none;margin:0}
