/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */
:root {
  --primary-font:"Bebas Neue", Sans-serif;
  --second-font:"DM Sans", Sans-serif;
  --blue-100: #D0DEEE;
  --blue-500: #5283C1;
  --blue-600: #3F71B0;
  --blue-700: #325A8C;
  --blue-800: #27456C;
  --blue-900: #1B314D;
  --teal-100: #C0F0FF;
  --yellow-500: #FFCF03;
  --text-color: #1B314D;
  --green-100: #CFF0D4;
  --green-500: #38B44A;
}
a { color:var(--blue-800); }
.mb-0,
.mb-0 p:last-child { margin-bottom:0; }
.btn {}
.btn-yellow .elementor-button {
  background: var(--e-global-color-secondary);
  fill: var(--e-global-color-e2a1354);
  color: var(--e-global-color-e2a1354);
}
.btn-white .elementor-button {
  background-color: #FFFFFF;
  fill: var(--e-global-color-0699fd2);
  color: var(--e-global-color-0699fd2);
}
.btn-blue .elementor-button {
  background-color: var(--e-global-color-12c3775);;
  fill: #ffffff;
  color: #ffffff;
}
/* Header */
#header-wrapper .mega-sub-menu {
  border-radius: 12px !important;
}
#header-wrapper .mega-sub-menu .mega-block-title {
 padding: 24px 40px !important;
 font-family: "Bebas Neue", Sans-serif !important;
border-radius: 12px 0 0 0 !important;
}
#header-wrapper .mega-sub-menu #mega-menu-item-nav_menu-2 .mega-block-title {
  background-color: var(--blue-600);
}
#header-wrapper .mega-sub-menu #mega-menu-item-nav_menu-3 .mega-block-title {
  background-color: #00B2E9;
}
#header-wrapper .mega-sub-menu #mega-menu-item-nav_menu-4 .mega-block-title {
  background-color: #38B44A;
}
#header-wrapper .mega-menu-item-type-widget nav {
  padding: 20px 40px;
}
#header-wrapper .mega-menu-item-type-widget nav ul {
  padding: 0;
  list-style-type: none;
}
#header-wrapper .mega-menu-item-type-widget nav ul li {
  margin-bottom: 12px;
}
#header-wrapper .mega-menu-row > ul {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr);
  gap: 0px;
  list-style: none;
  padding: 0;
  margin: 0;
}
#header-wrapper .mega-menu-row > ul > li {
  width: 100% !important;
 background: #f3f3f3;
  padding: 20px;
  text-align: center;
  display: flex; 
  align-items: center; 
  justify-content: center;
}
#header-wrapper .cta-nav-wrapper,
#header-wrapper .cta-nav-wrapper .mega-sub-menu,
#header-wrapper .cta-nav-wrapper .mega-menu-item,
#header-wrapper .cta-nav-wrapper .elementor-location-header,
#header-wrapper .cta-nav-wrapper .elementor-element{
  height: 100% !important;
}
#header-wrapper .mega-contact-nav a {
  padding: 10px 24px !important;
  background-color: var(--blue-600) !important;
  color: #fff !important;
  line-height: 1.4 !important;
  border-radius: 4px !important;
  margin-left: 50px !important;
}
#header-wrapper .mega-menu-item-type-widget nav ul.menu  {
  list-style: none;
  padding: 0;
}

#header-wrapper .mega-menu-item-type-widget nav ul.menu li {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#header-wrapper .mega-menu-item-type-widget nav ul.menu li::after {
  content: "›";
  color: var(--blue-500); 
  font-size: 32px;
  line-height: 1;
}
#header-wrapper .mega-menu-item-type-widget nav ul#menu-professional-learning li::after { color: #14C8FF; }
#header-wrapper .mega-menu-item-type-widget nav ul#menu-content-hub li::after { color: #4CC75E; }


/* Homepage */
#home-hero #home-hero-header h1 span{
  color: var(--teal-100);
}
/* Home - Featured Podcast */
.hp-podcast-wrapper {}
.hp-podcast-wrapper .speaker-info {
  display: flex;
  gap: 24px;
  align-items: center;
}
.hp-podcast-wrapper .speaker-info img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 50%;
  border:2px solid #ffffff;
  flex-shrink: 0;
}
.hp-podcast-wrapper .speaker-details {
  flex: 1;
}
.hp-podcast-wrapper .speaker-details p { margin-bottom:0; line-height:1.5em }
.hp-podcast-wrapper .speaker-name { font-size:20px; color:#fff; }
.hp-podcast-wrapper .speaker-title { color:#27456C; font-size:16px; }
.single .hp-podcast-wrapper .speaker-info { gap: 10px; }
.single .hp-podcast-wrapper .speaker-info img {
  width: 60px;
  height: 60px;
}
.single .hp-podcast-wrapper .speaker-name { 
  font-family: var(--primary-font);
  font-size:18px; 
  color:#343434; 
}
.single .hp-podcast-wrapper .speaker-title { 
  font-size:14px; 
  color:#325A8C; 
}
.recent-blog-wrapper .speaker-info img {
  border:0px;
  width: 40px;
  height: 40px;
}
.recent-blog-wrapper .speaker-details .speaker-name {
  font-family: var(--second-font) ;
  font-size: 16px;
  color: #1B1B1B;
}
.recent-blog-wrapper .speaker-details .speaker-title { display:none; }
/* Homepage - WWD */
.cta-awards:hover .cta-awards-header .elementor-heading-title,
.cta-awards:hover .cta-awards-desc,
.cta-awards:hover .cta-awards-desc p {
  color: #ffffff;
}
/* Home - Number Counter */
#hp-counter-number .elementor-counter { gap:12px; }
#hp-counter-number .elementor-counter .elementor-counter-number-wrapper {
  flex: inherit;
}
/* Home - Testimonials */
#hp-testimonials .testimonial_categories-school .review-wrapper {
  border-color: var(--green-500) !important;
}
#hp-testimonials .testimonial_categories-school .elementor-widget-post-info { 
  background:var(--green-500); 
}
#hp-testimonials .elementor-swiper-button-prev {
  left: -50px;
}
#hp-testimonials .elementor-swiper-button-next {
  right: -50px;
}
#hp-testimonials .swiper-pagination-bullet,
#hp-blog-carousel .swiper-pagination-bullet,
#pop-podcast .swiper-pagination-bullet { 
  border:1px solid var(--blue-600); 
  opacity: 1;
}
#hp-testimonials .swiper-pagination-bullet-active,
#hp-blog-carousel .swiper-pagination-bullet-active ,
#pop-podcast .swiper-pagination-bullet-active {
  width: 40px;
  border-radius: 25px;
  background-color: var(--green-100);
}
#pop-podcast .swiper-pagination-bullet { border:1px solid #91B0D8; }
#pop-podcast .swiper-pagination-bullet-active { background-color: #3F71B0;  border:1px solid #F0F4FA; }
.home-faqs .e-n-accordion-item-title-icon {
  background: #FFCF03;
  padding: 20px;
  border-radius: 50%;
}
/* Home - Map (สีวนซ้ำทุก 6 hotspot) */

/* สีที่ 1 → hotspot 1, 7, 13, 19, ... */
#events-map .e-hotspot:nth-child(6n+1) .e-hotspot__inner-circle,
#events-map .e-hotspot:nth-child(6n+1) .e-hotspot__outer-circle,
#events-map .e-hotspot:nth-child(6n+1) .e-hotspot__tooltip {
  background-color: red;
}

/* สีที่ 2 → hotspot 2, 8, 14, 20, ... */
#events-map .e-hotspot:nth-child(6n+2) .e-hotspot__inner-circle,
#events-map .e-hotspot:nth-child(6n+2) .e-hotspot__outer-circle,
#events-map .e-hotspot:nth-child(6n+2) .e-hotspot__tooltip {
  background-color: #2D913B;
}

/* สีที่ 3 → hotspot 3, 9, 15, 21, ... */
#events-map .e-hotspot:nth-child(6n+3) .e-hotspot__inner-circle,
#events-map .e-hotspot:nth-child(6n+3) .e-hotspot__outer-circle,
#events-map .e-hotspot:nth-child(6n+3) .e-hotspot__tooltip {
  background-color: #0091BE;
}

/* สีที่ 4 → hotspot 4, 10, 16, 22, ... */
#events-map .e-hotspot:nth-child(6n+4) .e-hotspot__inner-circle,
#events-map .e-hotspot:nth-child(6n+4) .e-hotspot__outer-circle,
#events-map .e-hotspot:nth-child(6n+4) .e-hotspot__tooltip {
  background-color: #B55109;
}

/* สีที่ 5 → hotspot 5, 11, 17, 23, ... */
#events-map .e-hotspot:nth-child(6n+5) .e-hotspot__inner-circle,
#events-map .e-hotspot:nth-child(6n+5) .e-hotspot__outer-circle,
#events-map .e-hotspot:nth-child(6n+5) .e-hotspot__tooltip {
  background-color: #BE9A00;
}

/* สีที่ 6 → hotspot 6, 12, 18, 24, ... */
#events-map .e-hotspot:nth-child(6n) .e-hotspot__inner-circle,
#events-map .e-hotspot:nth-child(6n) .e-hotspot__outer-circle,
#events-map .e-hotspot:nth-child(6n) .e-hotspot__tooltip {
  background-color: #AE3D25;
}
#events-map .e-hotspot__tooltip {
  min-width: 180px;
  border-radius: 4px;
  padding: 10px;
  font-size: 12px;
}
#events-map .e-hotspot__tooltip p { margin-bottom:0px; }
#hp-events-carousel .event-info-list ul {
  row-gap: 16px;
}
#hp-events-carousel .event-info-list li {
  padding: 6px 16px;
  border-radius: 40px;
  background-color: var(--blue-100);
}
#hp-events-carousel .elementor-swiper-button-prev { left: 25%; }
#hp-events-carousel .elementor-swiper-button-next { right: 25%; }
#hp-latest-podcasts .podcast-preview img { border-radius: 12px; }
#hp-latest-podcasts .podcasts-title .elementor-heading-title { 
	display:block;
	max-width:90%; }
.podcasts-title a {
    white-space: nowrap; 
    overflow: hidden;
    text-overflow: ellipsis;
	    max-width: 100%;
    display: block;
}
#hp-latest-podcasts .elementor-loop-container {
	max-width:100%;
display:block;
}
/* Initialize counter on the container of your posts */
#hp-latest-podcasts .elementor-loop-container { /* replace with your actual container class */
  counter-reset: podcast-counter;
}
#hp-latest-podcasts .podcasts-title {
	display:flex;
}
/* Add counter to each title */
#hp-latest-podcasts .podcasts-title::before {
  counter-increment: podcast-counter;
  content: counter(podcast-counter, decimal-leading-zero);
  margin-right: 8px; 
	    font-family: "DM Sans", Sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5em;
    color: #007193;
	white-space: nowrap;
	white-space: nowrap;
    justify-content: center;
    align-items: center;
    display: flex
;
}
.podcast-preview {
  position: relative;
  display: inline-block;
  width: 100%;
}
.podcast-preview img.preview-image {
  width: 100%;
  display: block;
  border-radius: 12px;
  aspect-ratio: 1;
  object-fit: cover;
}
.podcast-preview img.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60px;
  height: 60px;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
#hp-latest-podcasts .podcasts-title .elementor-heading-title { 
	display:block;
	max-width:90%; }
.podcasts-title a {
    white-space: nowrap; 
    overflow: hidden;
    text-overflow: ellipsis;
	    max-width: 100%;
    display: block;
}
#hp-latest-podcasts .elementor-loop-container {
	max-width:100%;
display:block;
}
/* Initialize counter on the container of your posts */
#hp-latest-podcasts .elementor-loop-container { /* replace with your actual container class */
  counter-reset: podcast-counter;
}
#hp-latest-podcasts .podcasts-title {
	display:flex;
}
/* Add counter to each title */
#hp-latest-podcasts .podcasts-title::before {
  counter-increment: podcast-counter;
  content: counter(podcast-counter, decimal-leading-zero);
  margin-right: 8px; 
	    font-family: "DM Sans", Sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5em;
    color: #007193;
	white-space: nowrap;
	white-space: nowrap;
    justify-content: center;
    align-items: center;
    display: flex;
}
#podcast-content h1,
#podcast-content h2,
#podcast-content h3,
#podcast-content h4,
#podcast-content h1 strong,
#podcast-content h2 strong,
#podcast-content h3 strong,
#podcast-content h4 strong {
  font-weight: 400;
  line-height: 1.2;
  margin-top: 24px;
  margin-bottom: 18px;
  text-transform: uppercase;
}
#podcast-content h1 {
  font-size: 28px;
}
#podcast-content h2 {
  font-size: 24px;
}
#podcast-content h3 {
  font-size: 20px;
}
/* Blog Page */
#taxo-listing-wrapper {}
#taxo-listing-wrapper search {}
#taxo-listing-wrapper button {
  width: 100px;
  height: 100px;
}
#taxo-listing-wrapper .e-loop-item {
  border-radius: 8px;
}
#taxo-listing-wrapper .e-loop-item:nth-child(10n + 1) {
  background-color: #FFCF03;
}
#taxo-listing-wrapper .e-loop-item:nth-child(10n + 1) a {
  color: #101D2D;
}
#taxo-listing-wrapper .e-loop-item:nth-child(10n + 2) {
  background-color: #007193;
}
#taxo-listing-wrapper .e-loop-item:nth-child(10n + 2) a {
  color: #C0F1FF;
}
#taxo-listing-wrapper .e-loop-item:nth-child(10n + 3) {
  background-color: #8DDC99;
}
#taxo-listing-wrapper .e-loop-item:nth-child(10n + 3) a {
  color: #194F21;
}
#taxo-listing-wrapper .e-loop-item:nth-child(10n + 4) {
  background-color: #325A8C;
}
#taxo-listing-wrapper .e-loop-item:nth-child(10n + 4) a {
  color: #FFFFFF;
}
#taxo-listing-wrapper .e-loop-item:nth-child(10n + 5) {
  background-color: #DE630B;
}
#taxo-listing-wrapper .e-loop-item:nth-child(10n + 5) a {
  color: #FEF3EC;
}
#taxo-listing-wrapper .e-loop-item:nth-child(10n + 6) {
  background-color: #AE3D25;
}
#taxo-listing-wrapper .e-loop-item:nth-child(10n + 6) a {
  color: #FFFFFF;
}
#taxo-listing-wrapper .e-loop-item:nth-child(10n + 7) {
  background-color: #00B2E9;
}
#taxo-listing-wrapper .e-loop-item:nth-child(10n + 7) a {
  color: #FFFFFF;
}
#taxo-listing-wrapper .e-loop-item:nth-child(10n + 8) {
  background-color: #005168;
}
#taxo-listing-wrapper .e-loop-item:nth-child(10n + 8) a {
  color: #FFEB95;
}
#taxo-listing-wrapper .e-loop-item:nth-child(10n + 9) {
  background-color: #23702E;
}
#taxo-listing-wrapper .e-loop-item:nth-child(10n + 9) a {
  color: #CFF0D4;
}
#taxo-listing-wrapper .e-loop-item:nth-child(10n) {
  background-color: #ffffff;
  border: 1px solid #00B2E9;
}
#taxo-listing-wrapper .e-loop-item:nth-child(10n) a {
  color: #101D2D;
}

#taxo-listing-wrapper .taxo-item-wrapper .e-con-inner {
  justify-content: end;
  padding-top: 40px;
}
/* Footer */
#ft-newsletter #cmApp_signupForm,
#ft-newsletter #cmApp_signupForm .cmApp_fieldWrap {
  display: flex;
  flex-direction: row;
  gap: 5px;
}
#ft-newsletter #cmApp_signupForm .cmApp_fieldWrap {
  padding: 0;
  margin: 0;
  gap: 10px;
}
#ft-newsletter #cmApp_signupForm .cmApp_formInput,
#ft-newsletter .cmApp_signupContainer #cmApp_signupForm > div {
  margin-top: 0 !important;
  padding: 0;
}
#ft-newsletter #cmApp_signupContainer {
  width: 100%;
  max-width: 100%;
  padding: 0;
}
#ft-newsletter #cmApp_signupForm #cmApp_errorAll {
    position: absolute;
    bottom: -25px;
    font-size: 12px;
}
#ft-newsletter #cmApp_signupForm #cmApp_signupName,
#ft-newsletter #cmApp_signupForm #cmApp_signupEmail {
  border: 1px solid #27456C;
  color: #27456C;
  font-family: "DM Sans", Sans-serif;
  padding: 10px 24px;
  min-width: 270px;
}
#ft-newsletter #cmApp_signupForm .cmApp_formSubmitButton {
  padding: 10px 24px;
  font-family: "Bebas Neue", Sans-serif;
  font-size: 18px;
  border-color: #325A8C;
  background-color: #325A8C;
  color: #FFFFFF;
}



#ft-newsletter form {
  /*
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 10px;*/
}
#ft-newsletter .frm_form_field,
#ft-newsletter .frm_button_submit {
  margin:0; 
}
#ft-newsletter .frm_form_field{
  padding: 0;
}
#ft-newsletter .gform_fields { gap:10px; }
#ft-newsletter input[type="text"],
#ft-newsletter input[type="email"] {
  border: 1px solid #27456C;
  color: #27456C;
  font-family: "DM Sans", Sans-serif;
  padding: 10px 24px;
  min-width: 270px;
}
#ft-newsletter .frm_button_submit {
  padding: 10px 24px;
  font-family: "Bebas Neue", Sans-serif;
  font-size: 18px;
  border:0;
  background-color: #325A8C;
  color: #FFFFFF;
}
#ft-newsletter input[type="text"],
#ft-newsletter input[type="email"],
#ft-newsletter .frm_button_submit {
  border-radius: 3px;
  height: 54px;
}
#ft-newsletter .gform-footer { margin-top:0; }
.ft-key-events-list .elementor-icon-list-item .elementor-icon-list-icon { order:2; transform: rotate(315deg); }

.grid-loop-wrapper .elementor-pagination .page-numbers {}
.grid-loop-wrapper .elementor-pagination .page-numbers.current {
  background-color: #FFCF03;
  border-radius: 8px;
  color: var(--blue-700);
  padding: 10px 20px;
}
.grid-loop-wrapper .elementor-pagination .page-numbers.dots {
  color: #fff;
}
#form_contact .form-field select,
#form_contact .form-field input,
#form_contact .form-field textarea,
#fm-style-1 .form-field select,
#fm-style-1 .form-field input,
#fm-style-1 .form-field textarea {
  background-color: #F0F4FA;
  border-radius: 8px;
  border:0;
  padding: 10px 12px;
}
#form_contact select,
#fm-style-1 select {
  appearance: none; /* remove default arrow */
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url('inc/img/select-arrow.png'); /* change to your image URL */
  background-repeat: no-repeat;
  background-position: right 10px center; 
  background-size: 20px; 
  border: 1px solid #ccc;
  font-size: 16px;
  color: #333;
  background-color: #fff;
}
#form_contact .frm_button_submit,
.submit-btn-fullw .frm_button_submit {
  width: 100% !important;
  font-size: 18px !important;
  font-weight: 400 !important;
  color: #ffffff !important;
  background: #325A8C !important;
  border: 0 !important;
  line-height: 1.2em !important;
  padding: 10px !important;
}
#form_contact .frm_checkbox a { font-weight:500; text-decoration:underline; }
#form_b5xov .frm_html_container,
#form_b5xov .frm_html_container p,
#form_yrimw2 .frm_html_container,
#form_yrimw2 .frm_html_container p { margin-bottom:0 }
#form_b5xov .frm_html_container p,
#form_yrimw2 .frm_html_container p {
  color: #344054;
}
#form_b5xov .frm_html_container p strong,
#form_yrimw2 .frm_html_container p strong{
  font-size: 18px;
}

/* ===== Blockquote ===== */
:is(.pl-description, .elementor-widget-text-editor, .single-post .elementor-widget-theme-post-content) blockquote {
  position: relative;
  background-color: #EEF3FB;
  border: 1px solid #9DBBE0;
  border-radius: 16px;
  margin: 32px 0;
  padding: 24px 56px 32px 40px;
  font-style: normal;
  overflow: hidden;
}

:is(.pl-description, .elementor-widget-text-editor, .single-post .elementor-widget-theme-post-content) blockquote::before {
  content: "\201C";
  position: absolute;
  top: 10px;
  left: 38px;
  font-family: var(--second-font);
  font-size: 80px;
  font-weight: 700;
  line-height: 1;
  color: #C3D5EA;
}

:is(.pl-description, .elementor-widget-text-editor, .single-post .elementor-widget-theme-post-content) blockquote::after {
  content: "\201D";
  position: absolute;
  right: 28px;
  bottom: -24px;
  font-family: var(--second-font);
  font-size: 80px;
  font-weight: 700;
  line-height: 1;
  color: #C3D5EA;
}

:is(.pl-description, .elementor-widget-text-editor, .single-post .elementor-widget-theme-post-content) blockquote > :is(p, em) {
  display: block;
  border-left: 4px solid var(--blue-800);
  padding-left: 20px;
  margin: 0;
  font-family: var(--second-font);
  font-size: 18px;
  line-height: 1.6;
  color: var(--blue-900);
  font-style: italic;
}
:is(.pl-description, .elementor-widget-text-editor, .single-post .elementor-widget-theme-post-content) blockquote > :first-child {
  margin-top: 26px;
}

:is(.pl-description, .elementor-widget-text-editor, .single-post .elementor-widget-theme-post-content) blockquote :is(cite, strong, .avia-testimonial-name) {
  font-family: var(--primary-font);
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .3px;
  color: var(--blue-700);
}

@media only screen and (max-width: 768px) {
  :is(.pl-description, .elementor-widget-text-editor, .single-post .elementor-widget-theme-post-content) blockquote {
    padding: 20px 24px 24px 24px;
  }
  :is(.pl-description, .elementor-widget-text-editor, .single-post .elementor-widget-theme-post-content) blockquote::before { left: 24px; font-size: 60px; }
  :is(.pl-description, .elementor-widget-text-editor, .single-post .elementor-widget-theme-post-content) blockquote::after { right: 16px; font-size: 60px; }
}

/* --- Fadebox Container --- */
.speaker-flipbox {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  margin: 20px auto;
  cursor: pointer;
}

/* --- Inner Container --- */
.flipbox-inner {
  position: relative;
  width: 100%;
  height: 100%;
}

/* --- Front & Back Faces --- */
.flipbox-front, .flipbox-back {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

/* --- Default State --- */
.flipbox-front {
  opacity: 1;
  visibility: visible;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  background-size: cover;
  background-position: center;
}
.flipbox-front .speaker-info {
  width: 100%;
  padding: 24px;
  background-color: #27456C;
  border-bottom: 8px solid #5283C1
}
.flipbox-back {
  opacity: 0;
  visibility: hidden;
  background: #27456C;
  padding: 20px;
}
.flipbox-back .speaker-excerpt {
  color: #fff;
  font-family: "Bebas Neue", Sans-serif;
  font-size: 24px;
  line-height: 1.2;
}
/* --- On Hover --- */
.speaker-flipbox:hover .flipbox-front {
  opacity: 0;
  visibility: hidden;
}
.speaker-flipbox:hover .flipbox-back {
  opacity: 1;
  visibility: visible;
}

/* --- Front Side --- */
.flipbox-front img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.speaker-details {
  
}
.speaker-flipbox .speaker-name,
.speaker-flipbox .speaker-title {
  line-height: 1.2em;
  font-weight: 400;
}
.speaker-flipbox .speaker-name {
  font-size: 24px;
  color: var(--blue-100);
  font-family: "Bebas Neue", Sans-serif;
  margin-bottom: 0;
}
.speaker-flipbox .speaker-title {
  font-size: 14px;
  color: #ffffff;
  margin-bottom: 10px;
}

/* --- Back Side --- */
.flipbox-back .small-img {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}
.flipbox-back .speaker-excerpt {
  margin-top: 90px;
  overflow: hidden;
}
.flipbox-back .read-bio-btn,
.wpp-author-box .read-bio-btn {
  font-family: "DM Sans", Sans-serif !important;
  background-color: transparent !important;
  margin-top: 20px !important;
  color: #FFCF03 !important;
  border: none;
  cursor: pointer;
  font-size: 20px;
  padding: 0 36px 0 0 !important;
  position: absolute;
  bottom: 50px;
  right: 24px;
      background-image: url(inc/img/arrow-right.svg);
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 20px;
}
.read-bio-btn:hover {
}
/* Whitepaper Form */
#whitepaper-form-wrapper .frm_button_submit {
  background-color: #325A8C;
  font-size: 18px;
  border:none;
  padding: 10px;
  border-radius: 4px;
}
.with_frm_style input[type=text], 
.with_frm_style input[type=email] {
  font-size: 15px;
  border-width: 0 0 1px 0;
  border-radius: 4px;
}
.with_frm_style input[type=text]::placeholder,
.with_frm_style input[type=email]::placeholder {
  color: #747474;
  opacity: 1;
}
/* Whitepaper Author Box */
.wpp-author-box {

}
.wpp-author-box .author-box-inner {
  display: flex;
  border-radius: 12px;
  border-bottom: 8px solid #5283C1;
}
.wpp-author-box .author-box-inner .author-pic {
  width: 40%;
  height: 350px;
  background-position: center center;
  background-size: cover;
  border-radius: 12px 0 0 0px;
}
.wpp-author-box .author-box-inner .speaker-info {
  width: 60%;
  color: #ffffff;
  padding: 15px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: end;
  background-color: var(--blue-800);
  border-radius: 0 12px 0 0;
}
.wpp-author-box .speaker-title {
  font-size: 14px;
  line-height: 1.25em;
  margin-bottom: 4px;
}
.wpp-author-box .speaker-name,
.wpp-author-box .speaker-excerpt {
  font-family: var(--primary-font);
  font-size: 36px;
  text-transform: uppercase;
  line-height: 1.1em;
  font-weight: 400;
  color: #D0DEEE;
}
.wpp-author-box .speaker-excerpt {
  font-size: 24px;
  color: #F0F4FA;
}
.wpp-author-box .read-bio-btn {
  position: relative;
  bottom: inherit;
  right: inherit;
}


/** presenter-flipbox-grid */
.presenter-details-heading {
  font-size: 24px !important;
}
.presenter-flipbox-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.presenter-flipbox-grid .speaker-flipbox {
    margin: 0px;
    aspect-ratio: 1 / 1.2;
}
.presenter-flipbox-grid .speaker-flipbox .speaker-title {
  margin-bottom: 4px;
}
.presenter-thumb-group {
    display: flex;
    align-items: center;
}

.presenter-thumb {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #fff;
    margin-left: -12px;
}

.presenter-thumb:first-child {
    margin-left: 0;
}

.presenter-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- Popup --- */
.speaker-popup {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(0,0,0,0.75);
  align-items: center;
  justify-content: center;
}
.speaker-popup.active {
  display: flex !important;
}
.speaker-popup .popup-content {
  max-width: 900px;
  width: 90%;
  position: relative;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  animation: fadeIn 0.3s ease;
  border-radius: 12px;
  background-color: #fff;
  border-bottom: 12px solid var(--blue-700);
}
.speaker-popup .popup-close {
  position: absolute;
  top: 10px;
  right: 16px;
  font-size: 28px;
  font-weight: bold;
  color: #555;
  cursor: pointer;
  background-image: url(inc/img/pop-close.svg);
  height: 28px;
    width: 28px;
    background-size: contain;
}
.speaker-popup .popup-body {
  padding: 92px 40px 40px 40px;
}
.speaker-popup .popup-body .popup-hero {
  display: flex;
  gap: 24px;
  margin-bottom: 24px;
}
.speaker-popup .popup-body .popup-hero-img {
  
}
.speaker-popup .popup-body .popup-hero-inner {
  display: flex;
      flex-direction: column;
    justify-content: center;
}
.speaker-popup .popup-body .popup-hero-inner .speaker-title {
  color: var(--blue-600);
  font-size: 14px;
  line-height: 1.25em;
}
.speaker-popup .popup-body .popup-hero-inner .speaker-name {
  font-family: var(--primary-font);
  color: var(--blue-800);
  font-size: 36px;
  line-height: 1.1em;
}
.speaker-popup .popup-body .popup-author-stat { margin-bottom:24px; }
.speaker-popup .popup-body .author-stat-wrapper {
  display: flex;
  justify-content: center;
  gap: 36px;
}
.speaker-popup .popup-body .author-stat-wrapper .stat-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.speaker-popup .popup-body .author-stat-wrapper .stat-box .number {
  font-family: var(--primary-font);
  color: var(--blue-600);
  font-size: 24px;
  line-height: 1.2;
}
.speaker-popup .popup-body .author-stat-wrapper .stat-box .txt {
  font-family: var(--second-font);
  font-size: 14px;
  line-height: 1.2;
  color: var(--blue-600);
}
.speaker-popup .popup-body img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #FFCF03
}

.speaker-popup .popup-body .speaker-excerpt {
  font-family: var(--primary-font);
  color: var(--blue-800);
  line-height: 1.2;
  font-size: 24px;
  margin-bottom: 24px;
}
.speaker-popup .popup-footer {
  padding: 24px 40px;
  background-color: var(--blue-700);
  color: var(--blue-100);
}
.speaker-popup .popup-footer .h4 {
  font-family: var(--primary-font);
  color: var(--blue-100);
  font-size: 24px;
  line-height: 1.2;
  margin-bottom: 16px;
}
/** Team Page **/
.team-social-footer {
    background: var(--blue-700);
    padding: 32px 40px;
}
.team-social-footer .h4 {
  font-family: "Bebas Neue", Sans-serif;
  font-size: 24px;
  line-height: 27px;
  color: var(--blue-100);
  margin-bottom: 20px;
}
.team-social-footer .social-links {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}
.team-social-footer .social-icon img {
    width: 44px;
    height: 44px;
}

/** Single Event Page **/
.pl-featured-sessions {
    margin: 40px 0;
}
.pl-fs-heading {
  font-size: 24px !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    margin-bottom: 24px;
}

.pl-fs-swiper {
    position: relative;
    padding-bottom: 48px;
}
.pl-fs-slide {
    display: flex !important;
    align-items: stretch;
    background: #fff;
    border-bottom: 8px solid #f5c518; /* แถบเหลือง */
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
}
.pl-fs-image {
    flex: 0 0 55%;
    max-width: 55%;
}
.pl-fs-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pl-fs-content {
    flex: 1;
    padding: 40px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.pl-fs-title {
  font-size: 20px !important;
  text-transform: uppercase;
  font-weight: 500;
  margin: 0 0 24px;
}
.pl-fs-speaker,
.pl-fs-job {
    border-left: 3px solid #1a7a8c;
    padding-left: 14px;
    margin: 0;
    padding-bottom: 4px;
}
.pl-fs-speaker {
    font-size: 16px;
    font-weight: 400;
    padding-top: 2px;
}
.pl-fs-job {
    color: #9aa0a6;
    margin-bottom: 20px;
}
.pl-fs-btn {
  font-family: "Bebas Neue", Sans-serif;
    align-self: flex-start;
    display: inline-block;
    background: #3F71B0;
    color: #fff;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 5px;
}
.pl-fs-btn:hover {
    background: #2e4a85;
}
.pl-fs-swiper .swiper-button-prev,
.pl-fs-swiper .swiper-button-next {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    color: #333;
    top: 45%;
}
.pl-fs-swiper .swiper-button-prev:after,
.pl-fs-swiper .swiper-button-next:after {
    font-size: 16px;
    font-weight: 700;
}
.pl-fs-swiper .swiper-pagination-bullet {
    width: 9px;
    height: 9px;
    background: #d9d9d9;
    opacity: 1;
    transition: width 0.3s;
}
.pl-fs-swiper .swiper-pagination-bullet-active {
    width: 28px;
    border-radius: 6px;
    background: #1a7a8c;
}
.pl-pricing p:not(:last-child) {
    margin-bottom: 16px;
        margin-block-end: 10px !important;
}
.pl-description h3 {
  color: #1b314d;
    font-family: "Bebas Neue", Sans-serif !important;
    font-size: 24px !important;
    font-weight: 400 !important;
}
.pl-description a {
  color: #1e87f0;
}
/* ===== Embedded video ===== */
.pl-description iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  display: block;
  border: 0;
  border-radius: 12px;
  margin: 32px 0;
}

/* ===== Certificate Box ===== */
.certificate-box {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background-color: #D0DEEE;
    border: 1px solid #c7d3e6;
    border-radius: 10px;
    padding: 20px 22px;
    color: var(--blue-700);
}
.certificate-box .cert-icon {
    color: var(--blue-700);
    flex-shrink: 0;
    margin-top: 2px;
}
.certificate-box .cert-body { flex: 1; }
.certificate-box .cert-title {
    margin: 0 0 6px;
    font-family: var(--primary-font);
    font-size: 20px;
    font-weight: 400;
    text-transform: uppercase;
    color: var(--blue-700);
}
.certificate-box .cert-desc {
    color: var(--blue-700);
    font-size: 15px;
    line-height: 1.5;
}
.certificate-box .cert-desc a {
    color: inherit;
    text-decoration: none;
}
.certificate-box .cert-desc a:hover {
    text-decoration: underline;
}

/* หลายรายการ */
.certificate-box .cert-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.certificate-box .cert-list li {
    position: relative;
    padding-left: 16px;
    margin-bottom: 6px;
}
.certificate-box .cert-list li:last-child { margin-bottom: 0; }
.certificate-box .cert-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor;
}

/* ซ่อน widget เมื่อ shortcode คืนค่าว่าง */
.elementor-widget-shortcode:has(.elementor-widget-container:empty) { display: none; }
@media (max-width: 781px) {
    .pl-fs-slide {
        flex-direction: column;
    }
    .pl-fs-image,
    .pl-fs-content {
        flex: 1 1 100%;
        max-width: 100%;
    }
    .pl-fs-content {
        padding: 28px 24px;
    }
}
/** Page Associate **/
.workshops-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) {
  .workshops-grid { grid-template-columns: 1fr; }
}

.workshop-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-radius: 14px;
  min-height: 320px;
}

.workshop-card.is-blue      { background: #3F71B0; color: #ffffff; }
.workshop-card.is-lightblue { background: #C0F0FF; color: #143a66; }
.workshop-card.is-yellow    { background: #FFCF03; color: #143a66; }

.workshop-card__icon {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 32px;
  line-height: 1;
}
.workshop-card__icon img,
.workshop-card__icon .dashicons {
  width: 32px;
  height: 32px;
  font-size: 32px;
}
.workshop-card.is-blue   .workshop-card__icon,
.workshop-card.is-yellow .workshop-card__icon { color: #ffffff; }
.workshop-card.is-lightblue .workshop-card__icon { color: #143a66; }

.workshop-card__title {
  margin: 80px 0 30px 0;
  font-family: "Bebas Neue", Sans-serif;
  font-size: 24px !important;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .3px;
  color: inherit;
}
.workshop-card__content {
  font-size: 15px;
  line-height: 1.55;
  margin-bottom: 46px;
  color: inherit;
}
.workshop-card__content p { margin: 0; color: inherit; }

.workshop-card__btn {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 18px;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  transition: opacity .15s ease;
}
.workshop-card__btn:hover { opacity: .9; }

.workshop-card.is-blue   .workshop-card__btn,
.workshop-card.is-yellow .workshop-card__btn { background: #ffffff; color: #3F71B0; }
.workshop-card.is-lightblue .workshop-card__btn { background: #3F71B0; color: #ffffff; }

.workshop-card__arrow {
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex-shrink: 0;
}
/** Webinar **/ 
.presentation-meta-box {
    background-color: #d9f2e0; /* ปรับสีเขียวให้ตรงของเดิม */
    padding: 20px 24px;
    border-radius: 8px;
}
.presentation-meta-box p {
    margin: 0 0 8px;
}
.presentation-meta-box p:last-child {
    margin-bottom: 0;
}
/* Assocition Page */
.assocition-parent-ctn:hover .assosition-btn a {
	color:#3F71B0 !important;
}
/** Single Blog **/
.single-post .elementor-widget-theme-post-content h2,
.single-post .elementor-widget-theme-post-content h3 {
  font-family: var(--primary-font);
  margin-block-start: 1.5rem;
}
.single-post .elementor-widget-theme-post-content h2 strong,
.single-post .elementor-widget-theme-post-content h3 strong {
  font-weight: 500;
}
.single-post .elementor-widget-theme-post-content h2 {
  font-size: 28px;
}
.single-post .elementor-widget-theme-post-content h3 {
  font-size: 24px;
}
.single-post .elementor-widget-theme-post-content ul {
  margin-bottom: 1em;
}
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

@media only screen and (min-width: 1025px) {
  #master-nav .contact-nav {padding-left: 80px;}
  #master-nav .contact-nav a {
  	font-size: 20px;
  	line-height: 1.5;
  	background: var(--blue-600);
  	color: #ffffff;
  	padding: 10px 24px;
  	border-radius: 4px;
  }
  
}
@media only screen and (max-width: 1024px) {
  #hp-counter-number .elementor-counter .elementor-counter-title {
    text-align: center;
  }
  #hp-testimonials .elementor-swiper-button-next,
  #hp-testimonials .elementor-swiper-button-prev { display: none;}
}
@media only screen and (min-width: 768px) {
  #home-hero #home-hero-header  h1 span{
    display: block;
  }
}
@media only screen and (max-width: 768px) {
  .presenter-flipbox-grid {
        grid-template-columns: 1fr;
    }
  #ft-newsletter form { grid-template-columns: 1fr; }
  #ft-newsletter .gform_button { width:100%; }
  #hp-events-carousel .elementor-swiper-button-prev { left: 5%; }
  #hp-events-carousel .elementor-swiper-button-next { right: 5%; }
  #hp-events-carousel .event-info-list ul {
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    align-items: center;
  }
  #hp-events-carousel .event-info-list li {
    width: fit-content;
  }
  .home-faqs .e-n-accordion-item-title-icon {  padding: 10px; }
  #hp-latest-podcasts .podcasts-title .elementor-heading-title {
    max-width: 80%;;
  }
  /* --- Fadebox Container --- */
  .speaker-flipbox {
    min-height: 400px;
  }
  .flipbox-back .speaker-excerpt {
    margin-top: 60px;
  }
  .wpp-author-box .author-box-inner {
    flex-direction: column;
  }
  .wpp-author-box .author-box-inner .author-pic,
  .wpp-author-box .author-box-inner .speaker-info { width:100%; }
  .wpp-author-box .author-box-inner .author-pic { border-radius:12px 12px 0 0 }
  .wpp-author-box .author-box-inner .speaker-info { border-radius:0; }
  /* Footer */
  #ft-newsletter .frm_fields_container {
    gap: 10px;
  }
  #ft-newsletter .frm_button_submit { width:100%; }
  #ft-newsletter #cmApp_signupForm,
  #ft-newsletter #cmApp_signupForm .cmApp_fieldWrap {
    flex-direction: column;
  }
  #ft-newsletter #cmApp_signupForm #cmApp_signupName,
  #ft-newsletter #cmApp_signupForm #cmApp_signupEmail {
    min-width: inherit;
  }
  #ft-newsletter #cmApp_signupForm #cmApp_errorAll {
    position: relative;
    bottom: 0px;
    font-size: 16px;
  }
}
/* Podcast listing tiles (template 1637): clamp title to 3 lines + reserve height
   so every tile is the same height and stays aligned. */
.elementor-1637 .elementor-element-a2cd25a .elementor-heading-title {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 3.45em; /* fallback: ~3 lines */
    min-height: 3lh;    /* exact 3 lines where supported */
}

/* Blog listing cards (template 1345): clamp title to 3 lines, excerpt to 5 lines,
   with ellipsis + reserved height so every card is the same size and aligned. */
.elementor-1345 .elementor-element-ff74932 .elementor-heading-title {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 3.6em; /* fallback ~3 lines @1.2em */
    min-height: 3lh;
}
.elementor-1345 .elementor-element-a94b533 {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 7.5em; /* fallback ~5 lines @1.5em */
    min-height: 5lh;
}

/* Hide "View Recording" button when a webinar has no video */
body.no-webinar-video .elementor-element-4cb2864,
body.no-webinar-video .elementor-element-1b22617,
body.no-webinar-video .elementor-element-b47d428 { display: none !important; }

/* Single Presentation Video page ([presentation_video_player]) */
.pv-single { max-width: 960px; margin: 0 auto; padding: 40px 20px 60px; }
.pv-single .pv-back { display: inline-block; margin-bottom: 20px; font-weight: 600; color: #27456C; text-decoration: none; }
.pv-single .pv-back:hover { text-decoration: underline; }
.pv-single .pv-title { font-family: "Bebas Neue", sans-serif; font-weight: 400; color: #1B314D; font-size: clamp(28px, 5vw, 48px); line-height: 1.05; margin: 0 0 24px; }
.pv-single .pv-player { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 12px; background: #000; }
.pv-single .pv-player iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
.pv-single .pv-novideo { font-size: 18px; color: #555; }

/* Single video: locked / members-only state */
.pv-single .pv-locked { background:#f0f4fa; border:1px solid #d7e0ee; border-radius:12px; padding:48px 24px; text-align:center; }
.pv-single .pv-locked-msg { font-size:18px; color:#27456C; margin:0 0 20px; }
.pv-single .pv-login-btn { display:inline-block; background:#3F71B0; color:#fff; text-decoration:none; font-weight:600; padding:12px 28px; border-radius:8px; }
.pv-single .pv-login-btn:hover { background:#2f5a90; }

/* ============================================================
   Member Login page (/member-login/, page-id-25751) — style the RCP forms
   ============================================================ */
body.page-id-25751 .page-content { max-width: 680px; margin: 0 auto; padding: 24px 20px 72px; }
body.page-id-25751 .page-content > h2 {
    font-family: "Bebas Neue", sans-serif; font-weight: 400; color: #1B314D;
    font-size: clamp(24px, 4vw, 34px); margin: 28px 0 12px; line-height: 1.05;
}
/* the RCP forms as cards */
body.page-id-25751 .rcp_form {
    background: #fff; border: 1px solid #dbe3ee; border-radius: 14px;
    padding: 28px 26px; box-shadow: 0 6px 20px rgba(27,49,77,.06); margin: 0 0 8px;
}
body.page-id-25751 .rcp_form fieldset { border: 0; margin: 0; padding: 0; }
body.page-id-25751 .rcp_form p { margin: 0 0 18px; }
body.page-id-25751 .rcp_form label { display: block; font-weight: 600; color: #27456C; margin: 0 0 6px; font-size: 15px; }
/* inputs */
body.page-id-25751 .rcp_form input[type="text"],
body.page-id-25751 .rcp_form input[type="email"],
body.page-id-25751 .rcp_form input[type="password"] {
    width: 100%; padding: 12px 14px; border: 1px solid #c7d2e2; border-radius: 8px;
    font-size: 16px; color: #1B314D; background: #fff; transition: border-color .15s, box-shadow .15s;
}
body.page-id-25751 .rcp_form input[type="text"]:focus,
body.page-id-25751 .rcp_form input[type="email"]:focus,
body.page-id-25751 .rcp_form input[type="password"]:focus {
    outline: 0; border-color: #3F71B0; box-shadow: 0 0 0 3px rgba(63,113,176,.18);
}
/* remember me */
body.page-id-25751 .rcp_form input[type="checkbox"] { margin-right: 8px; transform: translateY(1px); }
body.page-id-25751 .rcp_form .rcp_login_data label[for*="remember"],
body.page-id-25751 .rcp_form p label { font-weight: 600; }
/* submit buttons */
body.page-id-25751 .rcp_form input[type="submit"],
body.page-id-25751 .rcp_form button[type="submit"],
body.page-id-25751 #rcp_login_submit,
body.page-id-25751 #rcp_submit {
    background: #3F71B0; color: #fff; border: 0; border-radius: 8px; cursor: pointer;
    font-weight: 700; font-size: 16px; padding: 13px 34px; transition: background .15s;
}
body.page-id-25751 .rcp_form input[type="submit"]:hover,
body.page-id-25751 .rcp_form button[type="submit"]:hover,
body.page-id-25751 #rcp_login_submit:hover,
body.page-id-25751 #rcp_submit:hover { background: #2f5a90; }
/* links */
body.page-id-25751 .rcp_form a, body.page-id-25751 .page-content a { color: #3F71B0; font-weight: 600; }
body.page-id-25751 .rcp_lost_password { font-size: 14px; margin-top: -6px; }
/* divider */
body.page-id-25751 .page-content hr { border: 0; border-top: 1px solid #e3e9f2; margin: 40px 0 8px; }

/* Member Login page fixes */
/* 1) hide the "Member Login" page title (LOG IN heading is enough) */
body.page-id-25751 .page-header { display: none; }
/* 2) equal card padding — RCP sets #rcp_registration_form{padding:5px} (ID beats class), so override by ID */
body.page-id-25751 #rcp_login_form,
body.page-id-25751 #rcp_registration_form { padding: 28px 26px; }

/* Past Webinars carousel (7b0a261): match "What People Say" dots & arrows */
.elementor-element-7b0a261 .swiper-pagination-bullet {
    width: 12px !important; height: 12px !important;
    background-color: #325A8C !important; opacity: 1 !important; border-radius: 50% !important;
}
.elementor-element-7b0a261 .swiper-pagination-bullet-active {
    width: 40px !important; background-color: #CFF0D4 !important; border-radius: 25px !important;
}
.elementor-element-7b0a261 .elementor-swiper-button {
    color: #325A8C !important; font-size: 30px !important;
}

/* More White Papers cards (template 1836): clamp title (3 lines) + excerpt (6 lines)
   so every card is the same height and aligned. */
.elementor-1836 .elementor-element-4c4e43c9 .elementor-heading-title {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 3.6em; /* fallback ~3 lines */
    min-height: 3lh;
}
.elementor-1836 .elementor-element-76643589 {
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 9em; /* fallback ~6 lines @1.5 */
    min-height: 6lh;
}

/* Mega Menu dropdown link lists (Content Hub / Who We Are / Professional Learning):
   make the WHOLE row clickable — the <a> fills the row and the arrow is moved from
   li::after into a::after so it's part of the link. */
.mega-menu .widget_nav_menu ul.menu > li.menu-item > a {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    width: 100%;
}
.mega-menu .widget_nav_menu ul.menu > li.menu-item::after {
    display: none !important;
}
.mega-menu .widget_nav_menu ul.menu > li.menu-item > a::after {
    content: "\203A";      /* › */
    color: #4CC75E;
    font-size: 32px;
    line-height: 1;
    margin-left: auto;
    padding-left: 8px;
}

/* Events listing card background: force cover on all devices/breakpoints
   (mobile safety net so it never scales/crops oddly). */
.elementor-element-808f9f2 {
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-attachment: scroll !important;
}

/* Mega menu mobile toggle (hamburger) — bordered box */
#mega-menu-wrap-menu-1 .mega-menu-toggle .mega-toggle-block-0 {
    border: 1px solid #5283C1;
    border-radius: 4px;
    background-color: #f0f4fa;
}

/* Contact Us mega-menu item spacing on mobile */
@media (max-width: 768px) {
    #mega-menu-wrap-menu-1 .mega-contact-nav a {
        margin: 10px !important;
    }
}

/* Hide the mega-menu CTA nav column on mobile */
@media (max-width: 768px) {
    #mega-menu-wrap-menu-1 .mega-cta-nav-wrapper {
        display: none !important;
    }
}

/* Mega menu rules relocated from Master Header widget Custom CSS (2026-08-21) */
#mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-megamenu > ul.mega-sub-menu {
    width: 70% !important;
    margin-left: 70px !important;
}

#mega-menu-menu-1 > li:last-child a {
    font-family: "Bebas Neue" !important;
    font-weight: 400 !important;
    font-size: 18px !important;
    height: 43px !important;
}

/* Mobile: mega sub-menu full width, no left offset */
@media (max-width: 768px) {
    #mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-megamenu > ul.mega-sub-menu {
        width: 100% !important;
        margin-left: 0px !important;
        border-radius: 0 !important;
        padding: 0 !important;
    }
}

/* Mobile: remaining menu column fills full width (CTA column is hidden) */
@media (max-width: 768px) {
    #mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-row > ul.mega-sub-menu > li.mega-menu-column {
        grid-column: 1 / -1 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* Mobile: taxonomy filter items centered, tighter top padding */
@media (max-width: 768px) {
    #taxo-listing-wrapper .taxo-item-wrapper .e-con-inner {
        justify-content: center !important;
        padding-top: 10px !important;
    }
}

/* Mobile: mega-menu widget nav padding + hide column block titles */
@media (max-width: 768px) {
    #header-wrapper .mega-menu-item-type-widget nav {
        padding: 20px !important;
    }
    #header-wrapper .mega-block-title {
        display: none !important;
    }
}

/* Partners gallery: fade top half into navy bg via gradient overlay (matches Figma) */
.elementor-element-1009de1 { position: relative; }
.elementor-element-1009de1::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 400px;
    background: linear-gradient(to bottom, #27456C 0%, rgba(39, 69, 108, 0) 100%);
    z-index: 2;
    pointer-events: none;
}
