/* VYBE Journal – the published article's page ([vj_article] parts and the Elementor Pro article template).
 * The journal's colour is the accent (--vj-accent); fonts and text colour come from the theme / Elementor kit.
 * Tamil text gets Noto Sans / Serif Tamil (bundled), so it looks the same on every device. */

.vj-art, .vj-art-hero, .vj-art-body, .vj-art-page {
	--vj-accent: #1b3a5c;
	--vj-ink: #1c1d21;
	--vj-muted: #5f636c;
	--vj-line: #e4e0d7;
	--vj-soft: color-mix(in srgb, var(--vj-accent) 7%, #ffffff);
	--vj-soft-line: color-mix(in srgb, var(--vj-accent) 22%, #ffffff);
	--vj-radius: 12px;
	--vj-tamil: "VJ Tamil Sans", var(--e-global-typography-text-font-family, system-ui), system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--vj-tamil-serif: "VJ Tamil Serif", var(--e-global-typography-primary-font-family, Georgia), Georgia, "Times New Roman", serif;
}
.vj-art { color: var(--vj-ink); }
.vj-art :lang(ta), .vj-art[lang^="ta"] { font-family: var(--vj-tamil); }
.vj-art *, .vj-art *::before, .vj-art *::after { box-sizing: border-box; }
.vj-art a { color: var(--vj-accent); text-underline-offset: 2px; }
.vj-art-part + .vj-art-part { margin-top: 0; }

/* ------------------------------------------------------------------ the band at the top */

.vj-art-hero { background: linear-gradient(180deg, var(--vj-soft) 0%, #ffffff 100%); border-bottom: 1px solid var(--vj-line); }
.vj-art-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0 0 14px; color: var(--vj-muted); font-size: 13.5px; letter-spacing: .02em; }
.vj-art-kicker a { color: var(--vj-muted); text-decoration: none; }
.vj-art-kicker a:hover { color: var(--vj-accent); text-decoration: underline; }
.vj-art-kicker__journal { color: var(--vj-accent); font-weight: 700; }
.vj-art-kicker__sep { color: #a6a29a; }
.vj-art-badge { display: inline-flex; align-items: center; gap: 5px; margin-left: 6px; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .03em; }
.vj-art-badge--oa { background: #e3f3e8; color: #17633a; }

.vj-art .vj-art-title { margin: 0 0 10px; color: var(--vj-ink); font-family: var(--e-global-typography-primary-font-family, Georgia), Georgia, "Times New Roman", serif; font-size: clamp(26px, 3.6vw, 40px); font-weight: 700; line-height: 1.18; letter-spacing: -.01em; overflow-wrap: anywhere; }
.vj-art .vj-art-title:lang(ta) { font-family: var(--vj-tamil-serif); line-height: 1.35; letter-spacing: 0; }
.vj-art .vj-art-subtitle { margin: -2px 0 10px; font-size: clamp(17px, 2vw, 21px); line-height: 1.35; color: var(--vj-ink); }
.vj-art .vj-art-alt-title { margin: 0 0 6px; color: var(--vj-muted); font-size: clamp(16px, 1.8vw, 19px); font-style: italic; line-height: 1.4; }
.vj-art .vj-art-alt-title:lang(ta) { font-style: normal; }

.vj-art .vj-authors-block { margin: 16px 0 6px; }
.vj-art .vj-authors-full { margin: 0 0 6px; font-size: 17px; font-weight: 600; line-height: 1.5; }
.vj-art .vj-authors-full a { color: var(--vj-ink); text-decoration: none; border-bottom: 1px dotted #a6a29a; }
.vj-art .vj-authors-full sup { color: var(--vj-accent); font-weight: 700; font-size: 11px; margin-left: 1px; }
.vj-art .vj-authors-alt { margin: 0 0 6px; color: var(--vj-muted); font-size: 15px; }
.vj-art .vj-affiliations { margin: 6px 0; padding: 0 0 0 18px; color: var(--vj-muted); font-size: 13.5px; line-height: 1.5; }
.vj-art .vj-affiliations li { margin: 0; }
.vj-art .vj-affiliations li::marker { color: var(--vj-accent); font-weight: 700; font-size: 11px; }
.vj-art .vj-corresp-line { margin: 4px 0 0; color: var(--vj-muted); font-size: 13.5px; }
.vj-art .vj-orcid { display: inline-flex; align-items: center; gap: 4px; margin-left: 4px; text-decoration: none; vertical-align: 1px; }
.vj-art .vj-orcid__icon { display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: #a6ce39; color: #fff; font: 700 8.5px/1 system-ui, sans-serif; }
.vj-art .vj-orcid__id { display: none; }

.vj-art-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 10px 0 0; color: var(--vj-muted); font-size: 14px; }
.vj-art-meta a { color: var(--vj-muted); text-decoration: none; }
.vj-art-meta a:hover, .vj-art .vj-info a:hover, .vj-art-cover figcaption a:hover { text-decoration: underline; }
.vj-art-meta__sep { color: #b7b3aa; }
.vj-art-meta .vj-doi { color: var(--vj-accent); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }

.vj-art-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 4px; }
.vj-art-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border: 1px solid var(--vj-soft-line); border-radius: 10px; background: #fff; color: var(--vj-accent) !important; font-size: 15px; font-weight: 600; line-height: 1.2; text-decoration: none !important; cursor: pointer; transition: box-shadow .15s, background-color .15s, border-color .15s; }
.vj-art-btn:hover { border-color: var(--vj-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--vj-accent) 15%, transparent); }
.vj-art-btn--main { background: var(--vj-accent); border-color: var(--vj-accent); color: #fff !important; }
.vj-art-btn--quiet { background: transparent; }
.vj-art-btn--small { min-height: 32px; padding: 0 12px; font-size: 13px; }
.vj-art-btn__icon { font-size: 1.05em; line-height: 1; }

.vj-art-cover { margin: 0; text-align: center; }
.vj-art-cover img, .vj-art-cover .vj-cover__img { display: block; width: 100%; max-width: 240px; height: auto; margin: 0 auto 10px; border-radius: 6px; box-shadow: 0 12px 28px rgba(20, 24, 33, .18); }
.vj-art-cover figcaption { color: var(--vj-muted); font-size: 13.5px; }
.vj-art-cover .vj-cover { display: block; text-decoration: none; }
.vj-art-cover .vj-cover--printed { display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 220px; aspect-ratio: 3 / 4; margin: 0 auto 10px; padding: 20px 18px; border-radius: 6px; background: linear-gradient(160deg, var(--vj-accent) 0%, color-mix(in srgb, var(--vj-accent) 55%, #000000) 100%); box-shadow: 0 12px 28px rgba(20, 24, 33, .22); color: #ffffff !important; text-align: left; }
.vj-cover--printed .vj-cover__journal { font: 700 16px/1.3 var(--e-global-typography-primary-font-family, Georgia), Georgia, serif; }
.vj-cover--printed .vj-cover__issue { padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .35); font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.vj-cover--printed .vj-cover__label { font-size: 12px; opacity: .85; }
.vj-cover--printed .vj-cover__title { font-size: 14px; font-style: italic; line-height: 1.35; }
.vj-cover--printed .vj-cover__date { margin-top: auto; font-size: 12px; opacity: .8; }
.vj-art-cover figcaption a { color: var(--vj-muted); text-decoration: none; }

/* ------------------------------------------------------------------ the text */

.vj-art .vj-abstract { margin: 0 0 18px; padding: 20px 22px; border: 1px solid var(--vj-line); border-left: 4px solid var(--vj-accent); border-radius: 0 var(--vj-radius) var(--vj-radius) 0; background: #fff; }
.vj-art .vj-abstract + .vj-abstract { background: #fcfbf8; }
.vj-art .vj-abstract .vj-h, .vj-art .vj-art-h, .vj-art .vj-statements .vj-h { margin: 0 0 10px; color: var(--vj-accent); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.vj-art .vj-abstract .vj-h:lang(ta), .vj-art .vj-art-h:lang(ta) { letter-spacing: 0; font-size: 15px; }
.vj-art .vj-abstract p { margin: 0 0 10px; font-size: 16px; line-height: 1.7; text-align: justify; hyphens: auto; }
.vj-art .vj-abstract__kw { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 12px 0 0; font-size: 14px; }
.vj-art .vj-keywords { display: inline-flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.vj-art .vj-keywords li { margin: 0; padding: 3px 10px; border-radius: 999px; background: var(--vj-soft); color: var(--vj-ink); font-size: 13px; }

.vj-art-part--text-heading { margin-top: 26px; }
.vj-art-text, .elementor-widget-theme-post-content.vj-art-text { color: var(--vj-ink); font-size: 17px; line-height: 1.75; }
.vj-art-text :lang(ta) { font-family: var(--vj-tamil); }
.vj-art-text h2, .vj-art-text h3, .vj-art-text h4 { margin: 1.6em 0 .5em; line-height: 1.3; }
.vj-art-text p { margin: 0 0 1em; }
.vj-art-text img { max-width: 100%; height: auto; }
.vj-art-text figure { margin: 1.4em auto; text-align: center; }
.vj-art-text figcaption { margin-top: 6px; color: var(--vj-muted); font-size: 14px; }
.vj-art-text table { width: 100%; margin: 1.4em 0; border-collapse: collapse; font-size: 14.5px; line-height: 1.5; }
.vj-art-text th, .vj-art-text td { padding: 7px 10px; border-bottom: 1px solid var(--vj-line); text-align: left; vertical-align: top; }
.vj-art-text thead th, .vj-art-text tr:first-child th { border-bottom: 2px solid var(--vj-ink); }
.vj-art-text table caption { caption-side: top; padding: 0 0 8px; font-weight: 700; text-align: left; }
.vj-art-text blockquote { margin: 1.2em 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--vj-soft-line); color: #3a3d44; font-style: italic; }
.vj-art-text .qsub-verse { margin-left: 2em; font-style: normal; white-space: pre-line; }
.vj-art-text .vj-footnotes, .vj-art-text .wp-block-footnotes { font-size: 14px; color: #3a3d44; }
.vj-art-text sup a { text-decoration: none; font-weight: 700; }
.vj-art-text pre { overflow-x: auto; padding: 12px; border-radius: 8px; background: #f4f2ec; font-size: 13.5px; }

.vj-art .vj-statements { margin: 28px 0 0; padding: 18px 20px; border-radius: var(--vj-radius); background: #faf9f6; }
.vj-art .vj-statements .vj-h3 { margin: 12px 0 2px; font-size: 14.5px; font-weight: 700; }
.vj-art .vj-statements p { margin: 0; font-size: 14.5px; line-height: 1.6; color: #3a3d44; }

.vj-art-references { margin: 28px 0 0; }
.vj-art .vj-references { margin: 0; padding: 0 0 0 2.2em; font-size: 14.5px; line-height: 1.6; }
.vj-art .vj-references li { margin: 0 0 8px; padding-left: 4px; overflow-wrap: anywhere; }
.vj-art .vj-references li::marker { color: var(--vj-muted); font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------------ the side column */

.vj-art-side { align-self: flex-start; }
@media (min-width: 1025px) {
	.elementor .vj-art-side, .vj-art-side--sticky { position: sticky; top: 24px; }
}
.vj-art-box { margin: 0 0 16px; padding: 16px 18px; border: 1px solid var(--vj-line); border-radius: var(--vj-radius); background: #fff; }
.vj-art .vj-art-box__h { margin: 0 0 10px; color: var(--vj-muted); font-size: 12px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.vj-art .vj-art-box__h:lang(ta), .vj-art :lang(ta) > .vj-art-box__h { letter-spacing: 0; font-size: 13.5px; }
.vj-art .vj-info { margin: 0; font-size: 14px; }
.vj-art .vj-info__row { display: grid; grid-template-columns: minmax(80px, 38%) minmax(0, 1fr); gap: 10px; padding: 7px 0; border-top: 1px solid #f0ede6; }
.vj-art .vj-info__row:first-child { border-top: 0; padding-top: 0; }
.vj-art .vj-info dt { margin: 0; color: var(--vj-muted); font-weight: 500; }
.vj-art .vj-info dd { margin: 0; overflow-wrap: anywhere; }
.vj-art .vj-info a { text-decoration: none; }
.vj-art .vj-licence { margin: 0; font-size: 13.5px; line-height: 1.55; color: #3a3d44; }
.vj-art .vj-licence__badge { display: inline-block; margin: 0 0 6px; padding: 2px 9px; border-radius: 6px; background: #1f1f1f; color: #fff !important; font-size: 12px; font-weight: 700; text-decoration: none; }
.vj-art-cite .vj-citation { margin: 0 0 10px; padding: 10px 12px; border-radius: 8px; background: #faf9f6; font-size: 14px; line-height: 1.55; overflow-wrap: anywhere; }
.vj-art-cite__tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0; font-size: 13.5px; color: var(--vj-muted); }
.vj-art-part--crossmark { margin: 0 0 16px; }
.vj-art-part--cited-by:not(:empty) { margin: 0 0 16px; }

/* ------------------------------------------------------------------ in this issue */

.vj-art-toc { margin: 8px 0 0; padding: 26px 0 0; border-top: 1px solid var(--vj-line); }
.vj-art-toc ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.vj-art-toc li { margin: 0; padding: 14px 16px; border: 1px solid var(--vj-line); border-radius: var(--vj-radius); background: #fff; }
.vj-art-toc li a { display: block; color: var(--vj-ink); font-weight: 650; line-height: 1.4; text-decoration: none; }
.vj-art-toc li a:hover { color: var(--vj-accent); }
.vj-art-toc__who { display: block; margin-top: 6px; color: var(--vj-muted); font-size: 13.5px; }

/* ------------------------------------------------------------------ the template in sections (Elementor's Flexbox Container off) */

/* The parts space themselves (as in the container template), not Elementor's widget spacing: empty parts take no room. */
.elementor-column.vj-art-head .elementor-widget, .elementor-column.vj-art-main .elementor-widget, .elementor-column.vj-art-side .elementor-widget,
.elementor-column.vj-art-cover-col .elementor-widget, .elementor-column.vj-art-more__in .elementor-widget { margin-bottom: 0; margin-block-end: 0; }

/* ------------------------------------------------------------------ the built-in page (VJ_Article_Page, without Elementor Pro) */

.vj-art-page { width: 100%; min-width: 0; }
.vj-art-page--builtin { container: vj-page / inline-size; color: var(--vj-ink); }
.vj-art-page--builtin .vj-art-wrap { box-sizing: border-box; width: 100%; max-width: 1200px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.vj-art-page--builtin .vj-art-hero__in { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 28px 48px; align-items: start; padding-top: 48px; padding-bottom: 40px; }
.vj-art-page--builtin .vj-art-hero__in--solo { grid-template-columns: minmax(0, 1fr); }
.vj-art-page--builtin .vj-art-head, .vj-art-page--builtin .vj-art-main, .vj-art-page--builtin .vj-art-side { min-width: 0; }
.vj-art-page--builtin .vj-art-body { display: grid; grid-template-columns: minmax(0, 68fr) minmax(0, 32fr); gap: 28px 48px; align-items: start; padding-top: 40px; padding-bottom: 24px; }
.vj-art-page--builtin .vj-art-more { padding-top: 8px; padding-bottom: 64px; }
.vj-art-page--builtin .vj-art-text { margin: 0 0 8px; }
.vj-art-page--builtin .vj-art-text > :first-child { margin-top: 0; }
@media (max-width: 1024px) {
	.vj-art-page--builtin .vj-art-hero__in, .vj-art-page--builtin .vj-art-body { grid-template-columns: minmax(0, 1fr); }
}
/* A narrow content area of the theme (a sidebar beside it, say): one column there too. */
@container vj-page (max-width: 860px) {
	.vj-art-page--builtin .vj-art-hero__in, .vj-art-page--builtin .vj-art-body { grid-template-columns: minmax(0, 1fr); }
	.vj-art-page--builtin .vj-art-side--sticky { position: static; }
}
@container vj-page (max-width: 600px) {
	.vj-art-page--builtin .vj-art-wrap { padding-left: 16px; padding-right: 16px; }
	.vj-art-page--builtin .vj-art-hero__in { padding-top: 30px; padding-bottom: 26px; }
	.vj-art-page--builtin .vj-art-body { padding-top: 26px; }
	.vj-art-page--builtin .vj-art-cover-col { display: none; }
}

/* ------------------------------------------------------------------ issue pages and the archive (VJ_Issue_Page) */

.vj-art-page--builtin .vj-issue-body { padding-top: 36px; padding-bottom: 64px; }
.vj-issue-desc { margin: 14px 0 0; color: var(--vj-ink); font-size: 15.5px; line-height: 1.65; }
.vj-issue-desc p { margin: 0 0 8px; }
.vj-issue-cta { padding-bottom: 40px; }
.vj-art .vj-toc-sec { margin: 0 0 26px; }
.vj-art .vj-toc-sec__h { margin: 0 0 10px; padding-bottom: 6px; border-bottom: 1px solid var(--vj-line); color: var(--vj-muted); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.vj-art .vj-toc-sec__h:lang(ta) { letter-spacing: 0; font-size: 14.5px; }
.vj-art .vj-toc { margin: 0; padding: 0; list-style: none; }
.vj-art .vj-toc__item { margin: 0; padding: 14px 0; border-bottom: 1px solid #f0ede6; }
.vj-art .vj-toc__title { color: var(--vj-ink); font-size: 18px; font-weight: 650; line-height: 1.4; text-decoration: none; }
.vj-art .vj-toc__title:hover { color: var(--vj-accent); text-decoration: underline; }
.vj-art .vj-toc__alt { margin: 3px 0 0; color: var(--vj-muted); font-size: 15px; font-style: italic; }
.vj-art .vj-toc__alt:lang(ta) { font-style: normal; }
.vj-art .vj-toc__who { margin: 6px 0 0; font-size: 14.5px; }
.vj-art .vj-toc__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 6px 0 0; color: var(--vj-muted); font-size: 13.5px; }
.vj-art .vj-toc__meta a { color: var(--vj-accent); text-decoration: none; }
.vj-art .vj-toc__pdf { display: inline-block; padding: 1px 9px; border: 1px solid var(--vj-soft-line); border-radius: 6px; font-weight: 700; }
.vj-art .vj-archive__year { margin: 0 0 30px; }
.vj-art .vj-archive__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.vj-art .vj-archive__issue { margin: 0; }
.vj-art .vj-archive__issue > a { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 12px; border: 1px solid var(--vj-line); border-radius: var(--vj-radius); background: #fff; color: var(--vj-ink); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.vj-art .vj-archive__issue > a:hover { border-color: var(--vj-accent); box-shadow: 0 6px 18px rgba(20, 24, 33, .08); }
.vj-art .vj-archive__cover { display: block; margin: 0 0 6px; }
.vj-art .vj-archive__cover img, .vj-art .vj-archive__cover .vj-cover--printed { display: block; width: 100%; max-width: none; height: auto; aspect-ratio: 3 / 4; object-fit: cover; margin: 0; border-radius: 6px; }
.vj-art .vj-archive__cover .vj-cover--printed { display: flex; flex-direction: column; gap: 6px; padding: 12px 11px; background: linear-gradient(160deg, var(--vj-accent) 0%, color-mix(in srgb, var(--vj-accent) 55%, #000000) 100%); box-shadow: 0 8px 18px rgba(20, 24, 33, .18); color: #ffffff; text-align: left; }
.vj-archive__cover .vj-cover--printed .vj-cover__journal { font-size: 13px; }
.vj-archive__cover .vj-cover--printed .vj-cover__issue { padding-top: 6px; font-size: 10.5px; }
.vj-archive__cover .vj-cover--printed .vj-cover__title { font-size: 11.5px; }
.vj-archive__cover .vj-cover--printed .vj-cover__date { font-size: 10.5px; }
.vj-art .vj-archive__label { font-weight: 700; line-height: 1.35; }
.vj-art .vj-archive__title { color: var(--vj-muted); font-size: 14px; font-style: italic; line-height: 1.35; }
.vj-art .vj-archive__n { margin-top: auto; color: var(--vj-muted); font-size: 13px; }
.vj-art-roman { margin: 14px 0 0; }
.vj-art-roman summary { cursor: pointer; color: var(--vj-accent); font-size: 14px; font-weight: 600; }
.vj-art-roman .vj-references { margin-top: 10px; }

/* ------------------------------------------------------------------ phones */

@media (max-width: 767px) {
	.vj-art-actions .vj-art-btn--main { flex: 1 1 100%; justify-content: center; }
	.vj-art .vj-abstract { padding: 16px; }
	.vj-art .vj-abstract p { text-align: left; }
	.vj-art-text, .elementor-widget-theme-post-content.vj-art-text { font-size: 16px; }
	.vj-art-cover img, .vj-art-cover .vj-cover__img, .vj-art-cover .vj-cover--printed { max-width: 150px; }
	.vj-art-cover .vj-cover--printed { padding: 14px 12px; }
	.vj-art-cover-col { display: none !important; }
	.vj-art-text table { display: block; overflow-x: auto; }
}

@media print {
	.vj-art-actions, .vj-art-cite__tools, .vj-art-part--metrics, .vj-art-part--crossmark, .vj-art-toc { display: none !important; }
	.vj-art-hero { background: none; }
}
