/*
Theme Name: PV+ Journal
Template: fakt-base
Description: PV+ Journal (pvjournal.com) — child theme of Fakt Base. Rebuilt from scratch in 2026 to match the old site's look (light grey page, Lato + Raleway, orange accents); no code from the old site.
Author: Mufasil
Version: 2.0.0
Text Domain: pvjournal
*/

:root { --pv-orange: #F69320; --pv-text: #848484; --pv-light: #A8A8A8; --pv-page: #F7F9FA; --pv-line: rgba(0, 0, 0, .08); }

/* ---------- base (values measured on the old site) ---------- */
body { background: var(--pv-page); color: var(--pv-text); font: 400 16px/21px "Lato", Arial, sans-serif; }
.fakt-site-main { background: var(--pv-page); }
a { color: var(--pv-orange); text-decoration: none; }
a:hover { color: #D97F14; }
h1, h2, h3, h4, h5, h6 { font-family: "Raleway", Arial, sans-serif; color: #000; margin: 0 0 15px; }
h1 { font-size: 35px; line-height: 35px; font-weight: 700; }
h2 { font-size: 30px; line-height: 32px; font-weight: 700; }
h3 { font-size: 30px; line-height: 32px; font-weight: 700; }
h4 { font-size: 22px; line-height: 26px; font-weight: 300; }
h5 { font-size: 15px; line-height: 19px; font-weight: 400; }
h6 { font-size: 14px; line-height: 19px; font-weight: 400; }
p { margin: 0 0 15px; }
.elementor-widget-text-editor, .elementor-widget-text-editor p { color: var(--pv-text); }
.fakt-site-main .elementor-widget-text-editor p:last-child, .fakt-site-main .elementor-widget-text-editor table { margin-bottom: 15px; }

/* ---------- header (Elementor "Site Header") ---------- */
.fakt-site-header { background: #fff; border-bottom: 1px solid #D3D3D3; }
.pv-nav { min-height: 90px; }
.pv-nav .fakt-menu .fakt-menu__list { flex-wrap: nowrap; gap: 0; }
.pv-nav .fakt-menu .fakt-menu__list > li > a { font: 400 20px/60px "Raleway", Arial, sans-serif; color: #888888; padding: 15px 20px; }
.pv-nav .fakt-menu .fakt-menu__list > li > a:hover,
.pv-nav .fakt-menu .fakt-menu__list > li.current-menu-item > a,
.pv-nav .fakt-menu .fakt-menu__list > li.current-menu-ancestor > a,
.pv-nav .fakt-menu .fakt-menu__list > li.current-category-ancestor > a { color: #000; }
@media (min-width: 1025px) { .pv-nav .fakt-menu .fakt-menu__sub-toggle { display: none; } }
@media (max-width: 1024px) {
	.pv-nav .fakt-menu .fakt-menu__list > li > a { font: 400 15px/21px "Raleway", Arial, sans-serif; padding: 13px 0; color: #333; background: none !important; }
	.pv-nav .fakt-menu .fakt-menu__toggle { width: 34px; height: 34px; }
	.pv-nav .fakt-menu__bars, .pv-nav .fakt-menu__bars::before, .pv-nav .fakt-menu__bars::after { height: 2px; left: 4px; right: 4px; }
	.pv-nav .fakt-menu__bars::before, .pv-nav .fakt-menu__bars::after { left: 0; right: 0; }
}
.pv-nav .fakt-menu .fakt-menu__list > li.current-menu-item > a,
.pv-nav .fakt-menu .fakt-menu__list > li.current-menu-ancestor > a,
.pv-nav .fakt-menu .fakt-menu__list > li.current-category-ancestor > a { background: linear-gradient(#000, #000) no-repeat left 20px bottom 22px / calc(100% - 40px) 1px; }
.pv-nav .fakt-menu .sub-menu a { font: 400 15px/21px "Raleway", Arial, sans-serif; }

/* ---------- page wrapper + sidebar layout ---------- */
.pv-page { background: var(--pv-page); padding-bottom: 40px; }
.pv-wrap { max-width: 1240px; margin: 0 auto; }
.pv-cols { display: flex; align-items: flex-start; }
.pv-main { flex: 1 1 auto; min-width: 0; padding: 30px 22px 0; }
.pv-sidebar { flex: 0 0 285px; width: 285px; padding: 30px 20px 0; border-left: 1px solid transparent; }

/* filter bar */
.pv-filters { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 18px; padding: 15px 15px; margin: 0 0 30px; background: repeating-linear-gradient(-45deg, rgba(0, 0, 0, .025) 0 3px, transparent 3px 7px); position: relative; }
.pv-filters__label { color: var(--pv-light); }
.pv-filters details { position: static; }
.pv-filters summary { list-style: none; cursor: pointer; color: var(--pv-orange); }
.pv-filters summary::-webkit-details-marker { display: none; }
.pv-filters summary::after { content: " \25BE"; font-size: 12px; }
.pv-filters details ul { position: absolute; left: 0; right: 0; top: 100%; z-index: 20; margin: 0; padding: 15px 20px; list-style: none; background: #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, .08); display: flex; flex-wrap: wrap; gap: 8px 22px; }
body .pv-filters details ul a, body .pv-filters__all { color: var(--pv-text); }
.pv-filters details ul a:hover { color: var(--pv-orange); }
.pv-filters__all { margin-left: auto; color: var(--pv-text); }
.pv-filters__all::before { content: "\00D7  "; color: var(--pv-orange); }
.pv-list-title { font-size: 22px; line-height: 26px; font-weight: 300; }

/* list items */
.pv-item { display: flex; margin: 0 0 40px; }
.pv-item__img { flex: 0 0 37%; }
.pv-item__img img { display: block; width: 100%; height: auto; }
.pv-item__desc { flex: 1 1 auto; padding: 15px 0 0 20px; }
.pv-item__title { font-size: 22px; line-height: 26px; font-weight: 300; margin: 0 0 15px; }
body .pv-item__title a, body .pv-card__title a, body .pv-latest__desc a, body .pv-author h5 a, body .pv-fixed-nav a, body a.pv-btn, body a.pv-btn:hover { color: #000; }
body .pv-item__title a:hover, body .pv-card__title a:hover, body .pv-latest__desc a:hover { color: var(--pv-orange); }
.pv-item__excerpt { margin: 0 0 15px; }
.pv-hellip { color: var(--pv-text); }
.pv-item__foot { display: flex; justify-content: space-between; align-items: center; line-height: 30px; padding: 0 15px; }
.pv-item__links { border-left: 1px solid var(--pv-line); padding-left: 10px; }
.pv-doc { display: inline-block; width: 9px; height: 11px; border: 1px solid var(--pv-light); border-radius: 1px; margin-right: 5px; vertical-align: -1px; }
.pv-more { color: var(--pv-orange); }

/* "Do you like it?" */
.pv-love { display: flex; align-items: center; gap: 6px; color: var(--pv-light); }
body .pv-love button.pv-love__btn { display: inline-flex; align-items: center; gap: 6px; padding: 0; margin: 0; border: 0; border-radius: 0; background: none; box-shadow: none; color: var(--pv-light); cursor: pointer; font: inherit; line-height: inherit; }
.pv-love__btn svg { width: 15px; height: 15px; fill: none; stroke: var(--pv-orange); stroke-width: 2; }
.pv-love__btn.is-loved svg { fill: var(--pv-orange); }

/* pagination */
.pv-pager { display: flex; justify-content: center; align-items: center; gap: 20px; margin: 10px 0 30px; }
.pv-pager__pages { display: flex; flex-wrap: wrap; justify-content: center; }
.pv-pager .page-numbers { display: inline-block; min-width: 35px; height: 35px; line-height: 35px; margin: 0 1px; text-align: center; border-radius: 5px; color: var(--pv-text); }
.pv-pager .page-numbers.current { background: var(--pv-orange); color: #fff; }
.pv-pager__next a { color: var(--pv-orange); }

/* sidebar widgets */
.pv-widget { padding: 0 0 30px; margin: 0 0 30px; border-bottom: 1px solid var(--pv-line); }
.pv-widget h3 { font-size: 18px; line-height: 22px; font-weight: 700; margin: 0 0 15px; }
.pv-search input, .pv-archives { width: 100%; box-sizing: border-box; padding: 6px 12px; font: 400 15px "Lato", Arial, sans-serif; color: #626262; background: #fff; border: 1px solid #EBEBEB; box-shadow: inset 0 0 2px 2px rgba(0, 0, 0, .02); border-radius: 0; }
.pv-archives { width: 230px; max-width: 100%; }
.pv-widget--cats ul { margin: 0; padding: 5px 10px 5px 30px; background: var(--pv-orange); list-style: square; color: #fff; }
body .pv-widget--cats li a { display: block; padding: 7px 0 7px 3px; color: #fff; }
.pv-widget--cats li a:hover { color: #fff; text-decoration: underline; }
.pv-widget--latest ul { margin: 0; padding: 0; list-style: none; }
.pv-widget--latest li { display: flex; margin: 0 0 10px; }
.pv-latest__desc { flex: 1 1 auto; padding: 5px 10px; background: #fff; border-right: 2px solid var(--pv-orange); }
.pv-latest__desc h6 { font-size: 14px; line-height: 19px; padding: 0 0 3px; margin: 0 0 3px; border-bottom: 1px solid var(--pv-line); }
.pv-latest__date { font-size: 12px; color: var(--pv-light); }
.pv-latest__date::before { content: "\25F7 "; }
.pv-latest__photo { flex: 0 0 80px; }
.pv-latest__photo img { display: block; width: 80px; height: 80px; object-fit: cover; }

/* ---------- single post ---------- */
.pv-postnav { display: flex; justify-content: space-between; align-items: center; padding: 10px 3px; margin: 0 0 25px; background: repeating-linear-gradient(-45deg, rgba(0, 0, 0, .025) 0 3px, transparent 3px 7px); }
.pv-postnav__arrows { display: flex; gap: 3px; }
.pv-postnav__all { color: var(--pv-orange); padding-right: 5px; }
.pv-postnav__all::before { content: "\2317 "; }
.pv-btn { display: inline-block; padding: 16px 20px; font: 400 14px/16.8px "Lato", Arial, sans-serif; color: #000; background: #ECECEC; }
.pv-btn:hover { color: #000; background: #E0E0E0; }
.pv-btn--icon { font-size: 18px; padding: 15px 22px; }
.pv-btn__icon { margin-right: 10px; }
.pv-title { font-size: 35px; line-height: 35px; font-weight: 700; margin: 0 0 60px; }
.pv-photo { margin: 0 0 40px; }
.pv-photo img { display: block; width: 100%; height: auto; }
.pv-photo--cover { border: 1px solid #EAEAEA; background: #fff; text-align: center; }
.pv-photo--cover img { width: auto; max-width: 100%; max-height: 640px; margin: 0 auto; }
.pv-pdf { margin: 0 0 20px; background: #323639; }
.pv-pdf object { display: block; width: 100%; height: 600px; }
.pv-content { margin: 0 0 30px; }
.pv-content img { max-width: 100%; height: auto; }
.pv-content figure { margin: 0 0 15px; }
.pv-content ul, .pv-content ol { margin: 0 0 15px; padding-left: 30px; }
.pv-content blockquote { margin: 0 0 15px; padding: 10px 20px; border-left: 3px solid var(--pv-orange); font-style: italic; }
.pv-content a { color: var(--pv-orange); }
.pv-content .wp-block-file, .pv-content > a[href$=".pdf"] { display: inline-block; }
.pv-content a[href$=".pdf"] { margin-right: 10px; font-size: 13px; }
.pv-content a[href$=".pdf"] + a[href$=".pdf"] { display: inline-block; padding: 6px 14px; border-radius: 20px; background: #32373C; color: #fff; }
.pv-content iframe, .pv-content .wp-block-embed { max-width: 100%; }
.pv-content iframe[src*="youtube"] { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; margin: 0 0 15px; }
.pv-author { display: flex; align-items: center; gap: 20px; padding: 20px 0; margin: 0 0 20px; border-top: 1px solid var(--pv-line); border-bottom: 1px solid var(--pv-line); }
.pv-author__avatar svg { display: block; width: 64px; height: 64px; }
.pv-author__desc { flex: 1 1 auto; padding: 8px 15px; background: rgba(128, 128, 128, .14); }
.pv-author h5 { margin: 0; }
.pv-related { margin: 0 0 20px; }
.pv-related h4 { margin: 0 0 15px; }
.pv-related__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 0 -12px; }
.pv-related .pv-card { position: relative; padding: 0 12px; }
.pv-related .pv-card__img { margin: 0 0 15px 30px; }
.pv-related .pv-date { position: absolute; left: 12px; top: 30px; z-index: 1; padding: 2px 5px; margin: 0; background: #F8F8F8; border-radius: 4px; }
.pv-related .pv-card__title { margin: 19px 0 15px; }
.pv-card__hr { width: 115px; height: 1px; margin: 0 0 15px 30px; border: 0; background: var(--pv-orange); }
.pv-related .pv-btn { margin-left: 30px; }
.pv-closed { padding: 30px 0; margin: 0; border-top: 1px solid var(--pv-line); }

/* fixed arrows to the previous / next post at the screen edges */
.pv-fixed-nav a { position: fixed; bottom: 40px; z-index: 50; display: flex; align-items: center; height: 80px; color: #000; }
.pv-fixed-nav__prev { left: 0; }
.pv-fixed-nav__next { right: 0; flex-direction: row-reverse; }
.pv-fixed-nav__arrow { display: flex; align-items: center; justify-content: center; width: 35px; height: 80px; background: var(--pv-orange); color: #fff; font-size: 26px; }
.pv-fixed-nav__photo { width: 80px; height: 80px; background: #EEE; }
.pv-fixed-nav__photo img { display: block; width: 80px; height: 80px; object-fit: cover; }
.pv-fixed-nav__desc { display: none; width: 180px; padding: 10px 15px; background: #fff; font-size: 13px; line-height: 17px; }
.pv-fixed-nav a:hover .pv-fixed-nav__desc { display: block; }
.pv-fixed-nav__title { display: block; color: #000; }
.pv-fixed-nav__date { color: var(--pv-light); font-size: 12px; }

/* ---------- home (Elementor page + [pv_posts]) ---------- */
.pv-sechead .elementor-heading-title { position: relative; padding-top: 49px; font-size: 30px; line-height: 32px; font-weight: 700; color: #000; }
.pv-sechead .elementor-heading-title::before { content: ""; position: absolute; left: 0; right: 0; top: 1px; height: 1px; background: #D6D6D6; }
.pv-sechead .elementor-heading-title::after { content: ""; position: absolute; left: 0; top: 0; width: 60px; height: 3px; background: var(--pv-orange); }
.pv-slider { margin: 20px 0 0; }
.pv-slider__track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.pv-slider .pv-card { padding: 0 10px; min-width: 0; }
.pv-slider[data-count="2"] .pv-slider__track { grid-template-columns: repeat(2, 1fr); }
.pv-slider[data-count="3"] .pv-slider__track { grid-template-columns: repeat(3, 1fr); }
.pv-card__img img { display: block; width: 100%; height: auto; }
@media (min-width: 768px) {
	.pv-card__img img { aspect-ratio: 1200 / 630; object-fit: cover; }
	.pv-card--mag .pv-card__img img { object-fit: contain; background: #fff; }
}
.pv-date { margin: 19px 0 0; font-size: 12px; line-height: 18px; color: var(--pv-light); }
.pv-card__title { font-size: 22px; line-height: 26px; font-weight: 300; margin: 0 0 15px; }
.pv-dots { display: none; }
.pv-partners img { display: block; width: 100%; height: 116px; object-fit: contain; object-position: left center; }

/* ---------- pages ---------- */
.pv-hero { text-align: center; }
.pv-under { display: block; width: 195px; height: 7px; margin: 0 auto; background: var(--pv-orange); border-radius: 4px; }
.pv-tariff table { width: 100%; border-collapse: collapse; margin: 0 0 15px; border-radius: 5px; }
.pv-tariff th, .pv-tariff td { padding: 10px; border: 1px solid var(--pv-line); text-align: center; box-shadow: inset 0 4px 3px -2px rgba(0, 0, 0, .04); }
.pv-tariff th { background: #F9F9F9; color: #444; font-weight: 700; }
.pv-tariff tbody th { background: transparent; color: #444; font-weight: 700; }
.pv-btn-red .elementor-button { background: #D30000 !important; }
.pv-prose h1 { font-size: 35px; line-height: 35px; } .pv-prose h2 { font-size: 30px; line-height: 32px; }
.pv-prose ul { padding-left: 30px; margin: 0 0 15px; }
.pv-form-light .fform-card { background: #fff; }

/* ---------- footer (Elementor "Site Footer") ---------- */
.fakt-site-footer { background: #fff; }
.pv-foot { color: #A3A29D; }
.pv-foot p { color: #A3A29D; margin: 0 0 15px; }
.pv-foot h4, .pv-foot .elementor-heading-title { font: 300 22px/26px "Raleway", Arial, sans-serif; color: #3D3C3C; margin: 0 0 15px; }
.pv-foot h6 { font: 400 14px/19px "Raleway", Arial, sans-serif; color: #3D3C3C; }
body .pv-foot a { color: #333; }
.pv-foot a:hover { color: var(--pv-orange); }
.pv-foot .pv-menu { margin: 0; padding: 5px 10px 5px 30px; list-style: square; background: rgba(0, 0, 0, .03); color: #000; }
body .pv-foot .pv-menu a { display: block; padding: 8px 0 9px 3px; color: #333; }
.pv-foot .pv-plain { margin: 0 0 30px; padding: 0; list-style: none; }
.pv-foot .pv-plain li { color: #A3A29D; }
.pv-copy { color: #A3A29D; text-align: center; }
/* old footer: every block 30px apart, the first 30px below the column top (Betheme widget margins) */
.pv-foot .elementor-column > .elementor-widget-wrap { padding-top: 30px !important; align-content: flex-start; }
.pv-foot .elementor-column:first-child .elementor-widget:not(:last-child) { margin-bottom: 30px !important; }
.pv-foot .elementor-column:first-child p { margin: 0; }
.pv-foot .elementor-column:first-child .elementor-widget-social-icons { margin: 0 0 30px !important; }
.pv-foot .elementor-column:last-child .elementor-widget-heading { margin-bottom: 30px !important; }
.pv-foot .elementor-column:last-child .elementor-widget-heading .elementor-heading-title { margin: 0; }
.pv-foot .elementor-column:last-child h6, .pv-foot .elementor-column:last-child .elementor-widget-text-editor h6:first-child { margin: 0 0 30px; }

/* ---------- tablets ---------- */
@media (max-width: 1239px) {
	.pv-sidebar { flex-basis: 260px; width: 260px; }
}
@media (max-width: 959px) {
	.pv-fixed-nav { display: none; }
	.pv-slider__track { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- phones (old site: 13px text, 18px section headings) ---------- */
@media (max-width: 767px) {
	body { font-size: 13px; line-height: 19px; }
	h1, .pv-title { font-size: 27px; line-height: 27px; }
	h2, h3 { font-size: 18px; line-height: 19px; }
	h4, .pv-item__title, .pv-card__title, .pv-related h4, .pv-list-title { font-size: 13px; line-height: 19px; }
	.pv-sechead .elementor-heading-title { font-size: 18px; line-height: 19px; padding-top: 49px; }
	.fakt-site-header { min-height: 80px; }
	.pv-nav { min-height: 80px; }
	.pv-nav > .elementor-container { position: relative; }
	.pv-nav .pv-logo-col { width: 100% !important; }
	.pv-nav .pv-menu-col { position: absolute; right: 10px; top: 23px; width: auto !important; }
	.pv-cols { flex-direction: column; }
	.pv-main { padding: 30px 10px 0; width: 100%; box-sizing: border-box; }
	.pv-sidebar { width: 100%; flex-basis: auto; box-sizing: border-box; padding: 30px 10px 0; }
	.pv-item { display: block; }
	.pv-item__desc { padding: 15px 0 0; }
	.pv-filters { gap: 4px 14px; }
	.pv-filters__label { display: none; }
	.pv-related__grid { grid-template-columns: 1fr; }
	.pv-photo { margin-bottom: 25px; }
	.pv-pdf object { height: 420px; }
	.pv-foot h4, .pv-foot .elementor-heading-title { font-size: 13px; line-height: 19px; }
	.pv-foot h6 { font-size: 13px; }
	.pv-foot .elementor-column > .elementor-widget-wrap { padding-left: 22px !important; padding-right: 22px !important; }
	.pv-copy .elementor-heading-title { font-size: 13px !important; line-height: 19px !important; }
	/* home sliders: one card at a time, swipe, dots below */
	.pv-slider__track, .pv-slider[data-count] .pv-slider__track { display: flex; gap: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
	.pv-slider__track::-webkit-scrollbar { display: none; }
	.pv-slider__track .pv-card { flex: 0 0 100%; scroll-snap-align: start; box-sizing: border-box; padding: 0 10px; }
	.pv-dots { display: flex; justify-content: center; gap: 0; margin: 15px 0 0; padding: 0; list-style: none; }
	.pv-dots li { width: 30px; height: 8px; display: flex; justify-content: center; }
	.pv-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: #D8D8D8; font-size: 0; cursor: pointer; }
	.pv-dots li.is-active button { width: 10px; height: 10px; margin-top: -1px; border-radius: 2px 2px 0 0; background: var(--pv-orange); clip-path: polygon(50% 0, 100% 40%, 100% 100%, 0 100%, 0 40%); }
}
