/**
 * plugins/themes/nitLAP/styles/nitlap.css
 *
 * NIT additions to the stylesheet of The Voices of Asia theme (loaded after it).
 * Colours come from the parent's variables (--tv-paprika etc.), which follow the
 * "Colour" theme option.
 */

/* Journal name: TT Pollock (ParaGraph, design A. Tarbeev) */
@font-face {
	font-family: "TT Pollock";
	src: url("../fonts/TTPollock.ttf") format("truetype");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
.tv .tv_brand_title {
	font-family: "TT Pollock", "Cormorant Garamond", Georgia, serif;
	font-weight: 400;
	font-variant-caps: normal;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

/* Journal name: white letters with a thin black outline, like the knot logo
   (uzel.svg: 0.75 stroke at about 0.45 scale, i.e. a ~0.35 px edge). The
   stroke is painted behind the letters, so only its outer half shows. */
.tv .tv_head_band .tv_brand_title {
	-webkit-text-stroke: 1.2px #000;
	paint-order: stroke fill;
	text-shadow: none;
}

/* Header over the clouds: a soft shadow keeps the small white text readable
   on the bright parts of the picture (variable set only when clouds are on). */
.tv .tv_head_band .tv_brand_subtitle,
.tv .tv_head_band .tv_head_meta_lines {
	text-shadow: var(--nit-header-shadow, none);
}

/* Main content area: plain white instead of the 5 % tint of the main colour
   (sidebar windows, menu bar and buttons keep their tints) */
html,
body.tv,
.tv .pkp_structure_page,
.tv .pkp_structure_content.tv_content,
.tv .pkp_structure_main {
	background: #fff;
}

/* The knot is taller than wide: keep its proportions inside the logo box */
.tv .tv_brand_logo {
	object-fit: contain;
}

/* LAP logo (mountains and yurt) stands on the bottom edge of the header band:
   the meta block takes the full height of the band (cancelling the band's
   bottom padding), the logo goes to its bottom, the e-ISSN / DOI lines stay
   centred. */
.tv .tv_head_meta {
	align-self: stretch;
	align-items: center;
	margin-bottom: -14px;
}
.tv .tv_head_meta .tv_publisher_logo {
	align-self: flex-end;
}

/* Footer: the knot and the LAP logo line up with the top of the text next to them */
.tv .tv_footer .tv_footer_col {
	align-items: flex-start;
}
.tv .tv_footer .tv_footer_logo {
	margin-top: 4px;
}

/* Sidebar box with the citation-index logos (custom block "quartile"):
   white, so the white backgrounds of the logo images blend in */
.tv .tv_sidebar #customblock-quartile,
.tv .tv_sidebar #customblock-quartile .content {
	background: #fff;
}
/* No frame around the citation-index box */
.tv .tv_sidebar #customblock-quartile {
	border: 0;
}
/* Centre the badges (SCImago image, CiteScore widget); everything inside the
   widget keeps its own inline layout, so "Powered by Scopus" stays on one line */
.tv .tv_sidebar #customblock-quartile .content {
	text-align: center;
}
/* CiteScore widget: Scopus sets a fixed height of 100 px, which made its last
   line touch the bottom border; let it grow and leave some space below */
.tv .tv_sidebar #customblock-quartile .content > div {
	height: auto !important;
	padding-bottom: 10px;
	text-align: left;
}
.tv .tv_sidebar #customblock-quartile .content > div a {
	text-decoration: none;
}
.tv .tv_sidebar #customblock-quartile .content > div img {
	display: inline;
	vertical-align: middle;
}

/* Footer licence (CC badge + text): styled by the parent theme (thevoices.css) */
