/* ==========================================================================
   ThinkInBig palette & Founder-like look for the CleanWhite Hugo theme.
   Loaded after the theme CSS via params.custom_css; no theme files edited.
   ========================================================================== */

/* ---------- Fonts (self-hosted, OFL-1.1, latin subset) ---------- */
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/ibm-plex-sans-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: italic; font-weight: 300; font-display: swap; src: url("../fonts/ibm-plex-sans-latin-300-italic.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/ibm-plex-sans-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: italic; font-weight: 600; font-display: swap; src: url("../fonts/ibm-plex-sans-latin-600-italic.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/ibm-plex-sans-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: italic; font-weight: 700; font-display: swap; src: url("../fonts/ibm-plex-sans-latin-700-italic.woff2") format("woff2"); }
@font-face { font-family: "Noto Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/noto-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Noto Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/noto-sans-latin-700-normal.woff2") format("woff2"); }

/* ---------- Palette ----------
   Brand (from the ThinkInBig logo)
     --tib-orange      #E5682C  "Think"   decorative accent, hover, borders (3.3:1 on white: not for small text)
     --tib-orange-deep #B8481A  text-safe orange for links/buttons (5.3:1 on white, AA)
     --tib-red         #FF0000  "In" + dots; logo only / tiny accents
   Neutrals (from the Founder theme as used on thinkinbig.org)
     --tib-ink         #1A1A1A  headings, titles, navigation (17.4:1)
     --tib-text        #666666  body copy (5.7:1)
     --tib-muted       #767676  meta, captions (4.5:1, AA)
     --tib-border      #D4D4D4  rules, outlines
     --tib-surface     #EDEDED  code, tag chips
     --tib-bg          #FFFFFF
*/
:root, [data-theme="light"], [data-theme="dark"] {
    --tib-orange: #E5682C;
    --tib-orange-deep: #B8481A;
    --tib-red: #FF0000;
    --tib-ink: #1A1A1A;
    --tib-text: #666666;
    --tib-muted: #767676;
    --tib-border: #D4D4D4;
    --tib-surface: #EDEDED;
    --tib-surface-soft: #F6F6F6;
    --tib-bg: #FFFFFF;
    --tib-overlay: rgba(26, 26, 26, .62);
    --tib-font-body: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
    --tib-font-heading: "Noto Sans", "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;

    /* map onto CleanWhite's variables */
    --color-bg: var(--tib-bg);
    --color-text-main: var(--tib-text);
    --color-text-secondary: var(--tib-muted);
    --color-text-muted: var(--tib-muted);
    --color-primary: var(--tib-orange-deep);
    --color-primary-light: var(--tib-orange);
    --color-border: var(--tib-surface);
    --color-border-light: var(--tib-surface);
    --color-border-dark: var(--tib-border);
    --bg-input: var(--tib-bg);
    --bg-tag-cloud: var(--tib-surface);
    --bg-catalog-active: var(--tib-surface-soft);
    --bg-mobile-menu: var(--tib-bg);
    --bg-pager: var(--tib-bg);
    --bg-disabled: var(--tib-text);
    --sidebar-text: var(--tib-text);
    --sidebar-heading: var(--tib-ink);
    --navbar-bg: var(--tib-bg);
    --navbar-text: var(--tib-ink);
    --navbar-text-hover: var(--tib-orange-deep);
    --navbar-toggle-icon: var(--tib-ink);
    --navbar-toggle-icon-invert: var(--tib-ink);
    --link-color: var(--tib-ink);
    --link-color-post: var(--tib-orange-deep);
    --link-hover: var(--tib-orange-deep);
    --btn-default-bg: transparent;
    --btn-default-hover: var(--tib-orange-deep);
    --btn-default-text: var(--tib-ink);
    --caption-text: var(--tib-muted);
    --copyright-link: var(--tib-orange-deep);
    --pager-disabled: var(--tib-muted);
    --selection-bg: var(--tib-orange-deep);
    --selection-text: #FFFFFF;
    --tagcloud-start: var(--tib-muted);
    --tagcloud-end: var(--tib-orange-deep);
}

/* ---------- Base typography (IBM Plex Sans Light 300 body, Noto Sans 700 headings) ---------- */
body {
    font-family: var(--tib-font-body);
    font-weight: 300;
    font-size: 16px;
    line-height: 1.75;
    color: var(--tib-text);
    background: var(--tib-bg);
}
h1, h2, h3, h4, h5, h6,
.post-preview > a > .post-title, .post-preview > a > .post-subtitle,
.intro-header .site-heading h1, .intro-header .post-heading h1, .intro-header .page-heading h1,
.post-container h1, .post-container h2, .post-container h3, .post-container h4 {
    font-family: var(--tib-font-heading);
    font-weight: 700;
    color: var(--tib-ink);
}
.post-preview > .post-meta, .post-preview > .post-meta > a,
.intro-header .post-heading .meta, blockquote {
    font-family: var(--tib-font-body);
}
strong, b { font-weight: 600; color: #444; }
::selection { background: var(--tib-orange-deep); color: #fff; }

/* ---------- Navigation: white bar with logo, like Founder ---------- */
.navbar-custom,
.navbar-custom.is-fixed {
    background-color: rgba(255, 255, 255, .97);
    border-bottom: 1px solid var(--tib-border);
}
.navbar-custom .navbar-brand {
    /* replace the text title with the ThinkInBig logo */
    width: 193px;
    height: 56px;
    padding: 0 15px;
    margin-left: 0 !important;
    font-size: 0;
    color: transparent !important;
    background: url("../img/thinkinbig-logo.png") no-repeat 15px center / 160px auto;
}
@media only screen and (min-width: 768px) {
    .navbar-custom .navbar-brand { height: 64px; background-size: 175px auto; width: 215px; }
}
.navbar-custom .nav li a,
.navbar-custom.is-fixed .nav li a {
    color: var(--tib-ink) !important;
    font-family: var(--tib-font-body);
    font-weight: 400;
    font-size: 11px;
    letter-spacing: .08em;
}
.navbar-custom .nav li a:hover,
.navbar-custom .nav li a:focus,
.navbar-custom.is-fixed .nav li a:hover {
    color: var(--tib-orange-deep) !important;
    background: transparent;
    box-shadow: inset 0 -2px 0 var(--tib-orange);
}
.navbar-custom .navbar-toggle .icon-bar { background-color: var(--tib-ink) !important; }


/* ---------- Header banner (home/list/pages) and post hero ---------- */
.intro-header {
    position: relative;
    margin-top: 57px;                       /* room for the white nav bar */
    background-color: var(--tib-ink);
    background-position: center center;
}
@media only screen and (min-width: 768px) { .intro-header { margin-top: 65px; } }
.intro-header::before {                     /* Founder Pro-style dark overlay keeps white titles readable */
    content: "";
    position: absolute;
    inset: 0;
    background: var(--tib-overlay);
}
.intro-header > .container { position: relative; z-index: 1; }

/* Home: slim banner instead of a full-screen hero */
.intro-header .site-heading { padding: 48px 0 44px; }
@media only screen and (min-width: 768px) { .intro-header .site-heading { padding: 64px 0 60px; } }
.intro-header .site-heading h1,
.intro-header .page-heading h1 { color: #fff; font-size: 40px; letter-spacing: -.01em; }
@media only screen and (min-width: 768px) {
    .intro-header .site-heading h1, .intro-header .page-heading h1 { font-size: 52px; }
}
.intro-header .site-heading .subheading,
.intro-header .page-heading .subheading { color: #fff; font-size: 15px; font-weight: 300; letter-spacing: .02em; }
.intro-header .page-heading { padding: 56px 0 48px; }
@media only screen and (min-width: 768px) { .intro-header .page-heading { padding: 80px 0 64px; } }

/* Post hero: featured image + overlay + centred title (like the current Founder Pro posts) */
.intro-header .post-heading { padding: 72px 0 56px; text-align: center; }
@media only screen and (min-width: 768px) { .intro-header .post-heading { padding: 120px 0 96px; } }
.intro-header .post-heading h1 { color: #fff; font-size: 30px; line-height: 1.2; }
@media only screen and (min-width: 768px) { .intro-header .post-heading h1 { font-size: 46px; } }
.intro-header .post-heading .meta {
    color: rgba(255, 255, 255, .85);
    font-style: normal;
    font-size: 12px !important;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.intro-header .tags { text-align: center; }
.intro-header .tags .tag, .intro-header .tags a {
    border-color: rgba(255, 255, 255, .7);
    color: #fff;
    font-size: 11px;
    letter-spacing: .04em;
}
.intro-header .tags .tag:hover { background: var(--tib-orange-deep); border-color: var(--tib-orange-deep); }

/* ---------- Post list (home) ---------- */
.post-preview > a > .post-title { font-size: 24px; line-height: 1.3; margin-top: 24px; }
.post-preview > a:hover > .post-title,
.post-preview > a:focus > .post-title { color: var(--tib-orange-deep); }
.post-preview .post-content-preview { color: var(--tib-text); font-weight: 300; }
.post-preview > .post-meta { color: var(--tib-muted); font-style: normal; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.post-container hr, .post-preview + hr, hr { border-top-color: var(--tib-border); }

/* ---------- Article body ---------- */
.post-container { color: var(--tib-text); font-size: 17px; }
.post-container p { margin: 22px 0; }
.post-container a {
    color: var(--tib-orange-deep);
    text-decoration: underline;
    text-decoration-color: rgba(229, 104, 44, .45);
    text-underline-offset: 2px;
}
.post-container a:hover, .post-container a:focus { color: var(--tib-orange-deep); text-decoration-color: var(--tib-orange); }
.post-container h2 { font-size: 26px; margin-top: 44px; }
.post-container h3 { font-size: 21px; margin-top: 34px; }
.post-container img { max-width: 100%; height: auto; display: block; margin: 24px auto; }
.post-container figcaption { color: var(--tib-muted); font-size: 13px; text-align: center; }
blockquote {
    border-left: 4px solid var(--tib-orange);
    background: var(--tib-surface-soft);
    color: var(--tib-text);
    font-style: normal;
    font-size: 16px;
    padding: 12px 20px;
}

/* Code: Founder used a light grey surface; Chroma 'github' token colours (syntax-github.css) */
pre, .chroma, .highlight pre {
    background: var(--tib-surface) !important;
    border: 1px solid var(--tib-border);
    border-radius: 3px;
    color: #333;
    font-size: 13.5px;
    line-height: 1.55;
}
.post-container code { background: var(--tib-surface); color: #333; padding: 1px 5px; border-radius: 3px; }
.post-container pre code { background: transparent; padding: 0; }

/* ---------- Sidebar (two-column, always visible) ---------- */
.tib-sidebar h5 {
    font-family: var(--tib-font-heading);
    font-weight: 700;
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--tib-ink);
}
.tib-sidebar a { color: var(--tib-ink); }
.tib-sidebar a:hover, .tib-sidebar a:focus { color: var(--tib-orange-deep); text-decoration: none; }
.tib-sidebar ul { padding-left: 0; list-style: none; }
.tib-sidebar .tib-recent li,
.tib-sidebar .tib-term-list li { font-size: 14px; line-height: 1.45; margin: 0 0 9px; }
.tib-sidebar .tib-count { color: var(--tib-muted); font-size: 12px; }
.tib-sidebar .short-about img { width: 72px; height: 72px; border-radius: 0; }
.tib-sidebar .short-about p { color: var(--tib-text); font-size: 14px; margin-top: 12px; }
.sidebar-container .tags a, .tags a, .tags .tag {
    border: 1px solid var(--tib-border);
    background: var(--tib-surface-soft);
    color: var(--tib-ink);
    border-radius: 2px;
    font-size: 12px;
    font-weight: 400;
}
.sidebar-container .tags a:hover, .tags a:hover {
    background: var(--tib-orange-deep);
    border-color: var(--tib-orange-deep);
    color: #fff !important;
}
.tib-license p { font-size: 12px; color: var(--tib-muted); margin-top: 8px; }

/* Social icons (sidebar + footer) */
.tib-social { margin: 6px 0 0; padding: 0; }
.tib-social > li { padding: 0 8px 0 0; }
.tib-social a { color: var(--tib-ink); font-size: 22px; line-height: 1; }
.tib-social a:hover { color: var(--tib-orange-deep); }
.tib-svg-icon { width: 1em; height: 1em; vertical-align: -0.125em; }
.tib-social .tib-svg-icon { width: 19px; height: 19px; vertical-align: -1px; }

/* ---------- Share bar & comments ---------- */
.tib-share {
    margin: 40px 0 24px;
    padding: 16px 0;
    border-top: 1px solid var(--tib-border);
    border-bottom: 1px solid var(--tib-border);
    display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
}
.tib-share-label { font-family: var(--tib-font-heading); font-weight: 700; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--tib-ink); margin-right: 8px; }
.post-container a.tib-share-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 12px;
    border: 1px solid var(--tib-border);
    border-radius: 3px;
    color: var(--tib-ink);
    font-size: 13px; font-weight: 400;
    text-decoration: none;
}
.post-container a.tib-share-btn:hover { border-color: var(--tib-orange-deep); color: var(--tib-orange-deep); }
.tib-comments { margin: 24px 0 48px; }
.tib-load-comments {
    border: 1px solid var(--tib-orange-deep) !important;
    color: var(--tib-orange-deep) !important;
    background: #fff !important;
    border-radius: 3px;
    font-size: 13px; letter-spacing: .06em; text-transform: uppercase;
    padding: 10px 22px;
}
.tib-load-comments:hover { background: var(--tib-orange-deep) !important; color: #fff !important; }
.tib-comments-note { font-size: 12px; color: var(--tib-muted); margin-top: 8px; }

/* ---------- Pager, footer ---------- */
.pager li > a, .pager li > span {
    border: 1px solid var(--tib-border);
    border-radius: 2px;
    color: var(--tib-ink);
    font-family: var(--tib-font-body);
    font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
}
.pager li > a:hover, .pager li > a:focus {
    background: var(--tib-orange-deep);
    border-color: var(--tib-orange-deep);
    color: #fff;
}
footer { border-top: 1px solid var(--tib-border); padding-top: 32px; }
footer .copyright { color: var(--tib-muted); font-size: 13px; }
footer .copyright a { color: var(--tib-orange-deep); }
footer .list-inline a, footer .fa-stack { color: var(--tib-ink); }
footer .list-inline a:hover { color: var(--tib-orange-deep); }

/* Pagefind search UI in brand colours */
#search { --pagefind-ui-primary: #B8481A; --pagefind-ui-text: #1A1A1A; --pagefind-ui-border: #D4D4D4; --pagefind-ui-tag: #EDEDED; --pagefind-ui-font: "IBM Plex Sans", sans-serif; }

/* ---------- Fixes after first render ---------- */
.post-container .post-preview > a,
.post-container .post-preview > a:hover { text-decoration: none; }
.post-preview .post-content-preview { font-style: normal; font-size: 15px; line-height: 1.7; }
.tib-sidebar .short-about .list-inline.tib-social { display: flex; gap: 14px; margin: 10px 0 0; }
.tib-sidebar .short-about .list-inline.tib-social > li { padding: 0; margin: 0; width: auto; display: block; }
.tib-sidebar .short-about .tib-social a { font-size: 22px; display: inline-block; }
.tib-sidebar .short-about .tib-social .tib-svg-icon { width: 20px; height: 20px; vertical-align: -2px; }
.tib-sidebar .short-about img { width: auto; height: 22px; border-radius: 0; }
/* hero tag chips: transparent outline on the image */
.intro-header .tags a, .intro-header .tags .tag { background: transparent !important; border: 1px solid rgba(255,255,255,.75) !important; color: #fff !important; }
.intro-header .tags a:hover, .intro-header .tags .tag:hover { background: var(--tib-orange-deep) !important; border-color: var(--tib-orange-deep) !important; }
.intro-header .subheading { font-family: var(--tib-font-body) !important; }
/* buttons/pager inside posts: no link underline */
.post-container .pager a, .post-container .pager a:hover { text-decoration: none; }
/* footer: X glyph instead of the retired Twitter bird (FA 5 has no X icon) */
footer .fa-twitter:before { content: "\1D54F"; font-family: "Noto Sans", Arial, sans-serif; font-weight: 700; }
/* sidebar on mobile: keep it compact below the content */
@media (max-width: 991px) { .tib-sidebar { margin-top: 24px; } }

/* ---------- /archives/ ---------- */
.tib-archive-search { display: flex; gap: 8px; margin: 8px 0 20px; }
.tib-archive-search input {
    flex: 1; padding: 9px 12px; border: 1px solid var(--tib-border); border-radius: 3px;
    font-family: var(--tib-font-body); font-size: 15px; color: var(--tib-ink);
}
.tib-archive-search input:focus { outline: 2px solid var(--tib-orange); outline-offset: 1px; border-color: var(--tib-orange); }
.tib-archive-search .btn {
    border: 1px solid var(--tib-orange-deep); color: var(--tib-orange-deep); background: #fff;
    font-size: 12px; letter-spacing: .08em; text-transform: uppercase; border-radius: 3px;
}
.tib-archive-search .btn:hover { background: var(--tib-orange-deep); color: #fff; }
.tib-year-index { display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 10px 0 18px; border-bottom: 1px solid var(--tib-border); }
.post-container .tib-year-index a { text-decoration: none; color: var(--tib-ink); font-weight: 600; font-size: 14px; }
.post-container .tib-year-index a:hover { color: var(--tib-orange-deep); }
.tib-year h2 { font-size: 26px; margin: 34px 0 6px; padding-top: 10px; scroll-margin-top: 80px; }
.tib-year h2 .tib-count { font-size: 13px; color: var(--tib-muted); font-weight: 400; }
.tib-year h3 { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--tib-muted); margin: 18px 0 6px; scroll-margin-top: 80px; }
.tib-archive-list { list-style: none; padding: 0; margin: 0; }
.tib-archive-list li { display: flex; gap: 14px; padding: 5px 0; border-bottom: 1px dashed var(--tib-surface); font-size: 15px; line-height: 1.5; }
.tib-archive-list time { flex: 0 0 52px; color: var(--tib-muted); font-size: 13px; padding-top: 1px; }
.post-container .tib-archive-list a { text-decoration: none; color: var(--tib-ink); }
.post-container .tib-archive-list a:hover { color: var(--tib-orange-deep); }
.tib-archives :target { background: linear-gradient(90deg, rgba(229,104,44,.12), transparent 60%); }

/* ---------- Cookie consent (vanilla-cookieconsent v3) in brand colours ---------- */
#cc-main {
    --cc-font-family: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
    --cc-bg: #FFFFFF;
    --cc-primary-color: #1A1A1A;
    --cc-secondary-color: #555555;
    --cc-btn-primary-bg: #B8481A;
    --cc-btn-primary-color: #FFFFFF;
    --cc-btn-primary-border-color: #B8481A;
    --cc-btn-primary-hover-bg: #93390F;
    --cc-btn-primary-hover-color: #FFFFFF;
    --cc-btn-primary-hover-border-color: #93390F;
    --cc-btn-secondary-bg: #FFFFFF;
    --cc-btn-secondary-color: #B8481A;
    --cc-btn-secondary-border-color: #B8481A;
    --cc-btn-secondary-hover-bg: #F6F6F6;
    --cc-btn-secondary-hover-color: #93390F;
    --cc-btn-secondary-hover-border-color: #93390F;
    --cc-separator-border-color: #EDEDED;
    --cc-toggle-on-bg: #B8481A;
    --cc-toggle-off-bg: #767676;
    --cc-toggle-readonly-bg: #D4D4D4;
    --cc-cookie-category-block-bg: #F6F6F6;
    --cc-cookie-category-block-border: #EDEDED;
    --cc-cookie-category-block-hover-bg: #EDEDED;
    --cc-footer-bg: #F6F6F6;
    --cc-footer-color: #555555;
    --cc-link-color: #B8481A;
    --cc-modal-border-radius: 4px;
    --cc-btn-border-radius: 3px;
}
#cc-main .cm__title, #cc-main .pm__title { font-family: "Noto Sans", "IBM Plex Sans", sans-serif; font-weight: 700; }
#cc-main .cm__btn, #cc-main .pm__btn { font-weight: 600; letter-spacing: .02em; }
.tib-cookie-settings { background: none; border: 0; padding: 0; color: var(--tib-orange-deep); font-size: 12px; text-decoration: underline; cursor: pointer; }
.tib-footer-links { margin-top: 6px; font-size: 12px; color: var(--tib-muted); }
.tib-footer-links a { color: var(--tib-orange-deep); }

/* ---------- Click-to-play videos ---------- */
.tib-video { position: relative; width: 100%; aspect-ratio: 16 / 9; margin: 26px 0; background: var(--tib-ink); border-radius: 3px; overflow: hidden; }
.tib-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tib-video-play { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: var(--tib-ink); cursor: pointer; }
.tib-video-play img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; margin: 0; opacity: .8; transition: opacity .2s; }
.tib-video-play:hover img, .tib-video-play:focus img { opacity: 1; }
.tib-video-icon { position: absolute; left: 50%; top: 50%; width: 72px; height: 50px; margin: -25px 0 0 -36px; background: var(--tib-orange-deep); border-radius: 12px; }
.tib-video-icon::after { content: ""; position: absolute; left: 29px; top: 15px; border-style: solid; border-width: 10px 0 10px 17px; border-color: transparent transparent transparent #fff; }
.tib-video-note { position: absolute; left: 0; right: 0; bottom: 0; padding: 8px 12px; background: rgba(26,26,26,.75); color: #fff; font-size: 12px; text-align: left; }

/* ==========================================================================
   v3 (4 Oct 2026): LinkedIn "Obsidian" header, "Clarity in Complexity", style fixes
   ========================================================================== */
:root, [data-theme="light"], [data-theme="dark"] {
    --tib-navy: #00081A;            /* banner background */
    --tib-warm-white: #F2EDE6;      /* banner headline */
    --tib-champagne: #DCC9A2;       /* banner tagline */
    --tib-rule: #E8E8E8;            /* lighter separators */
}

/* Header band: the art is already dark — no overlay except on post heroes (arbitrary photos) */
.intro-header { background-color: var(--tib-navy); background-position: right center; }
.intro-header::before { display: none; }
.intro-header:has(.post-heading)::before { display: block; }

/* Home / list / page headings: left-aligned like the LinkedIn banner */
.intro-header .site-heading,
.intro-header .page-heading { text-align: left; padding: 54px 0 58px; }
@media only screen and (min-width: 768px) {
    .intro-header .site-heading, .intro-header .page-heading { padding: 78px 0 84px; }
}
.intro-header .container .row > div { margin-left: 0; width: 100%; }
.intro-header .site-heading h1,
.intro-header .page-heading h1 {
    font-family: var(--tib-font-body);
    font-weight: 300;
    color: var(--tib-warm-white) !important;
    letter-spacing: -.01em;
    font-size: 44px;
    margin: 0;
}
@media only screen and (min-width: 768px) {
    .intro-header .site-heading h1, .intro-header .page-heading h1 { font-size: 62px; }
}
.intro-header .site-heading .subheading,
.intro-header .page-heading .subheading {
    color: var(--tib-champagne) !important;
    font-family: var(--tib-font-body) !important;
    font-weight: 400;
    font-size: 20px;
    margin-top: 12px;
    letter-spacing: .01em;
}
@media only screen and (min-width: 768px) {
    .intro-header .site-heading .subheading, .intro-header .page-heading .subheading { font-size: 26px; }
}

/* Headings: always ink, everywhere */
h1, h2, h3, h4, h5, h6,
.post-container h1, .post-container h2, .post-container h3,
.post-container h4, .post-container h5, .post-container h6,
.post-preview > a > .post-title, .post-preview > a > .post-subtitle,
.tib-sidebar h5 { color: var(--tib-ink) !important; }
.intro-header h1, .intro-header h2 { color: #fff !important; }
.intro-header .site-heading h1, .intro-header .page-heading h1 { color: var(--tib-warm-white) !important; }

/* Lighter separators */
hr, .post-container hr, .sidebar-container hr, .post-preview + hr { border-top: 1px solid var(--tib-rule) !important; }
.tib-share { border-color: var(--tib-rule); }
footer { border-top-color: var(--tib-rule); }

/* Navigation: always readable (ink on white, orange on hover) */
.navbar-custom, .navbar-custom.is-fixed, .navbar-custom.is-visible { background-color: #fff !important; }
.navbar-custom .nav li a, .navbar-custom.is-fixed .nav li a,
.navbar-custom .nav li a:link, .navbar-custom .nav li a:visited { color: var(--tib-ink) !important; background: transparent !important; }
.navbar-custom .nav li a:hover, .navbar-custom .nav li a:focus,
.navbar-custom.is-fixed .nav li a:hover, .navbar-custom.is-fixed .nav li a:focus { color: var(--tib-orange) !important; box-shadow: inset 0 -2px 0 var(--tib-orange); }
#huxblog_navbar { background: transparent !important; }
#huxblog_navbar .navbar-collapse { background: #fff !important; }
@media (max-width: 767px) {
    #huxblog_navbar .navbar-collapse { box-shadow: 0 6px 18px rgba(0,0,0,.08); }
    #huxblog_navbar .nav li a { color: var(--tib-ink) !important; }
}

/* Sidebar: Topics in ink, orange on hover, no counts; no logo/tagline block */
.tib-sidebar .tib-term-list a, .tib-sidebar .tib-recent a { color: var(--tib-ink) !important; text-decoration: none; }
.tib-sidebar .tib-term-list a:hover, .tib-sidebar .tib-term-list a:focus,
.tib-sidebar .tib-recent a:hover, .tib-sidebar .tib-recent a:focus { color: var(--tib-orange) !important; }
.tib-sidebar .tib-follow { margin-top: 4px; }
.tib-sidebar .tib-follow .tib-social { display: flex; gap: 14px; margin: 0; padding: 0; }
.tib-sidebar .tib-follow .tib-social > li { padding: 0; }
.tib-sidebar .tib-follow .tib-social a { font-size: 22px; color: var(--tib-ink); }
.tib-sidebar .tib-follow .tib-social a:hover { color: var(--tib-orange); }
.tib-sidebar .tib-follow .tib-svg-icon { width: 20px; height: 20px; vertical-align: -2px; }

/* Older / newer posts pager: light */
.pager li > a, .pager li > span,
.pager li > a:link, .pager li > a:visited {
    background: #fff !important;
    color: var(--tib-ink) !important;
    border: 1px solid var(--tib-border) !important;
    box-shadow: none !important;
}
.pager li > a:hover, .pager li > a:focus {
    background: #fff !important;
    color: var(--tib-orange-deep) !important;
    border-color: var(--tib-orange) !important;
}
.pager .disabled > a, .pager .disabled > span { color: var(--tib-muted) !important; background: #fff !important; }

/* Footer "Cookie settings": plain text link, no button chrome */
footer .tib-cookie-settings, .tib-cookie-settings {
    background: transparent !important; border: 0 !important; box-shadow: none !important;
    padding: 0; margin: 0; color: var(--tib-orange-deep) !important;
    font: inherit; font-size: 12px; text-decoration: underline; cursor: pointer;
}
footer .tib-cookie-settings:hover { color: var(--tib-orange) !important; }
footer .copyright { color: var(--tib-muted) !important; }
/* mobile menu: dropdown card floats over the header instead of stretching the white nav bar */
@media (max-width: 767px) {
    .navbar-custom { height: 57px; }
    #huxblog_navbar { position: absolute; top: 57px; right: 10px; left: auto; width: 60%; max-width: 260px; z-index: 5; }
}

/* ---------- v4 (4 Oct 2026) ---------- */
/* No focus/tap box on click (the blue rounded square was Bootstrap's `a:focus{outline:5px auto}`).
   Keyboard users still get a discreet orange underline-style ring via :focus-visible. */
a, a:focus, a:active, button, button:focus, button:active, .btn:focus, .btn:active,
input:focus, [tabindex]:focus { outline: none !important; box-shadow: none; }
* { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, .btn:focus-visible {
    outline: 2px solid var(--tib-orange) !important; outline-offset: 2px; border-radius: 2px;
}
.post-preview > a:focus-visible { outline-offset: 6px; }

/* Post list: meta line detached from the excerpt (50% of the 10px title->excerpt gap) and paler */
.post-preview > .post-meta, .post-preview > .post-meta > a {
    padding-top: 5px;
    color: #9E9E9E !important;
}

/* ---------- v5 (4 Oct 2026) ---------- */
/* Post titles in lists: ink -> site orange on hover */
.post-preview > a:hover > .post-title,
.post-preview > a:hover > .post-subtitle { color: var(--tib-orange) !important; }

/* Older/Newer and Previous/Next buttons centred in the column */
.pager { text-align: center; }
.pager li { display: inline-block; margin: 0 6px; }
.pager li.previous > a, .pager li.next > a,
.pager li.previous > span, .pager li.next > span { float: none; }

/* "Show comments" centred in the column */
.tib-comments { text-align: center; }
.tib-comments #disqus_thread { text-align: left; }

/* Image-only site header: the full-width art, no title/tagline on top. The h1 stays in the markup
   for screen readers and search engines. Post heroes are unchanged.
   Rotating header: layouts/_partials/tib/header-rotation.html lists every image in
   assets/img/headers/ at build time and an inline script picks one, setting --tib-hdr-s/m/l
   (1600/2560/3840 px, WebP or JPEG) and --tib-hdr-pos. Without JS: the static fallback below. */
.intro-header:has(.site-heading), .intro-header:has(.page-heading) {
    background-image: var(--tib-hdr-s, url("../img/header/thinkinbig-header-2560.jpg")) !important;
    background-size: cover !important;
    background-position: var(--tib-hdr-pos, 72%) center !important;
    background-repeat: no-repeat;
    width: 100%;
    aspect-ratio: 3840 / 900;
    min-height: 120px;
    margin-bottom: 40px;
}
@media (min-width: 801px) {
    .intro-header:has(.site-heading), .intro-header:has(.page-heading) {
        background-image: var(--tib-hdr-m, url("../img/header/thinkinbig-header-2560.jpg")) !important;
    }
}
@media (min-width: 1281px) {
    .intro-header:has(.site-heading), .intro-header:has(.page-heading) {
        background-image: var(--tib-hdr-l, url("../img/header/thinkinbig-header-2560.jpg")) !important;
    }
}
.intro-header .site-heading, .intro-header .page-heading {
    position: absolute !important; width: 1px; height: 1px; padding: 0 !important; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.tib-page-title { font-size: 32px; margin: 0 0 20px; }

/* ---------- v6 (4 Oct 2026) ---------- */
/* Square corners for every button-like control */
.btn, .tib-load-comments, .pager li > a, .pager li > span, .post-container a.tib-share-btn,
.tags .tag, .tags a, .tib-archive-search button, .tib-archive-search input,
.side-catalog, .tooltip-inner { border-radius: 0 !important; }
#cc-main { --cc-btn-border-radius: 0; }

/* Share buttons centred in the column */
.tib-share { justify-content: center; text-align: center; }

/* Post tags: below the "Posted by" line in the post header */
.intro-header .tib-post-tags { margin-top: 18px; text-align: center; }
.intro-header .tib-post-tags .tag { margin: 0 3px 6px; }

/* "TABLE OF CONTENTS" label is longer than "CATALOG" */
.side-catalog .catalog-toggle { white-space: nowrap; }

/* ---------- v7 (4 Oct 2026) ---------- */
/* "Copy link" is a <button>: same look as the share links */
.post-container button.tib-share-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 12px; margin: 0;
    border: 1px solid var(--tib-border); border-radius: 0;
    background: #fff; color: var(--tib-ink);
    font-family: var(--tib-font-body); font-size: 13px; font-weight: 400; line-height: inherit;
    cursor: pointer;
}
.post-container button.tib-share-btn:hover { border-color: var(--tib-orange-deep); color: var(--tib-orange-deep); }
.post-container button.tib-share-btn.is-copied { border-color: var(--tib-orange-deep); background: var(--tib-orange-deep); color: #fff; }

/* Topics: bold (and orange) on hover. Vertical list, so the wider bold text shifts nothing. */
.tib-sidebar .tib-topics a:hover, .tib-sidebar .tib-topics a:focus-visible { font-weight: 700; }

/* ---------- v8 (4 Oct 2026) ---------- */
/* Most Recent: bold (and orange) on hover, like Topics */
.tib-sidebar .tib-recent a:hover, .tib-sidebar .tib-recent a:focus-visible { font-weight: 700; }
/* Search page (Pagefind UI): square search field, clear button and result images */
#search { --pagefind-ui-border-radius: 0; }
#search .pagefind-ui__search-input, #search .pagefind-ui__search-clear,
#search .pagefind-ui__result-thumb, #search .pagefind-ui__result-image,
#search .pagefind-ui__button, #search .pagefind-ui__filter-panel { border-radius: 0 !important; }

/* ---------- v9 (4 Oct 2026) ---------- */
/* Search page: 1px borders like the Archives search box */
#search { --pagefind-ui-border-width: 1px; }
/* Footer: the three ThinkInBig dots at the very bottom */
.tib-footer-dots { text-align: center; margin: 22px 0 8px; line-height: 0; }
.tib-footer-dots a, .tib-footer-dots a:hover { display: inline-block; border: 0; text-decoration: none; }

/* ---------- v10 (5 Oct 2026): galleries (Projects page) ---------- */
.tib-gallery { margin: 26px 0 30px; }
.tib-gallery figure { margin: 0; }
.tib-gallery img { display: block; border: 0; }
/* slideshow: one slide per view, swipe/scroll-snap, buttons added by JS */
.tib-slides {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
    scrollbar-width: none; -ms-overflow-style: none; background: var(--tib-surface);
}
.tib-slides::-webkit-scrollbar { display: none; }
.tib-slides:focus-visible { outline: 2px solid var(--tib-orange) !important; outline-offset: 2px; }
.tib-slide { flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 4 / 3; position: relative; }
.tib-slide > a { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; text-decoration: none; }
.tib-slide img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.tib-gallery-nav { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 10px; }
.tib-gallery-nav[hidden] { display: none; }
.tib-gallery-nav button {
    border: 1px solid var(--tib-border); border-radius: 0; background: #fff; color: var(--tib-ink);
    width: 38px; height: 32px; font-size: 16px; line-height: 1; cursor: pointer;
}
.tib-gallery-nav button:hover { border-color: var(--tib-orange-deep); color: var(--tib-orange-deep); }
.tib-gallery-count { font-size: 12px; letter-spacing: .08em; color: var(--tib-muted); min-width: 56px; text-align: center; }
/* post carousel: featured image with title/date band */
.tib-gallery--posts .tib-slide img { width: 100%; height: 100%; object-fit: cover; max-width: none; max-height: none; }
.tib-gallery--posts figcaption {
    position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 18px;
    background: linear-gradient(transparent, rgba(0, 8, 26, .85)); color: #fff; text-align: left;
}
.tib-slide-title { display: block; font-family: var(--tib-font-heading); font-weight: 700; font-size: 20px; line-height: 1.25; }
.tib-slide-date { display: block; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; opacity: .85; margin-top: 4px; }
.tib-gallery--posts .tib-slide > a:hover .tib-slide-title { color: var(--tib-orange); }
/* grid (ex Tiled Gallery) */
.tib-gallery--grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.tib-tile a { display: block; aspect-ratio: 900 / 493; overflow: hidden; background: var(--tib-surface); }
.tib-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.tib-tile a:hover img { transform: scale(1.03); }
@media (max-width: 480px) { .tib-gallery--grid { grid-template-columns: 1fr; } }
.tib-gallery-nav button:disabled { opacity: .35; cursor: default; border-color: var(--tib-border); color: var(--tib-ink); }
