/* Thai IVF Guide: Wikipedia-style serif wordmark and headings on the Timeless skin, with a teal accent. */
:root { --tig-serif: 'Linux Libertine', 'Georgia', 'Times', 'Source Serif Pro', serif; --tig-teal: #0f6f66; }

/* Header wordmark and slogan */
.skin-timeless #p-logo-text .mw-wiki-title { font-family: var(--tig-serif); font-variant: normal; text-transform: none; font-weight: normal; letter-spacing: 0.01em; font-size: 1.6em; color: #202122; }
.skin-timeless #p-banner .site-tagline { font-family: var(--tig-serif); font-weight: normal; font-size: 0.5em; color: #54595d; }
.skin-timeless #p-banner .site-banner-logo { width: auto; height: 46px; align-self: center; }

/* The big sidebar logo repeats the header: hide it */
.skin-timeless #p-logo { display: none; }

/* Headings keep Wikipedia's serif (Timeless default) */

/* Accent bar in the site colour */
.skin-timeless .color-bar .color-left, .skin-timeless .color-bar .color-middle, .skin-timeless .color-bar .color-right { background: var(--tig-teal); }

/* Keep the slogan on small screens */
@media all and (max-width: 850px) { .skin-timeless #p-banner .site-tagline { display: block; font-size: 0.4em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 62vw; } .skin-timeless #p-banner .site-banner-logo { width: auto; height: 38px; align-self: center; } .skin-timeless #p-logo-text { top: 0.55em; } } /* on mobile, centre the logo block in the band above the search box, level with the menu and tools icons */
.skin-timeless .mw-body h1.firstHeading { border-bottom: 1px solid #a2a9b1; padding-bottom: 0.15em; } /* thin Wikipedia-style rule; the teal header bar is the one accent */
.skin-timeless #mw-content-text h2 { border-bottom-color: #c8d9d6; }

/* Desktop header: Timeless's white band is 3.125em (48px), with the teal bar pinned under it and the content
   pushed down to match. Make the band 3.625em (about 56px) and move the bar and content by the same 0.5em,
   then centre the logo block and the search box vertically in it. */
@media screen and (min-width: 851px) {
  .skin-timeless #mw-header-container { padding-top: 0; min-height: 3.625em; }
  .skin-timeless #mw-header-hack, .skin-timeless #mw-header-nav-hack { top: 3.625em; }
  .skin-timeless #mw-content-container { margin-top: 3.975em; }
  .skin-timeless #mw-header { height: 3.625em; align-items: center; }
  .skin-timeless #p-logo-text { display: flex; align-items: center; height: 3.625em; }
  .skin-timeless #p-logo-text .mw-wiki-title { font-size: 1.5em; }
  .skin-timeless #p-banner .site-banner-logo { height: 42px; }
  .skin-timeless #p-banner .site-tagline { font-size: 0.5em; margin-top: 3px; }
  .skin-timeless #p-search { display: flex; align-items: center; height: 3.625em; }
  .skin-timeless #p-search #searchform { flex: 1 1 auto; width: 100%; }
}

/* Footer: light, centred, with the site's teal line instead of Timeless's green */
.skin-timeless #mw-content-container { border-bottom-color: var(--tig-teal); }
.skin-timeless #mw-footer-container { background: #f8f9fa; color: #54595d; border-top: 0; }
.skin-timeless #mw-footer { text-align: center; padding-top: 1.5em; padding-bottom: 2em; }
.skin-timeless #mw-footer li { color: #54595d; }
.skin-timeless #mw-footer #footer-list ul { display: block; margin: 0 auto 0.6em; max-width: 60em; }
.skin-timeless #mw-footer #footer-places li { display: inline-block; float: none; margin: 0 0.6em; }
.skin-timeless #mw-footer a { color: var(--tig-teal); }
.skin-timeless #mw-footer #footer-icons { display: none; }

/* Article header: tighter, clearer hierarchy under the title (site line, tabs, breadcrumb, byline) */
.skin-timeless #siteSub { display: block !important; margin: -0.35em 0 0.6em; font-family: inherit; font-style: normal; font-size: 0.875em; color: #54595d; }
.skin-timeless #contentSub { margin-top: 0.4em; font-size: 0.9em; line-height: 1.6; color: #54595d; } /* parent link and byline on separate lines, as on Wikipedia */
.skin-timeless .mw-reviewed-line { font-size: 1em; }
.skin-timeless #mw-page-header-links li { margin-bottom: 0.3em; }
.skin-timeless #contentSub .subpages + br { display: none; } /* .subpages is already a block: the <br> only added an empty line */
