/*!
Theme Name: Blocksy
Theme URI: https://creativethemes.com/blocksy/
Author: CreativeThemes
Author URI: https://creativethemes.com
Description: Blocksy is a fast, modern WordPress theme with advanced WooCommerce support and full compatibility with the block editor.
Version: 2.1.57
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Copyright: (c) 2019 CreativeThemes.
Requires at least: 6.7
Requires PHP: 7.0
Tested up to: 7.1
Text Domain: blocksy
Blocksy Minimum Companion Version: 2.1.36-dev1
Tags: accessibility-ready, blog, block-patterns, e-commerce, wide-blocks, block-styles, grid-layout, one-column, two-columns, three-columns, four-columns, right-sidebar, left-sidebar, translation-ready, custom-colors, custom-logo, custom-menu, featured-images, footer-widgets, full-width-template, theme-options, threaded-comments
*/

/* DermRX · Fichas farmacológicas · sombreado editorial v1 */
body.single-farmaco .entry-content :is(h2,h3){background:#425e95;color:#fff;padding:.7em .9em;border-radius:7px 7px 0 0;margin-bottom:0;line-height:1.35;break-after:avoid}
body.single-farmaco .entry-content :is(h2,h3)+:is(p,ul,ol,.wp-block-group,.wp-block-table){background:#e9edf6;padding:1em 1.2em;border-radius:0 0 7px 7px;margin-top:0}
body.single-farmaco .entry-content :is(h2,h3)[id*="posolog"],body.single-farmaco .entry-content :is(h2,h3)[id*="dosis"],body.single-farmaco .entry-content :is(h2,h3)[id*="pauta"]{background:#98577d}
body.single-farmaco .entry-content :is(h2,h3):is([id*="posolog"],[id*="dosis"],[id*="pauta"])+:is(p,ul,ol,.wp-block-group,.wp-block-table){background:#f2e8ef}
body.single-farmaco .entry-content :is(h2,h3):is([id*="precau"],[id*="contraindic"],[id*="interacc"],[id*="seguridad"]){background:#a9892e}
body.single-farmaco .entry-content :is(h2,h3):is([id*="precau"],[id*="contraindic"],[id*="interacc"],[id*="seguridad"])+:is(p,ul,ol,.wp-block-group,.wp-block-table){background:#f7efd9}
body.single-farmaco .entry-content :is(h2,h3):is([id*="perla"],[id*="consejo"]){background:#39857a}
body.single-farmaco .entry-content :is(h2,h3):is([id*="perla"],[id*="consejo"])+:is(p,ul,ol,.wp-block-group,.wp-block-table){background:#e5f0ec}
@media(max-width:767px){body.single-farmaco .entry-content :is(h2,h3)+:is(p,ul,ol,.wp-block-group,.wp-block-table){padding:.85em}}
@media print{body.single-farmaco .entry-content :is(h2,h3){print-color-adjust:exact;-webkit-print-color-adjust:exact}body.single-farmaco .entry-content :is(h2,h3)+:is(p,ul,ol,.wp-block-group,.wp-block-table){break-inside:avoid}}

/* DermRX · Documentar UX polish 2026-09-03 */
body.page-id-7028 .drx-doc__tasks,
body.page-id-7028 .drx-doc__quick,
body.page-id-7028 .drx-doc__generator {
	scroll-margin-top: 88px !important;
}

body.page-id-7028 .drx-macro-tabs {
	flex-wrap: nowrap !important;
	overflow-x: auto !important;
	overscroll-behavior-inline: contain;
	padding-bottom: 5px !important;
	scrollbar-width: thin;
}

body.page-id-7028 .drx-macro-tabs button {
	flex: 0 0 auto !important;
	white-space: nowrap !important;
}

body.page-id-7028 .drx-macro-list {
	max-height: min(500px, 58vh);
	overflow-y: auto;
	overscroll-behavior: contain;
	scrollbar-gutter: stable;
	padding-right: 6px;
}

@media (min-width: 961px) {
	body.page-id-7028 .drx-doc__output {
		top: 78px !important;
	}
}

@media (max-width: 620px) {
	body.page-id-7028 .drx-macro-list {
		max-height: 55vh;
		padding-right: 4px;
	}

	body.page-id-7028 .drx-doc__notice {
		font-size: 14px;
		line-height: 1.45;
	}
}


