/* Perlingo shared palette. Structural properties remain in the original layouts. */
body.perlingo-refined {
 --perlingo-ink: #185D7E;
 --perlingo-text: #1B252F;
 --perlingo-blue: #185D7E;
 --perlingo-surface: #FFFFFF;
 --perlingo-tint: #F2F7FA;
 --tutor-color-primary: #185D7E;
 --tutor-color-primary-rgb: 24, 93, 126;
 --tutor-color-primary-hover: #124761;
 --pl-color-primary: #185D7E;
 --pl-color-text: #1B252F;
 --pl-color-surface: #FFFFFF;
 --pl-color-border: #CBDDE6;
 --pl-color-border-subtle: #E2E8F0;
 background-color: #FFFFFF;
 color: #1B252F;
}
body.perlingo-refined .elementor[data-elementor-type="wp-page"] {
 --e-global-color-primary: #185D7E;
 --e-global-color-secondary: #1B252F;
 --e-global-color-accent: #185D7E;
}
body.perlingo-refined .elementor[data-elementor-type="wp-page"] .elementor-heading-title,
body.perlingo-refined .elementor[data-elementor-type="wp-page"] .elementor-icon-box-title,
body.perlingo-refined .elementor[data-elementor-type="wp-page"] .elementor-cta__title,
body.perlingo-refined .elementor[data-elementor-type="wp-page"] .elementor-price-table__heading { color: #185D7E !important; line-height: 1.2 !important; overflow-wrap: anywhere; }

body.perlingo-refined .elementor[data-elementor-type="wp-page"] .elementor-widget-text-editor,
body.perlingo-refined .elementor[data-elementor-type="wp-page"] .elementor-icon-box-description,
body.perlingo-refined .elementor[data-elementor-type="wp-page"] .elementor-cta__description,
body.perlingo-refined .elementor[data-elementor-type="wp-page"] .elementor-price-table__features-list,
body.perlingo-refined .elementor[data-elementor-type="wp-page"] .elementor-price-table__subheading { color: #1B252F !important; line-height: 1.5 !important; overflow-wrap: anywhere; }

body.perlingo-refined .elementor[data-elementor-type="wp-page"] .elementor-icon-box-title a { color: inherit !important; }

body.perlingo-refined .elementor[data-elementor-type="wp-page"] .elementor-view-default .elementor-icon { color: #185D7E !important; fill: #185D7E !important; }

body.perlingo-refined .elementor[data-elementor-type="wp-page"] .elementor-view-stacked .elementor-icon { background-color: #185D7E !important; color: #FFFFFF !important; fill: #FFFFFF !important; padding: 16px !important; border-radius: 6px !important; }

body.perlingo-refined .elementor[data-elementor-type="wp-page"] .elementor-icon svg { fill: currentColor; }

body.perlingo-refined .elementor[data-elementor-type="wp-page"] .elementor-price-table__header { background-color: #8EBBD1 !important; }

body.perlingo-refined .elementor[data-elementor-type="wp-page"] .elementor-price-table__price { color: #185D7E !important; line-height: 1.15 !important; }

body.perlingo-refined .elementor[data-elementor-type="wp-page"] .elementor-price-table__original-price { color: #1B252F !important; line-height: 1.4 !important; }

body.perlingo-refined .elementor[data-elementor-type="wp-page"] .elementor-price-table__ribbon-inner { background-color: #185D7E !important; color: #FFFFFF !important; }

body.perlingo-refined .elementor[data-elementor-type="wp-page"] .elementor-cta__content { background-color: #FFFFFF !important; }

body.perlingo-refined .elementor[data-elementor-type="wp-page"] .elementor-button,
body.perlingo-refined .elementor[data-elementor-type="wp-page"] .elementor-cta__button { background-color: #185D7E !important; color: #FFFFFF !important; fill: #FFFFFF !important; border: 1px solid #185D7E !important; border-radius: 6px !important; padding: 14px 24px !important; font-family: "Open Sauce One", Arial, sans-serif !important; font-size: 18px !important; font-weight: 600 !important; line-height: 1.35 !important; text-transform: none !important; max-width: 100%; white-space: normal; overflow-wrap: anywhere; box-sizing: border-box; }

body.perlingo-refined .elementor[data-elementor-type="wp-page"] .elementor-button:hover,
body.perlingo-refined .elementor[data-elementor-type="wp-page"] .elementor-cta__button:hover { background-color: #185D7E !important; border-color: #185D7E !important; color: #FFFFFF !important; transform: none !important; animation: none !important; }

body.perlingo-refined .elementor[data-elementor-type="wp-page"] .elementor-button:focus-visible,
body.perlingo-refined .elementor[data-elementor-type="wp-page"] .elementor-cta__button:focus-visible { outline: 3px solid #185D7E; outline-offset: 4px; }


body.perlingo-refined .elementor[data-elementor-type="wp-page"] .elementor-element.elementor-invisible { visibility: visible !important; }
body.perlingo-refined .elementor[data-elementor-type="wp-page"] .elementor-element.animated { animation: none !important; }
body.perlingo-refined .elementor-widget-blockquote .elementor-blockquote__content,
body.perlingo-refined .elementor-widget-blockquote .elementor-blockquote__author { color: #1B252F !important; line-height: 1.5 !important; }
body.perlingo-refined .elementor-widget-n-tabs { --n-tabs-title-color: #185D7E; --n-tabs-title-color-active: #FFFFFF; --n-tabs-title-color-hover: #185D7E; }
body.perlingo-refined .e-n-tabs-heading > .e-n-tab-title { background: #F2F7FA !important; color: #185D7E !important; line-height: 1.35; }
body.perlingo-refined .e-n-tabs-heading > .e-n-tab-title[aria-selected="true"] { background: #185D7E !important; color: #FFFFFF !important; }
body.perlingo-refined .e-n-tabs-heading > .e-n-tab-title .e-n-tab-title-text { color: inherit !important; overflow-wrap: anywhere; }
body.perlingo-refined .e-n-accordion-item > .e-n-accordion-item-title { background: #F2F7FA !important; color: #185D7E !important; }
body.perlingo-refined .e-n-accordion-item[open] > .e-n-accordion-item-title { background: #185D7E !important; color: #FFFFFF !important; }
body.perlingo-refined .e-n-accordion-item-title .e-n-accordion-item-title-text,
body.perlingo-refined .e-n-accordion-item-title .e-n-accordion-item-title-icon { color: inherit !important; fill: currentColor !important; line-height: 1.35; }
body.perlingo-refined .elementor-icon-list-text { color: #1B252F; line-height: 1.5; }
body.perlingo-refined .elementor-icon-list-icon { color: #185D7E; }
body.perlingo-refined .elementor-slide-heading { line-height: 1.2 !important; overflow-wrap: anywhere; }
body.perlingo-refined .elementor-slide-description { line-height: 1.5 !important; }
body.perlingo-refined .site-main > .page-header .entry-title,
body.perlingo-refined .page-content > :is(h1,h2,h3,h4),
body.perlingo-refined .woocommerce :is(h1,h2,h3),
body.perlingo-refined .tutor-course-name { color: #185D7E; line-height: 1.25; overflow-wrap: anywhere; }
body.perlingo-refined .site-main > .page-header .entry-title { font-size: clamp(28px, 3.5vw, 44px); }
body.perlingo-refined .page-content > p { font-size: 16px; line-height: 1.6; color: #1B252F; }
body.perlingo-refined .site-main a:not([class]) { color: #185D7E; }
/* Store and membership controls: keep their state, actions and layout intact. */
body.perlingo-refined :is(.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .wc-block-components-button, .edd-submit.button, .rcp-button, #rcp_submit, .tutor-btn-primary, .wp-block-button__link) {
 background-color: #185D7E !important; color: #FFFFFF !important; border-color: #185D7E !important;
 border-radius: 6px; font-size: 16px; font-weight: 600; line-height: 1.35;
}
body.perlingo-refined :is(.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .edd-submit.button, .rcp-button, #rcp_submit, .tutor-btn-primary):hover {
 background-color: #185D7E !important; border-color: #185D7E !important; color: #FFFFFF !important;
}
body.perlingo-refined .tutor-btn-outline-primary { color: #185D7E; border-color: #185D7E; }
body.perlingo-refined :is(.woocommerce, .rcp_form, .edd_form) :is(input[type="text"],input[type="email"],input[type="password"],textarea,select) { color: #1B252F; border-color: #CBDDE6; background-color: #FFFFFF; border-radius: 6px; font-size: 16px; }
body.perlingo-refined .elementor-field-group .elementor-field-textual { color: #1B252F; background-color: #FFFFFF; border-color: #CBDDE6; font-size: 16px; }
body.perlingo-refined .elementor-field-label { color: #1B252F; }
body.perlingo-refined .woocommerce-MyAccount-navigation a { color: #185D7E; }
body.perlingo-refined .woocommerce-MyAccount-navigation .is-active a { color: #185D7E; font-weight: 600; }
body.perlingo-refined .woocommerce ul.products li.product .woocommerce-loop-product__title { color: #185D7E; font-size: 20px; line-height: 1.3; }
body.perlingo-refined .woocommerce ul.products li.product .price { color: #185D7E; font-size: 18px; }
/* The handcrafted page uses its existing markup and grids. */
body.perlingo-refined .pk-page { --ink: #185D7E; --muted: #1B252F; --orange: #185D7E; font-size: 16px; line-height: 1.6; }
body.perlingo-refined .pk-page h1 { font-size: clamp(40px, 4.8vw, 72px); line-height: 1.15; }
body.perlingo-refined .pk-page h1 span { font-size: clamp(25px, 2.6vw, 35px); }
body.perlingo-refined .pk-page h2 { font-size: clamp(24px, 2.7vw, 34px); }
body.perlingo-refined .pk-page h3 { font-size: 18px; }
body.perlingo-refined .pk-page .pk-lead { font-size: 16px; }
body.perlingo-refined .pk-page :is(.pk-eyebrow,.pk-number,.pk-quote,figcaption) { color: #185D7E; }
body.perlingo-refined .pk-page :is(.pk-card,.pk-finale,.pk-checklist article>span) { background: #F2F7FA; border-color: #CBDDE6; }
body.perlingo-refined .pk-page :is(.pk-home,.pk-quote,.pk-signals article) { border-color: #CBDDE6; }
body.perlingo-refined .pk-page .pk-quote { font-size: 20px; }
body.perlingo-refined .pk-page :is(.pk-card p,.pk-signals p,.pk-checklist p,.pk-finale p) { font-size: 16px; line-height: 1.6; }
body.perlingo-refined .pk-page a.pk-button { background: #185D7E; color: #FFFFFF; font-size: 16px; padding: 12px 20px; border-radius: 6px; }
body.perlingo-refined .pk-page a.pk-button:hover { background: #185D7E; transform: none; }
body.perlingo-refined .pk-finale a { color: #185D7E; }
/* Course navigation colors; learning material and answer feedback retain their meaning. */
body.perlingo-refined .plcs-app :is(.sidebar,.plcs-modal__price) { background-color: #F2F7FA; color: #185D7E; }
body.perlingo-refined .plcs-app :is(.sidebar-item h3,.plcs-modal__title) { color: #185D7E; }
body.perlingo-refined .plcs-app :is(.plcs-modal__btn--primary,.btn-continue,.lv-daily-btn--primary) { background-color: #185D7E; color: #FFFFFF; }
body.perlingo-refined .plcs-app .plcs-modal__btn--secondary { background-color: #F2F7FA; color: #185D7E; }
@media(max-width:767px) {
 body.perlingo-refined .elementor[data-elementor-type="wp-page"] :is(.elementor-button,.elementor-cta__button) { font-size: 16px !important; padding: 12px 20px !important; }
}

/* WooCommerce archives put their context class on body rather than a content wrapper. */
body.perlingo-refined .woocommerce-loop-product__title,
body.perlingo-refined .woocommerce-products-header__title,
body.perlingo-refined .tutor-course-name a {
    color: #185D7E !important;
    line-height: 1.3;
}
body.perlingo-refined .woocommerce-loop-product__title { font-size: 20px !important; }
body.perlingo-refined ul.products li.product .price { color: #185D7E; font-size: 18px; }
body.perlingo-refined ul.products li.product a.woocommerce-loop-product__link { color: #185D7E; }
body.perlingo-refined .pk-page :is(h1,h2,h3) { color: #185D7E; }
body.perlingo-refined .pk-page p { color: #1B252F; }
body.perlingo-refined.page-id-242 .elementor-widget-html h1 { color: #185D7E; font-size: 32px; line-height: 1.2; text-shadow: none; }
body.perlingo-refined.page-id-242 .elementor-widget-html p { color: #1B252F; font-size: 16px; line-height: 1.6; text-shadow: none; }
body.perlingo-refined .woocommerce #customer_login h2,
body.perlingo-refined .woocommerce-MyAccount-content :is(h2,h3) {
    color: #185D7E !important;
    font-size: 26px;
    line-height: 1.3;
}
body.perlingo-refined span.onsale { background-color: #185D7E; color: #FFFFFF; }

/* Keep keyboard focus visible on the plain subscription navigation link. */
body.perlingo-refined .elementor .hfe-nav-menu .perle-menu-abo > a.hfe-menu-item:focus-visible {
 outline:3px solid #185D7E; outline-offset:3px;
}
