/* Psiholog Monica Boștinaru – stiluri suplimentare */

/* Antet */
.pm-topbar p { margin: 0; }
.pm-topbar a { color: var(--wp--preset--color--contrast); text-decoration: none; }
.pm-topbar a:hover { color: var(--wp--preset--color--accent); }
.pm-header { position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 0 rgba(35, 52, 58, .08); }
.admin-bar .pm-header { top: 32px; }
.pm-logo { display: block; line-height: 0; }
.pm-logo img { height: 58px; width: auto; }
.pm-header .wp-block-navigation a { color: var(--wp--preset--color--contrast); text-decoration: none; }
.pm-header .wp-block-navigation a:hover,
.pm-header .wp-block-navigation .current-menu-item > a { color: var(--wp--preset--color--accent); }
.pm-header .wp-block-navigation__responsive-container.is-menu-open { padding: 2rem; }
.pm-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { gap: 1.25rem; font-size: 1.1rem; }

/* Spatiu zero intre antet, continut si subsol */
.wp-site-blocks > * + * { margin-block-start: 0; }

.pm-header-cta .wp-block-button__link { white-space: nowrap; }
@media (min-width: 782px) and (max-width: 1100px) {
	body .pm-header-cta { display: none !important; }
}
/* Pe telefon: butonul din antet e inlocuit de o bara fixa jos */
.pm-mobile-cta { display: none; }
@media (max-width: 781px) {
	body .pm-header-cta { display: none !important; }
	.pm-mobile-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: .9rem 1rem calc(.9rem + env(safe-area-inset-bottom)); text-align: center; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; text-decoration: none; background: var(--wp--preset--color--primary-dark); color: var(--wp--preset--color--base) !important; box-shadow: 0 -2px 12px rgba(0,0,0,.12); }
	body { padding-bottom: 3.4rem; }
}
@media (max-width: 781px) {
	.pm-topbar > .wp-block-group > p:first-child { display: none; }
	.pm-topbar .wp-block-group { justify-content: center !important; }
	.pm-logo img { height: 46px; }
	.admin-bar .pm-header { top: 46px; }
}
@media (max-width: 600px) {
	.admin-bar .pm-header { top: 0; }
}

/* Hero împărțit (stil "bandă colorată + imagine") */
.pm-split-hero { margin-top: 0 !important; margin-bottom: 0 !important; }
.pm-split-hero__media { min-height: 320px; overflow: hidden; }
.pm-split-hero__media figure { margin: 0 !important; height: 100%; }
.pm-split-hero__media img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; display: block; }
.pm-split-hero h1 { margin-top: 0; }
.pm-split-hero > .wp-block-column:first-child { align-self: stretch !important; display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 781px) {
	.pm-split-hero__media, .pm-split-hero__media img { min-height: 220px; max-height: 260px; }
}

/* Carduri */
.pm-card { height: 100%; box-shadow: 0 2px 14px rgba(35, 52, 58, .07); transition: transform .2s ease, box-shadow .2s ease; overflow: hidden; }
.pm-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(35, 52, 58, .12); }
.pm-card .wp-block-post-title a { text-decoration: none; }
.pm-card .wp-block-post-excerpt__more-link { font-weight: 700; text-decoration: none; }
.pm-service-card { height: 100%; }
.pm-service-card .pm-icon { font-size: 2rem; line-height: 1; margin: 0; }

/* Tabel tarife */
.pm-prices table { border-collapse: collapse; width: 100%; }
.pm-prices td, .pm-prices th { border: 0; border-bottom: 1px solid #dfe9e7; padding: .9rem .75rem; vertical-align: top; }
.pm-prices td:last-child, .pm-prices th:last-child { text-align: right; white-space: nowrap; font-weight: 700; color: var(--wp--preset--color--primary-dark); }
.pm-prices thead th { background: var(--wp--preset--color--primary-soft); text-align: left; }
.pm-prices td[colspan] { background: var(--wp--preset--color--cream); font-weight: 700; color: var(--wp--preset--color--primary-dark); }

/* Subsol */
.pm-footer p { margin-top: .5rem; }
.pm-footer a { text-decoration: none; }
.pm-footer a:hover { text-decoration: underline; }
.pm-footer img { max-width: 250px; height: auto; }

/* Accesibilitate */
a:focus-visible, button:focus-visible { outline: 2px solid var(--wp--preset--color--primary-dark); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
	.pm-card { transition: none; }
	.pm-card:hover { transform: none; }
}

/* Corecturi */
.pm-prices td[colspan] { text-align: left !important; white-space: normal !important; }
.pm-page-content { padding-top: var(--wp--preset--spacing--50); padding-bottom: var(--wp--preset--spacing--60); }

/* Sigla Colegiului Psihologilor in subsol (neschimbata, pe fond alb) */
.pm-cpr { display: inline-block; background: #fff; border-radius: 8px; padding: 6px 10px; line-height: 0; }
.pm-footer .pm-cpr img { width: 133px; max-width: 133px; height: auto; }

/* Formular contact (Contact Form 7) */
.pm-contact-form .wpcf7 p { margin: 0 0 1rem; }
.pm-contact-form .wpcf7 label { display: block; font-weight: 700; }
.pm-contact-form .wpcf7 input[type="text"], .pm-contact-form .wpcf7 input[type="email"], .pm-contact-form .wpcf7 input[type="tel"], .pm-contact-form .wpcf7 textarea { width: 100%; margin-top: .35rem; padding: .7rem .85rem; font: inherit; border: 1px solid #cfc6c0; border-radius: 8px; background: var(--wp--preset--color--base); box-sizing: border-box; }
.pm-contact-form .wpcf7 textarea { min-height: 9rem; }
.pm-contact-form .wpcf7 input:focus, .pm-contact-form .wpcf7 textarea:focus { outline: 2px solid var(--wp--preset--color--primary); outline-offset: 1px; }
.pm-contact-form .wpcf7-acceptance label { font-weight: 400; font-size: .92em; }
.pm-contact-form .wpcf7-submit { cursor: pointer; border: 0; border-radius: 999px; padding: .85rem 1.8rem; font: inherit; font-weight: 800; background: var(--wp--preset--color--primary-dark); color: var(--wp--preset--color--base); }
.pm-contact-form .wpcf7-submit:disabled { opacity: .55; cursor: not-allowed; }

/* Intrebari frecvente (v1.6.0) */
.pm-faq { border: 1px solid #f3d9cb; border-radius: 10px; padding: .9rem 1.1rem; margin-block: .7rem; background: #fff; }
.pm-faq summary { cursor: pointer; font-weight: 700; }
.pm-faq[open] summary { margin-bottom: .5rem; }

/* v1.7.0 – portret, retele sociale, WhatsApp */
.pm-portret img { border-radius: 18px; box-shadow: 0 8px 28px rgba(35, 52, 58, .14); max-width: 360px; width: 100%; height: auto; }
.pm-cpr-despre img { margin-top: 1.2rem; height: auto; }
.pm-social-top { margin: 0 0 0 1rem !important; }
.pm-social-top a { color: var(--wp--preset--color--contrast); }
.pm-social-footer { margin-top: .6rem !important; }
.pm-wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 61; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(0, 0, 0, .22); }
.pm-wa-float:hover, .pm-wa-float:focus { background: #1ebe5a; color: #fff; }
@media (max-width: 781px) { .pm-wa-float { bottom: calc(70px + env(safe-area-inset-bottom)); right: 14px; width: 52px; height: 52px; } }
