/*
Theme Name: Pe Barba Mea
Description: Temă copil Mag Lite pentru blogul Pe Barba Mea.
Template: mag-lite
Version: 1.2.9
Text Domain: pe-barba-mea-child
License: GNU General Public License v2 or later
*/

@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/instrument-serif-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/instrument-serif-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/instrument-serif-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/instrument-serif-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(fonts/inter-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(fonts/inter-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
	--pbm-ink: #221d1a;
	--pbm-paper: #f8f5ef;
	--pbm-white: #fffdf9;
	--pbm-rule: #dcd4c8;
	--pbm-accent: #843a2b;
	--pbm-muted: #5f5650;
	--pbm-dark: #281e1b;
	--pbm-heading: "Instrument Serif", Georgia, serif;
	--pbm-ui: "Inter", "Segoe UI", sans-serif;
}
body, #page, #content { background: var(--pbm-paper); color: var(--pbm-ink); font-family: var(--pbm-ui); }
#page a:focus-visible, #page button:focus-visible, #page summary:focus-visible, #page input:focus-visible { outline: 2px solid #ba654e; outline-offset: 4px; }
#page a { transition: color .18s ease, background-color .18s ease; }
.pbm-shell { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
.pbm-header { position: relative; z-index: 12; border-bottom: 1px solid var(--pbm-rule); background: var(--pbm-paper); }
.pbm-header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 78px; }
.pbm-brand { flex: none; }
.pbm-brand a { font: 400 clamp(2.1rem, 4vw, 2.8rem)/1 var(--pbm-heading); letter-spacing: -.045em; color: var(--pbm-ink); }
.pbm-brand span { color: var(--pbm-accent); }
.pbm-brand img { max-width: 160px; max-height: 52px; object-fit: contain; }
.pbm-primary { display: flex; align-items: center; flex-wrap: wrap; gap: 6px clamp(12px, 2vw, 29px); }
.pbm-primary a, .pbm-primary summary { color: var(--pbm-ink); font-size: .86rem; font-weight: 600; }
.pbm-primary [aria-current], .pbm-primary a:hover, .pbm-primary summary:hover { color: var(--pbm-accent); }
.pbm-primary [aria-current] { text-decoration: underline; text-underline-offset: 5px; }
.pbm-header details { position: relative; }
.pbm-header summary { cursor: pointer; padding-block: 9px; }
.pbm-more ul {
	position: absolute; z-index: 2; top: calc(100% + 8px); right: 0; min-width: 180px; margin: 0;
	padding: 12px 16px; background: var(--pbm-white); border: 1px solid var(--pbm-rule);
	border-radius: 10px; box-shadow: 0 12px 30px #221d1a1c;
}
.pbm-more ul { list-style: none; }
.pbm-more ul a { display: block; padding-block: 5px; }

.pbm-home { padding: clamp(28px, 4vw, 55px) 0 62px; }
.pbm-intro { margin-bottom: clamp(24px, 4vw, 46px); }
#content .pbm-intro h1 { font: 400 clamp(2.8rem, 7.5vw, 7.1rem)/.98 var(--pbm-heading); letter-spacing: -.045em; text-wrap: balance; color: var(--pbm-ink); text-transform: none; padding: 0; margin: 0; }
.pbm-intro em { color: var(--pbm-accent); }
.pbm-feature { display: grid; background: var(--pbm-dark); color: var(--pbm-white); border-radius: 15px; overflow: hidden; }
.pbm-feature-has-image { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
.pbm-feature-image { display: block; min-height: clamp(280px, 34vw, 430px); position: relative; }
.pbm-feature-image img { position: absolute; width: 100%; height: 100%; object-fit: cover; }
.pbm-feature-copy { align-self: center; padding: clamp(26px, 4vw, 55px); }
.pbm-feature-copy .pbm-kicker { color: #efad96; font: 650 .75rem/1.4 var(--pbm-ui); text-transform: uppercase; letter-spacing: .12em; margin: 0 0 14px; }
#content .pbm-feature-copy h2 { font: 400 clamp(2.1rem, 4vw, 3.65rem)/.99 var(--pbm-heading); letter-spacing: -.025em; text-transform: none; padding: 0; margin: 0 0 15px; }
.pbm-feature h2 a { color: var(--pbm-white); }
.pbm-feature h2 a:hover { color: #efad96; }
.pbm-feature-copy > p { color: #eddfd7; font-size: .96rem; line-height: 1.6; }
.pbm-feature .pbm-read { display: inline-flex; align-items: center; gap: 13px; border-bottom: 1px solid #efad96; padding: 7px 0; color: var(--pbm-white); font-weight: 650; }
.pbm-read span { color: #efad96; }

.pbm-latest { margin-top: clamp(36px, 6vw, 76px); }
.pbm-section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding-bottom: 13px; border-bottom: 1px solid var(--pbm-ink); margin-bottom: 22px; }
#content .pbm-section-head h2 { font: 400 clamp(2rem, 4vw, 3.2rem)/1 var(--pbm-heading); letter-spacing: -.03em; text-transform: none; padding: 0; margin: 0; }
.pbm-section-head > a { color: var(--pbm-accent); font-weight: 650; font-size: .85rem; }
.pbm-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28px 22px; align-items: stretch; }
.pbm-grid .pbm-card { display: flex; flex-direction: column; overflow: hidden; margin: 0; background: var(--pbm-white); border: 1px solid var(--pbm-rule); border-radius: 12px; }
.pbm-card::before, .pbm-card::after { content: none; }
.pbm-card-image { display: block; overflow: hidden; }
.pbm-card-image img { display: block; width: 100%; aspect-ratio: 16/10; object-fit: cover; transition: transform .24s ease; }
.pbm-card-image:hover img { transform: scale(1.035); }
.pbm-card-copy { padding: clamp(16px, 2vw, 24px); }
.pbm-meta { display: flex; justify-content: space-between; gap: 6px 12px; flex-wrap: wrap; color: var(--pbm-muted); font-size: .73rem; margin-bottom: 9px; }
.pbm-meta a { color: var(--pbm-accent); font-weight: 650; }
#content .pbm-card h3 { font: 400 clamp(1.6rem, 2.4vw, 2.13rem)/1.03 var(--pbm-heading); letter-spacing: -.023em; text-transform: none; padding: 0; margin: 0 0 9px; overflow-wrap: anywhere; }
.pbm-card h3 a { color: var(--pbm-ink); }
.pbm-card h3 a:hover { color: var(--pbm-accent); }
.pbm-card-copy p { color: var(--pbm-muted); font-size: .88rem; line-height: 1.55; margin: 0; }
.pbm-latest .pagination { margin-top: 28px; }
.pbm-latest .pagination .nav-links { display: flex; flex-wrap: wrap; gap: 7px; }
.pbm-latest .pagination .page-numbers { min-width: 42px; padding: 7px 10px; color: var(--pbm-ink); border: 1px solid var(--pbm-rule); }
.pbm-latest .pagination .current, .pbm-latest .pagination a:hover { background: var(--pbm-ink); color: var(--pbm-white); }

#content .entry-title, #content .page-title { font-family: var(--pbm-heading); font-weight: 400; color: var(--pbm-ink); text-transform: none; }
#content .entry-title a { color: var(--pbm-ink); }
.single #main .entry-title { font-size: clamp(2.4rem, 5vw, 4.55rem); line-height: 1.02; letter-spacing: -.032em; }
.single #main .entry-content { font: clamp(1.06rem, 1.6vw, 1.16rem)/1.8 var(--pbm-ui); }
.single #main .entry-content :is(h2,h3,h4) { font-family: var(--pbm-heading); font-weight: 400; line-height: 1.12; text-transform: none; }
.single-post #content .entry-content a { color: #a12626; font-weight: 700; text-decoration: underline; text-underline-offset: .14em; }
.single-post #content .entry-content a:hover { color: #781919; }
#secondary .mag-lite-tab-collecion { display: none; }
#colophon { background: var(--pbm-dark); color: var(--pbm-white); }
#colophon a { color: #f0e0d4; }

@media (max-width: 950px) { .pbm-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 760px) {
	.pbm-shell { width: calc(100% - 36px); }
	.pbm-header-row { flex-wrap: wrap; min-height: 0; padding-top: 12px; gap: 6px 12px; }
	.pbm-primary { flex-basis: 100%; order: 3; border-top: 1px solid var(--pbm-rule); gap: 3px 17px; padding-block: 5px; }
	.pbm-more ul { right: auto; left: 0; }
	.pbm-intro { display: block; }
	.pbm-feature-has-image { grid-template-columns: minmax(0,1fr); }
	.pbm-feature-image { min-height: 0; aspect-ratio: 16/10; }
}
@media (max-width: 560px) {
	.pbm-grid { grid-template-columns: minmax(0,1fr); gap: 17px; }
	.pbm-primary a, .pbm-primary summary { font-size: .79rem; }
	.pbm-more ul { left: auto; right: 0; }
}
@media (prefers-reduced-motion: reduce) { #page a, .pbm-card-image img { transition: none; } }


.pbm-header-row { justify-content: flex-start; }
.pbm-primary { margin-inline-start: auto; }
.pbm-more ul { max-height: min(60vh, 420px); overflow-y: auto; }
.pbm-home-columns { display: grid; grid-template-columns: minmax(0,1fr) minmax(215px,265px); gap: clamp(22px,4vw,52px); align-items: start; margin-top: clamp(36px,6vw,76px); }
.pbm-home-columns .pbm-latest { margin-top: 0; min-width: 0; }
.pbm-home-columns .pbm-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.pbm-sidebar { display: grid; gap: 18px; }
.pbm-sidebar-block { background: var(--pbm-white); border: 1px solid var(--pbm-rule); border-radius: 12px; padding: 18px; min-width: 0; }
#content .pbm-sidebar-block h2 { color: var(--pbm-ink); text-transform: none; font: 400 1.85rem/1.04 var(--pbm-heading); padding: 0; margin: 0 0 13px; }
.pbm-sidebar-block form { display: flex; gap: 6px; margin: 0; }
.pbm-sidebar-block input[type=search] { min-width: 0; width: 100%; margin: 0; border-color: var(--pbm-rule); }
.pbm-sidebar-block button { margin: 0; padding: 7px 10px; color: white; background: var(--pbm-accent); border-color: var(--pbm-accent); }
.pbm-sidebar-block ul { list-style: none; margin: 0; padding: 0; }
.pbm-sidebar-block li { border-top: 1px solid var(--pbm-rule); padding-block: 9px; line-height: 1.4; }
.pbm-sidebar-block li a { color: var(--pbm-ink); font-size: .87rem; font-weight: 650; }
.pbm-sidebar-block li a:hover { color: var(--pbm-accent); }
.pbm-sidebar-block .post-date { display: block; color: var(--pbm-muted); font-size: .73rem; margin-top: 3px; }
.pbm-footer-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px 28px; padding-block: 27px; }
.pbm-footer-brand { font: 400 2.1rem/1 var(--pbm-heading); }
.pbm-footer nav { display: flex; flex-wrap: wrap; gap: 9px 20px; }
.pbm-footer nav a { font-size: .86rem; text-underline-offset: 4px; }
.pbm-footer nav a:hover { text-decoration: underline; }
.pbm-footer small { color: #e5cec1; }
@media (max-width: 850px) { .pbm-home-columns { grid-template-columns: minmax(0,1fr); } }
@media (max-width: 760px) { .pbm-primary { margin-inline-start: 0; } }
@media (max-width: 560px) { .pbm-home-columns .pbm-grid { grid-template-columns: minmax(0,1fr); } }




.pbm-conversation li { padding-block: 13px; }
.pbm-conversation li:last-child { padding-bottom: 0; }
.pbm-conversation strong { font-size: .85rem; }
.pbm-conversation time { display: block; color: var(--pbm-muted); font-size: .7rem; margin-top: 3px; }
.pbm-conversation p { color: var(--pbm-muted); font-size: .84rem; line-height: 1.5; margin: 6px 0; }
.pbm-conversation li a { color: var(--pbm-accent); font-size: .75rem; }

.pbm-sidebar .pbm-tag-list { background: transparent; border: 0; border-radius: 0; padding: 6px 2px 0; }
#content .pbm-tag-list h2 { margin-bottom: 12px; }
.pbm-tag-list li { padding: 0; }
.pbm-tag-list li a { display: block; padding: 9px 22px 9px 0; position: relative; font-weight: 500; overflow-wrap: anywhere; }
.pbm-tag-list li a::after { content: "↗"; position: absolute; right: 2px; color: var(--pbm-accent); }
.pbm-tag-list details { border-top: 1px solid var(--pbm-rule); }
.pbm-tag-list summary { cursor: pointer; color: var(--pbm-accent); padding: 10px 0; font-size: .82rem; font-weight: 650; }


#content .pbm-category-banner { display: grid; gap: 9px; padding: 20px; border-radius: 12px; background: var(--pbm-dark); color: var(--pbm-white); text-decoration: none; }
#content .pbm-category-banner:hover { background: #47352e; }
#content .pbm-category-intimitate { background: #733d33; }
#content .pbm-category-intimitate:hover { background: #824a3f; }
#content .pbm-category-relatii { background: #39443a; }
#content .pbm-category-relatii:hover { background: #485549; }
#content .pbm-category-intalniri { background: #343d4a; }
#content .pbm-category-intalniri:hover { background: #424c5a; }
.pbm-category-banner strong { font: 400 2rem/1 var(--pbm-heading); }
.pbm-category-banner > span { font-size: .85rem; line-height: 1.45; }
.pbm-category-banner .pbm-category-action { font-weight: 650; margin-top: 6px; text-decoration: underline; text-underline-offset: 4px; }




.pbm-brand .pbm-brand-lockup { display: inline-flex; align-items: center; gap: .17em; white-space: nowrap; }
.pbm-brand .pbm-brand-name { color: inherit; }
.pbm-brand-lockup img { display: block; width: clamp(34px, 4vw, 48px); height: auto; flex: none; }

