/*
 * CRELALA – WordPress/WooCommerce adaptations on top of base.css.
 * Only what the original stylesheets cannot know about (WordPress markup, admin bar, WooCommerce pages).
 * Colours/fonts are the original values: text #ebebeb, links #ffd700, boxes #323232/#555555, buttons #e30613.
 */

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important;
}

/* fixed navigation below the WordPress admin bar */
body.admin-bar.flexrfixed #navcontainer { top: 32px; }
@media (max-width: 782px) { body.admin-bar.flexrfixed #navcontainer { top: 46px; } }

/* content from WordPress (fallback rendering of post content only – never the original fragments,
   whose images are sized by the legacy layer) */
.crelala-content img { max-width: 100%; height: auto; }
.crelala-content ul, .crelala-content ol { line-height: 1.6; }
.crelala-portrait { float: right; width: 30%; margin: 0 0 20px 30px; }
.crelala-portrait img { display: block; width: 100%; height: auto; }
@media (max-width: 767px) { .crelala-portrait { float: none; width: 100%; margin: 0 0 20px 0; } }

/* media library images are uncropped – the original served pre-cropped files into fixed boxes (4:3 tiles,
   cascade figures, picture/text list); object-fit:cover reproduces the same visible crop */
.ngpluginshopteasertiles img,
.ngteasercascade figure > img,
.ngpluginshopteaserpicturetextpicturecontainer img { object-fit: cover; }
.teaserpicturecaption img { width: 100%; height: auto; display: block; }

/* WooCommerce notices (add to cart etc.) in the original colours */
.crelala-notices:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error,
.wc-block-components-notice-banner {
	list-style: none; margin: 10px 0 20px; padding: 15px 20px;
	background: #323232; color: #ebebeb; border-left: 4px solid #e30613; font-size: 16px;
}
.woocommerce-message a, .woocommerce-info a, .woocommerce-error a { color: #ffd700; text-decoration: none; }
.woocommerce-message .button, .woocommerce-info .button { float: right; margin-left: 20px; }

/* WooCommerce pages (cart, checkout, account): dark original look, buttons like the original shop buttons */
.woocommerce, .wc-block-cart, .wc-block-checkout, .wp-block-woocommerce-cart, .wp-block-woocommerce-checkout { color: #ebebeb; }
.woocommerce a, .wp-block-woocommerce-cart a, .wp-block-woocommerce-checkout a { color: #ffd700; text-decoration: none; }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.wc-block-components-button:not(.is-link), .wp-element-button {
	border: 0; border-radius: 0; padding: 10px 20px; background: #e30613; color: #ffffff !important;
	font: 13px Lato, Verdana, Helvetica, sans-serif; letter-spacing: 0; text-transform: uppercase;
	cursor: pointer; text-decoration: none; -webkit-appearance: none;
}
.woocommerce table.shop_table { width: 100%; border-collapse: collapse; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { padding: 10px; border-bottom: 1px solid #555555; text-align: left; }
.woocommerce input.input-text, .woocommerce select, .woocommerce textarea,
.wc-block-components-text-input input, .wc-block-components-combobox input {
	background: #ffffff; color: #323232; border: 1px solid #d3d3d3; border-radius: 0; padding: 8px 12px;
	font: 16px Lato, Verdana, Helvetica, sans-serif;
}
.wc-block-components-totals-wrapper, .wc-block-components-panel { border-color: #555555 !important; }
.wc-block-components-product-name { color: #ffd700 !important; }

/* search results / archive title lists */
#content .paragraph h3 a { color: #ebebeb; text-decoration: none; }
#content .paragraph h3 a:hover { color: #ffd700; }
.nav-links { margin: 20px 0; }
.nav-links a, .nav-links span { margin-right: 10px; }

/* flow slider: arrows and direct navigation only while hovering (the original shows a clean banner) */
.ngparaflowsliderstage .ngparaflowsliderprev,
.ngparaflowsliderstage .ngparaflowslidernext,
.ngparaflowsliderstage .ngparaflowsliderdirect { opacity: 0; transition: opacity 0.5s; }
.ngparaflowsliderstage:hover .ngparaflowsliderprev,
.ngparaflowsliderstage:hover .ngparaflowslidernext,
.ngparaflowsliderstage:hover .ngparaflowsliderdirect { opacity: 0.5; }
.ngparaflowsliderstage:hover .ngparaflowsliderprev:hover,
.ngparaflowsliderstage:hover .ngparaflowslidernext:hover { opacity: 1; }

/* 0.2.43 (Block E5): arrow images of the flow slider – before in the page CSS of every original page with one (home + 46 Orte
   posts, identical rules, same selectors); the page CSS of migrated pages is no longer printed */
.ngparaflowsliderstage .ngparaflowsliderprev { background-image: url(../legacy/files/ngpluginparagraph/ngpluginparagraphflowslider/styles/img/_f_default_prev_ca_000000_cb_ffffff.svg); }
.ngparaflowsliderstage .ngparaflowslidernext { background-image: url(../legacy/files/ngpluginparagraph/ngpluginparagraphflowslider/styles/img/_f_default_next_ca_000000_cb_ffffff.svg); }

/* 0.2.49 (Block E7): tile cascade „Unsere Produktkategorien“ of /kunst/ (pattern crelala/kunst-kategorien) – before the page CSS
   of its original view (crelala_views_special), same selectors */
#ngteasercascadew7e46160b2f3ba691624320173585856>ul>li>ul>li>ul>li { background-color:#111111 }
#ngteasercascadew7e46160b2f3ba691624320173585856>ul>li>ul>li>ul>li>a, #ngteasercascadew7e46160b2f3ba691624320173585856>ul>li>ul>li>ul>li>a>div>h3 { color:#ebebeb }
#ngteasercascadew7e46160b2f3ba691624320173585856 { padding:20px 10px 0 10px }
#ngteasercascadew7e46160b2f3ba691624320173585856>ul>li>ul>li>ul { padding:0 10px }
#ngteasercascadew7e46160b2f3ba691624320173585856>ul>li>ul>li>ul>li { margin:0 0 20px 0 }
#ngteasercascadew7e46160b2f3ba691624320173585856>ul>li>ul>li>ul>li>a>div { padding:20px; }
