/* WordPress / Elementor integration styles for the ENTech design. */

/* Elementor containers that hold theme sections: no paddings/gaps, full width. */
.e-con.entech-section,
.elementor .e-con.entech-section {
	--padding-top: 0px; --padding-right: 0px; --padding-bottom: 0px; --padding-left: 0px;
	--gap: 0px; --row-gap: 0px; --column-gap: 0px;
	--width: 100%;
	padding: 0; gap: 0;
}
.elementor-widget[class*="elementor-widget-entech_"] { width: 100%; max-width: 100%; margin-block-end: 0 !important; }

/* Elementor containers redefine --content-width; restore the design variables for theme sections. */
.elementor-widget[class*="elementor-widget-entech_"] {
	--content-width: 1500px;
	--container-offset: 20px;
	--container-width: calc(var(--content-width) + (var(--container-offset) * 2));
}
.elementor-widget[class*="elementor-widget-entech_"] > .elementor-widget-container { margin: 0; padding: 0; }

/* Do not hide content in the Elementor editor (AOS reveal animations). */
.elementor-editor-active [data-aos],
.elementor-editor-preview [data-aos] { opacity: 1 !important; transform: none !important; }

/* Admin bar + fixed header. */
.admin-bar .header--fixed { top: 30px; }
@media screen and (max-width: 782px) { .admin-bar .header--fixed { top: 44px; } }
@media screen and (max-width: 600px) { .admin-bar .header--fixed { top: -2px; } }

/* Form status message. */
.form__message { margin: 16px 0 0; font-size: 15px; line-height: 1.5; }
.form__message--success { color: #173b2b; }
.form__message--error { color: #b3261e; }
.form__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form.is-sending .form__submit { opacity: .6; pointer-events: none; }

/* Generic content (pages without Elementor, posts, archives). */
.entry { padding: var(--section-gap) 0; background: #fff; }
.entry__inner { max-width: 960px; }
.entry-content { color: #3a3a3a; font-size: 17px; line-height: 1.7; }
.entry-content h2, .entry-content h3, .entry-content h4 { color: #173b2b; line-height: 1.25; margin: 1.6em 0 .6em; }
.entry-content h2 { font-size: 32px; }
.entry-content h3 { font-size: 24px; }
.entry-content a { color: #173b2b; text-decoration: underline; }
.entry-content img { max-width: 100%; height: auto; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content blockquote { margin: 1.5em 0; padding: 1em 1.5em; border-left: 3px solid #173b2b; background: #f4f6f3; }
.entry-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 40px; }
.entry-list__item { padding-bottom: 40px; border-bottom: 1px solid rgba(23, 59, 43, .15); }
.entry-list__title { margin: 0 0 8px; font-size: 28px; line-height: 1.25; }
.entry-list__title a { color: #173b2b; }
.entry-list__meta { margin: 0 0 16px; color: #6b6b6b; font-size: 14px; }
.entry-pagination { margin-top: 40px; }
.entry-pagination .nav-links { display: flex; gap: 10px; flex-wrap: wrap; }
.entry-pagination .page-numbers { padding: 8px 14px; border: 1px solid #173b2b; color: #173b2b; }
.entry-pagination .page-numbers.current { background: #173b2b; color: #fff; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); margin: -1px; }

/* Simple text pages (template "Simple Page"): header + plain content + footer. */
.simple-page { background: #fff; }
.simple-page__bar { height: 121px; background: #173b2b; }
@media (max-width: 1024px) { .simple-page__bar { height: 85px; } }
.simple-page__section { padding: 80px 0 var(--section-gap); }
@media (max-width: 576px) { .simple-page__section { padding-top: 40px; } }
.simple-page__inner { max-width: 900px; }
.simple-page__title { margin: 0 0 12px; }
.simple-page__date { margin: 0 0 40px; font-size: 14px; color: rgba(23, 59, 43, .6); }
.simple-page__content { color: rgba(23, 59, 43, .8); font-size: 16px; line-height: 1.6; }
.simple-page__content > :first-child { margin-top: 0; }
.simple-page__content h2,
.simple-page__content h3 { font-family: "Montserrat", sans-serif; font-weight: 800; color: #173b2b; }
.simple-page__content h2 { font-size: 26px; margin: 40px 0 14px; }
.simple-page__content h3 { font-size: 20px; margin: 28px 0 10px; }
.simple-page__content p,
.simple-page__content ul,
.simple-page__content ol { margin: 0 0 16px; }
.simple-page__content li { margin-bottom: 6px; }
.simple-page__content a { color: #173b2b; text-decoration: underline; }
.simple-page__content a:hover { color: #4e9b3b; }
@media (max-width: 1024px) {
	.simple-page__content { font-size: 14px; }
	.simple-page__content h2 { font-size: 22px; }
	.simple-page__content h3 { font-size: 18px; }
}
