html {
	font-family: "Graphik", sans-serif;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}

body {
	margin: 0!important;
	font-family: "Graphik", sans-serif;
}
section.insights-section.panel {
    background-color: #f3f3f6;
}

@font-face {
  font-family: Graphik;
  src: url(/wp-content/themes/agility/fonts/Graphik-Light-Web.woff);
  font-weight: normal;
}
@font-face {
  font-family: Graphik;
  src: url(/wp-content/themes/agility/fonts/Graphik-Medium-Web.woff);
  font-weight: 500;
}
@font-face {
  font-family: Graphik;
  src: url(/wp-content/themes/agility/fonts/Graphik-Bold-Web.woff);
  font-weight: bold;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    z-index: 9999;
}
.section-title{
	font-size: 28px;
    font-weight: 500;
    margin: 0 0 40px;
}
.learn-more-link {
    font-size: 16px;
    font-weight: 500;
    text-decoration: underline;
    color: #000;
}

/* FOOTER BASE */
footer#colophon {
    background-color: #000;
    color: #fff;
    padding: 20px 0 20px;
    font-family: "Graphik", sans-serif;
}

/* CONTAINER WIDTH */
.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* MAIN ROW */
.main-col {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}


/* ================== FOOTER (UPDATED LAYOUT) ================== */

/* MAIN FOOTER ROW: tagline | menu | social */
footer#colophon .main-col{
    display: grid;
    grid-template-columns: 1.2fr 1.6fr 1fr;
    align-items: center;
    gap: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.3);
}

/* TAGLINE (LEFT) */
footer#colophon .footer-tagline p{
    font-size: 16px;
    line-height: 1.4;
    max-width: 420px;
    margin: 0;
}

/* MENU (CENTER) */
footer#colophon .footer-menu{
    justify-content: center; /* keep menu centered */
}

/* SOCIAL (RIGHT) - this replaces generic col-02 behavior */
footer#colophon .footer-social{
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 14px;
}

/* Keep your connect text styling, just ensure it sits nicely */
footer#colophon .connect-text{
    margin-right: 0;          /* spacing controlled by gap */
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;      /* prevent breaking to 2 lines */
}

/* ================== YOUR EXISTING STYLES (kept) ================== */
.footer-menu {
    display: flex;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-menu li a {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
}

.footer-menu li a:hover {
    opacity: 0.7;
    color: #fff;
}

.footer-container .main-navigation .current-menu-item > a{
    color: #fff;
}

/* SOCIAL ICON LIST (kept) */
.social ul {
    display: flex;
    gap: 14px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.social img {
    width: 18px;
    height: auto;
    display: block;
    cursor: pointer;
}

.social img:hover {
    opacity: 0.7;
}

.social {
    margin-top: 5px;
}

.col-01.footer-tagline p {
    line-height: 1.5;
    font-weight: 500;
}
/* COPYRIGHT (kept) */
.copyright {
    text-align: center;
    margin-top: 15px;
}

.copyright p {
    font-size: 14px;
    margin: 0;
    opacity: 0.85;
}

/* ================== MOBILE ================== */
@media (max-width: 768px) {

    /* STACK FOOTER CONTENT */
    footer#colophon .main-col {
        display: flex;              /* override grid */
        flex-direction: column;
        align-items: center;
        gap: 16px;
        text-align: center;
        padding-bottom: 16px;
    }

    /* TAGLINE */
    footer#colophon .footer-tagline p{
        max-width: 100%;
        font-size: 14px;
    }

    /* FOOTER MENU – CENTER + WRAP */
    footer#colophon .footer-menu {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 14px 20px;
    }

    /* MENU LINKS */
    footer#colophon .footer-menu li a {
        font-size: 14px;
        line-height: 1.4;
        padding-bottom: 10px;
    }

    /* SOCIAL CENTER */
    footer#colophon .footer-social{
        justify-content: center;
    }

    footer#colophon .social ul {
        justify-content: center;
    }

    /* ICON SIZE FOR MOBILE */
    footer#colophon .social img {
        width: 20px;
    }

    /* COPYRIGHT SPACING */
    footer#colophon .copyright {
        margin-top: 12px;
    }

    footer#colophon .copyright p {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    footer#colophon .footer-menu {
        gap: 10px 14px;
    }

    footer#colophon .footer-menu li a {
        font-size: 13px;
    }
}


/* ================== HEADER BASE ================== */

.site-header {
	position: relative;
	z-index: 1000;
	border-bottom: 1px solid #ddd;
}

.site-header .header-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 18px 40px;
	display: flex;
	align-items: center;
}

/* Logo */
.site-header .site-branding {
	flex: 0 0 auto;
}

.site-header .site-logo {
	height: 60px;
	width: auto;
	display: block;
}

/* Reset list styles */
.site-header .main-navigation ul,
.site-header .main-navigation li {
	list-style: none;
	margin: 0;
	padding: 0;
	display: inline;
	padding: 0 30px;
}

/* Links */
.site-header .main-navigation a {
	text-decoration: none;
	color: #000;
	font-weight: 500;
}

/* ================== HEADER NAV ACTIVE LINE (on bottom border) ================== */

header.site-header {
    border-bottom: 1px solid #e0e0e0; /* gray line */
}

.main-navigation ul {
    display: flex;
    align-items: center;
    gap: 40px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation li {
    position: relative;
}

.main-navigation a {
    text-decoration: none;
    color: #000;
    font-weight: 600;
    padding: 20px 0; /* ensure alignment with bottom border */
    display: inline-block;
    transition: color 0.2s ease;
}

/* Position underline aligned to bottom gray line */
.main-navigation a::after {
    content: "";
    position: absolute;
    bottom: -1px; /* sits directly on gray border */
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #000;
    border-radius: 1px;
    transition: all 0.3s ease;
}

.main-navigation .weglot-parent-menu-item a::after {
    content: "";
    background: none;
    transition: none;
}

/* Hover + active state */
.main-navigation a:hover::after,
.main-navigation .current-menu-item > a::after,
.main-navigation .current-page-ancestor > a::after {
    width: 100%;
    left: 0;
}

.main-navigation .current-menu-item > a,
.main-navigation .current-page-ancestor > a {
    color: #000;
}

/* Optional: subtle hover color */
.main-navigation a:hover {
    color: #000;
}

/* WEGLOT */
/* === Weglot dropdown (stable + clickable) === */
li.weglot-parent-menu-item{
  position: relative;
}

/* EN button */
li.weglot-parent-menu-item > a{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  position: relative;       /* anchors the caret */
  text-decoration: none;
}

/* caret (no absolute positioning) */
li.weglot-parent-menu-item > a::after{
  content: "▾" !important;
    display: inline-block !important;
    font-size: 12px;
    line-height: 1;
    opacity: .7;
    margin-left: 0;
    vertical-align: middle;
    position: absolute;
    top: 30%;
    left: 100%!important;
}
body.rtl li.weglot-parent-menu-item > a::after{
	right: 100%;
}
li.weglot-parent-menu-item > a{
  overflow: visible !important;
}

/* Submenu: align to EN, no centering math */
li.weglot-parent-menu-item > .sub-menu{
  position: absolute;
  top: calc(100% + 12px);
  left: 0;                  /* aligns under EN */
  transform: none !important;

  margin: 0 !important;
  padding: 4px 0 !important;
  list-style: none !important;

  min-width: 100%;
  width: max-content;
  background: #fff;
  border: 1px solid rgba(0,0,0,.10);
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
  z-index: 9999;

  /* hidden by default */
  display: none !important;
  visibility: hidden;
  opacity: 0;
}

/* Show on hover */
li.weglot-parent-menu-item:hover > .sub-menu{
  display: block !important;
  visibility: visible;
  opacity: 1;
}

/* Remove theme spacing */
li.weglot-parent-menu-item > .sub-menu > li{
  margin: 0 !important;
  padding: 0 !important;
}

/* Dropdown link */
li.weglot-parent-menu-item > .sub-menu > li > a{
  display: block;
  padding: 10px 14px !important;
  white-space: nowrap;
  text-align: center;         /* or center if you want */
}

/* Hover */
li.weglot-parent-menu-item > .sub-menu > li > a:hover{
  background: rgba(0,0,0,.05);
}

/* Optional: extend hover area so it won't "break" when moving down */
li.weglot-parent-menu-item::after{
  content:"";
  position:absolute;
  left:0;
  top:100%;
  width:100%;
  height:10px;              /* creates a safe gap */
}

li.weglot-parent-menu-item.current-menu-item > a::after,
li.weglot-parent-menu-item.menu-item-has-children > a::after {
  display: inline-block !important; /* keeps caret */
  border: none !important;
  box-shadow: none !important;
}

/* === REMOVE hover / active underline for Weglot only === */
li.weglot-parent-menu-item > a,
li.weglot-parent-menu-item > a:hover,
li.weglot-parent-menu-item > a:focus,
li.weglot-parent-menu-item > a:active {
  border-bottom: none !important;
  box-shadow: none !important;
  text-decoration: none !important;
}

/* Kill theme underline pseudo-elements */
li.weglot-parent-menu-item > a::before,
li.weglot-parent-menu-item > a::after {
  box-shadow: none !important;
  border: none !important;
}

/* If theme uses span inside <a> */
li.weglot-parent-menu-item > a span::before,
li.weglot-parent-menu-item > a span::after {
  display: none !important;
}


/* ================== MOBILE (DEFAULT) ================== */

/* Burger button visible by default (mobile-first) */
.menu-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: right;
	background: none;
	border: 0;
	padding: 0;
	cursor: pointer;
	margin-left: auto;
	width:100%;
}

.menu-toggle-box {
	width: 24px;
	height: 18px;
	position: relative;
	display: inline-block;
}

.menu-toggle-inner,
.menu-toggle-inner::before,
.menu-toggle-inner::after {
	position: absolute;
	width: 24px;
	height: 2px;
	background: #000;
	left: 0;
	transition: transform 0.2s ease, top 0.2s ease, opacity 0.2s ease;
}

.menu-toggle-inner {
	top: 8px;
}

.menu-toggle-inner::before,
.menu-toggle-inner::after {
	content: "";
}

.menu-toggle-inner::before { top: -6px; }
.menu-toggle-inner::after  { top:  6px; }

/* X state */
.menu-toggle.is-active .menu-toggle-inner {
	transform: rotate(45deg);
}
.menu-toggle.is-active .menu-toggle-inner::before {
	top: 0;
	transform: rotate(-90deg);
}
.menu-toggle.is-active .menu-toggle-inner::after {
	top: 0;
	opacity: 0;
}

/* Mobile nav panel (hidden by default) */
.site-header .main-navigation {
	position: absolute;
	top: 64px; /* just under header */
	left: 0;
	right: 0;
	background: #fff;
	border-top: 1px solid #eee;
	display: none;
}

.site-header .main-navigation .menu {
	padding: 0 24px 0;
}

.site-header .main-navigation .menu li{
	margin-bottom: 0;
}
.site-header .main-navigation .menu li:last-child {
	margin-bottom: 0;
}

.site-header .main-navigation a {
	display: block;
}

/* When JS opens the menu */
.site-header .main-navigation.is-open {
	display: block;
}

body.menu-open {
	overflow: hidden;
}

/* === MOBILE: move Weglot to top-left header === */
@media (max-width: 1023px){

	.main-navigation a{
		padding: 0 20px;
	}
	.weglot-parent-menu-item{
		display:none!important;
	}
	body.rtl .menu-toggle {
		justify-content: left;
	}
}


/* ================== DESKTOP (>= 1024px) ================== */

@media (min-width: 1024px) {
		aside.country-selector.weglot-dropdown.close_outside_click.closed.weglot-shortcode.wg-{
		display: none;
	}
	/* Layout: logo left, menu takes the rest */
	.site-header .header-inner {
		padding: 0px 20px;
	}

	.menu-toggle {
		display: none; /* hide burger on desktop */
	}

	.site-header .main-navigation {
		position: static;
		display: block;
		flex: 1;
		margin-left: 80px; /* space between logo and first menu item */
		border-top: none;
	}

	/* Force horizontal row */
	.site-header .main-navigation > ul,
	.site-header .main-navigation .menu,
	.site-header .main-navigation #primary-menu {
		display: flex !important;
		flex-direction: row;
		align-items: center;
		justify-content: space-between; /* spreads items so last one goes to the right */
		gap: 0;
	}

	.site-header .main-navigation li {
		float: none !important;
		margin: 0;
	}

	.site-header .main-navigation a {
		display: inline-block;
	}
}


/* HERO SECTION */

.hero-section {
	padding: 80px 0;
	background-color: #ffffff;
}

.hero-inner {
	margin: 0 auto;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 64px;
}

.hero-content {
	flex: 1 1 0;
}

.hero-title {
	font-size: 48px;
	line-height: 1.1;
	margin: 0 0 12px;
	font-weight: 700;
}

.hero-subtitle {
	margin: 0 0 20px;
	font-size: 16px;
	font-weight: 600;
	color: #000;
}

.hero-text {
	font-size: 16px;
	line-height: 1.6;
	color: #000;
	margin-bottom: 28px;
}

/* Button like the design (pill outline) */
.hero-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 32px;
	border-radius: 999px;
	border: 1px solid #000000;
	background: #ffffff;
	color: #000000;
	font-size: 16px;
	font-weight: 500;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.hero-button:hover {
	background-color: #000000;
	color: #ffffff;
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}
.panel-more-button:hover{
	background-color: #fff;
	color: #000;
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

/* Image block on the right */
.hero-image {
	flex: 0 0 auto;
	margin: 0;
}

.hero-image-inner {
	width: 320px;          /* adjust as needed */
	max-width: 100%;
	border-radius: 24px;
	overflow: hidden;
	box-shadow: 0 18px 35px rgba(0, 0, 0, 0.18);
}

.hero-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Responsive: stack on mobile */
@media (max-width: 768px) {
	.hero-inner {
		flex-direction: column;
		padding: 0 20px;
		text-align: left;
		gap: 32px;
	}

	.hero-title {
		font-size: 34px;
	}

	.hero-text {
		max-width: 100%;
	}
}



/* ================== PANEL SECTION ================== */
section.panel-section {
    padding: 80px 0;
    background-color: #f3f3f6;
}

/* ===== Fix grid + card sizing (matches original design) ===== */

/* keep the 2-col grid and explicit placement */
.panel-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.25fr);
  column-gap: 50px;
  row-gap: 30px;
  margin-bottom: 40px;
}

.panel-grid > article.panel-featured { grid-column: 1; grid-row: 1 / span 2; }
.panel-grid > article.panel-card:nth-of-type(2) { grid-column: 2; grid-row: 1; }
.panel-grid > article.panel-card:nth-of-type(3) { grid-column: 2; grid-row: 2; }

/* featured card wrapper stays white, rounded */
/* Make the featured card fill its grid cell height */
article.panel-featured {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Let the image grow to occupy leftover space */
.panel-featured-image {
  flex: 1 1 auto;               /* take all available height */
  margin-bottom: 18px;           /* a bit tighter to reduce gap */
  min-height: 320px;             /* optional: keeps a nice minimum */
}

/* Image fills the figure and crops neatly */
.panel-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  display: block;
}
.panel-featured-image.has-bg {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  min-height: 420px;              /* or your preferred height */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.panel-featured-image.has-bg a { position:absolute; inset:0; display:block; }

.has-video .video-play {
  position:absolute; left:50%; top:50%;
  transform:translate(-50%, -50%);
  width:64px; height:64px; border-radius:50%;
  background:rgba(0,0,0,.55);
}
.has-video .video-play::before { /* triangle – either ::before or ::after per your sheet */
  content:"";
  position:absolute; left:50%; top:50%;
  transform:translate(-40%, -50%);
  border-left:16px solid #fff;
  border-top:10px solid transparent;
  border-bottom:10px solid transparent;
}
/* Keep text block natural height below the image */
.panel-featured-content {
  margin-top: 0;                 /* margin handled by figure above */
}

/* (Optional) ensure right tiles don't get too tall vs left) */
.panel-card-thumb img {
  height: 200px;                 /* you already use ~200px; keep it consistent */
}

/* Mobile stays single column as you already defined */
@media (max-width: 768px) {
  article.panel-featured {
    height: auto;                /* grid rows collapse on mobile */
  }
  .panel-featured-image {
    min-height: 220px;
  }
}

/* optional: don’t block clicks with the icon */
.panel-featured-image .video-play { pointer-events: none; }


/* Keep text block natural height below the image */
.panel-featured-content {
  margin-top: 0;                 /* margin handled by figure above */
}

/* (Optional) ensure right tiles don't get too tall vs left) */
.panel-card-thumb img {
  height: 200px;                 /* you already use ~200px; keep it consistent */
}

/* Mobile stays single column as you already defined */
@media (max-width: 768px) {
  article.panel-featured {
    height: auto;                /* grid rows collapse on mobile */
  }
  .panel-featured-image {
    min-height: 220px;
  }
}

/* featured image block and image */
.panel-featured-image { margin-bottom: 30px; position: relative; }
.panel-featured-image a { display: block; position: relative; }
.panel-featured-image img {
  width: 100%;
  display: block;
  border-radius: 20px;
  height: auto;
}

/* right-column cards restored to compact “tile” look */
.panel-card {
  background: #fff;
  border-radius: 20px;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden; /* ensures inner image radius clips */
}

/* image block on small cards */
.panel-card-thumb { margin: 0 0 16px; }
.panel-card-thumb a { display: block; position: relative; }
.panel-card-thumb img {
  display: block;
  width: 100%;
  height: 200px;         /* tweak 180–220px if you like */
  object-fit: cover;
  border-radius: 14px;
}

/* titles/excerpts/links */
.panel-card-title { margin: 0 0 12px; }
.panel-featured-title a,
.panel-card-title a{
  color: #000;
  font-size: 22px;
  font-weight: 500;
  text-decoration: none;
}
.panel-card-excerpt {
  margin: 0 0 12px;
  line-height: 1.6;
  color: #000; /* (fixes previous 'ď#000' typo) */
}
a.panel-more-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    border-radius: 999px;
    border: 1px solid #fff;
    background: #000;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
/* ===== Play icon overlay (featured + small cards) ===== */
.video-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;                    /* click goes to link */
}

.video-play::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  transform: translate(-40%, -50%);       /* optical centering */
  border-left: 16px solid #fff;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}

/* make sure anchors are the positioning context for the overlay */
.panel-featured-image a,
.panel-card-thumb a { position: relative; }

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .panel-inner { padding: 32px 20px 40px; border-radius: 24px; }
  .panel-grid { grid-template-columns: 1fr; }
  .panel-grid > article.panel-featured,
  .panel-grid > article.panel-card:nth-of-type(2),
  .panel-grid > article.panel-card:nth-of-type(3) {
    grid-column: 1; grid-row: auto;
  }
  .panel-card { margin-top: 8px; }
  .panel-card-thumb img { height: 180px; }
}


/* Fix typo that can break parsing */
.panel-card-excerpt { color: #000; }

/* Make image wrappers positioning context for overlay */
.panel-featured-image a,
.panel-card-media {
	position: relative;
	display: block;
	border-radius: 20px;
	overflow: hidden;
}

/* Small cards: constrain image height */
.panel-card-media img {
	display: block;
	width: 100%;
	height: 180px;           /* tune if needed */
	object-fit: cover;
	border-radius: 20px;
}

/* Play button overlay (only shown when .has-video on the link) */
.has-video .video-play {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: rgba(0,0,0,0.65);
	box-shadow: 0 6px 20px rgba(0,0,0,0.25);
	transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.has-video .video-play::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-42%, -50%);
	border-top: 10px solid transparent;
	border-bottom: 10px solid transparent;
	border-left: 16px solid #fff;
}

/* Smaller button for right cards */
.panel-card .has-video .video-play {
	width: 48px;
	height: 48px;
}
.panel-card .has-video .video-play::before {
	border-top-width: 8px;
	border-bottom-width: 8px;
	border-left-width: 13px;
}

/* Hover dim + scale */
.panel-featured-image a:hover img,
.panel-card-media:hover img { filter: brightness(0.92); }
.has-video:hover .video-play {
	transform: translate(-50%, -50%) scale(1.06);
	background: rgba(0,0,0,0.75);
	box-shadow: 0 10px 26px rgba(0,0,0,0.32);
}

/* Screen-reader text */
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

/* Play icon overlay (reuses your wrappers) */
.panel-featured-image a,
.panel-card-thumb a { position: relative; display: block; }

.video-play {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: rgba(0,0,0,0.55);
	display: inline-block;
}
.video-play::after {
	content: "";
    position: absolute;
    left: 33px;
    top: 32px;
    border-left: 20px solid #fff;
    border-top: 10px solid transparent;
    border-bottom: 12px solid transparent;
}

/* Accessible hidden text */
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0,0,0,0);
	border: 0;
}

/* Video modal */
.video-modal {
	position: fixed;
	inset: 0;
	display: none;                 /* toggled by JS */
	align-items: center;
	justify-content: center;
	z-index: 9999;
}
.video-modal.is-open { display: flex; }

.video-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,0.6);
}

.video-modal__dialog {
	position: relative;
	max-width: 960px;
	width: 92%;
	aspect-ratio: 16 / 9;
	background: #000;
	border-radius: 14px;
	box-shadow: 0 20px 60px rgba(0,0,0,0.35);
	overflow: hidden;
}

.video-modal__frame,
.video-modal__frame iframe {
	width: 100%;
	height: 100%;
	display: block;
}

.video-modal__close {
	position: absolute;
	right: 10px;
	top: 6px;
	font-size: 28px;
	line-height: 1;
	background: transparent;
	border: 0;
	color: #fff;
	cursor: pointer;
	z-index: 2;
}













/* ================== INSIGHTS SECTION ================== */

.insights-section {
    padding: 80px 0;
    background-color: #ffffff; /* white like hero */
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 40px;
    row-gap: 40px;
}

/* Card layout */
.insight-card {
    display: flex;
    flex-direction: column;
}

/* Image */
.insight-thumb {
    margin-bottom: 20px;
}

.insight-thumb img {
    width: 100%;
    display: block;
    border-radius: 20px;
    object-fit: cover;
}

/* Text */
.insight-content {
    display: flex;
    flex-direction: column;
}

.insight-title {
    font-size: 22px;
    font-weight: 500;
    margin: 0 0 12px;
}

.insight-title a {
    color: #000;
    text-decoration: none;
}

.insight-excerpt {
    font-size: 16px;
    color: #000;
    line-height: 1.6;
    margin: 0 0 16px;
}

/* "Learn More" uses .learn-more-link that you already have */

/* Bottom button – reuse hero button style for consistency */
.insights-footer {
    text-align: center;
    margin-top: 48px;
}

.insights-more-button {
    /* hero-button class already gives pill outline; no extra styles needed,
       but you can tweak here if needed */
}

/* Responsive */
@media (max-width: 1024px) {
    .insights-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .insights-grid {
        grid-template-columns: 1fr;
    }
}

/* ================== INTERVIEW SECTION ================== */

.interview-section {
    padding: 80px 0;
    background-color: #f3f3f6; /* same bg as panel-section */
}

/* Make articles 2 columns */
.interview-section .container {
    max-width: 1200px;
}

.interview-section .container > article.interview-featured {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 20px;
    padding: 20px;
    transition: box-shadow 0.2s ease;
}

.interview-section .container > article.interview-featured:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

/* Two-column grid layout */
.interview-section .interview-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
}

/* Image */
.interview-image {
    margin-bottom: 20px;
}

.interview-image img {
    width: 100%;
    display: block;
    border-radius: 20px;
    object-fit: cover;
    aspect-ratio: 16/9; /* consistent image ratio */
	border: 1px solid #ddd;
}

/* Content */
.interview-content {
    flex-grow: 1;
}

.interview-title {
    font-size: 22px;
    font-weight: 500;
    margin: 0 0 12px;
}

.interview-excerpt {
    font-size: 16px;
    line-height: 1.6;
    color: #000;
    margin: 0 0 16px;
}

/* Footer button stays centered below grid */
.interview-footer,
.panel-footer{
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 40px;
}

/* Responsive: stack on smaller screens */
@media (max-width: 992px) {
    .interview-section .container {
        grid-template-columns: 1fr;
    }
}


/* "Learn More" reuses .learn-more-link */

/* Bottom button – reuse panel button style */
.interview-footer {
    text-align: center;
}

/* panel-more-button already styled in your CSS */

/* ================== CONTENT TEXT SECTION ================== */

.content-section {
    padding: 80px 0;
    background-color: #f3f3f6;  /* same bg tone as panel / interview sections */
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
}

.content-section-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 60px;
    background-color: #f5f5f7;
    border-radius: 40px;
}

.content-section-text p {
    font-size: 16px;
    line-height: 1.6;
    color: #000;
    margin: 0 0 16px;
}

.content-section-text p:last-child {
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .content-section-inner {
        padding: 32px 20px;
        border-radius: 24px;
    }
}


/* ================== PANELS & EVENTS LIST SECTION ================== */

.panel-list-section {
    padding: 80px 0;
    background-color: #ffffff; /* plain white like other inner pages */
}

/* Grid: first card full width, others two per row */
.panel-list-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
}

/* Base card style */
.panel-list-card {
    background: #f5f5f7;
    border-radius: 24px;
    overflow: hidden;
}

/* Featured first card */
.panel-list-card--featured {
    grid-column: 1 / -1;          /* span both columns */
    display: flex;
    flex-direction: row;
}

/* Images */
.panel-list-card__image {
    position: relative;
}

.panel-list-card__image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.panel-list-card--featured .panel-list-card__image {
    flex: 0 0 45%;
}

.panel-list-card--featured .panel-list-card__image img {
    height: 100%;
}

/* Content */
.panel-list-card__content {
    padding: 40px 24px;
}

.panel-list-card__title {
    font-size: 20px;
    font-weight: 500;
    margin: 0 0 12px;
}

.panel-list-card__title a {
    color: #000;
    text-decoration: none;
}

.panel-list-card__excerpt {
    font-size: 16px;
    line-height: 1.6;
    color: #000;
    margin: 0 0 16px;
}

/* Learn More uses .learn-more-link you already have */

/* Responsive */
@media (max-width: 1024px) {
    .panel-list-grid {
        grid-template-columns: 1fr;
    }

    .panel-list-card--featured {
        flex-direction: column;
    }

    .panel-list-card--featured .panel-list-card__image {
        flex: 0 0 auto;
    }
}

@media (max-width: 768px) {
    .panel-list-card__content {
        padding: 16px 18px 20px;
    }
}

/* Small-card image on the right column */
.panel-card-thumb {
	margin: 0 0 16px;
}

.panel-card-thumb img {
	display: block;
	width: 100%;
	height: 180px;           /* tweak as desired */
	object-fit: cover;
	border-radius: 14px;     /* matches your soft cards */
}

/* Ensure card looks balanced with an image */
.panel-card {
	background: #ffffff;
	border-radius: 20px;
	padding: 20px 24px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.panel-card-title {
	margin: 0 0 12px;
}

.panel-card-excerpt {
	margin: 0 0 12px;
	line-height: 1.6;
}


/* ================== MEDIA INTERVIEW LIST SECTION ================== */

.media-interview-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.media-interview-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
}

/* Card */
.media-interview-card {
    background: #f5f5f7;
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Image */
.media-interview-thumb {
    margin: 0;
}

.media-interview-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Content */
.media-interview-content {
    padding: 20px 24px 24px;
}

.media-interview-title {
    font-size: 18px;
    font-weight: 500;
    margin: 0 0 12px;
}

.media-interview-title a {
    color: #000;
    text-decoration: none;
}

.media-interview-excerpt {
    font-size: 16px;
    line-height: 1.6;
    color: #000;
    margin: 0 0 16px;
}

/* "Watch Video" link */
.watch-video-link {
    font-size: 16px;
    font-weight: 500;
    text-decoration: underline;
    color: #000;
}

/* Responsive */
@media (max-width: 768px) {
    .media-interview-grid {
        grid-template-columns: 1fr;
    }

    .media-interview-content {
        padding: 16px 18px 20px;
    }
}

/* ================== INSIGHTS LIST SECTION ================== */

.insights-list-section {
    padding: 80px 0;
    background-color: #ffffff;
}

/* Grid: 3 cards per row on desktop */
.insights-list-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
}

/* Card */
.insights-list-card {
    display: flex;
    flex-direction: column;
}

/* Image */
.insights-list-thumb {
    margin-bottom: 16px;
}

.insights-list-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 16px;
}

/* Text content */
.insights-list-content {
    display: flex;
    flex-direction: column;
}

.insights-list-title {
    font-size: 18px;
    font-weight: 500;
    margin: 0 0 10px;
}

.insights-list-title a {
    color: #000;
    text-decoration: none;
}

.insights-list-excerpt {
    font-size: 16px;
    line-height: 1.6;
    color: #000;
    margin: 0 0 14px;
}

/* "Learn More" uses .learn-more-link you already have */

/* Responsive */
@media (max-width: 1024px) {
    .insights-list-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .insights-list-grid {
        grid-template-columns: 1fr;
    }
}


/* ================== INSIGHTS PAGINATION ================== */

.insights-pagination {
    margin-top: 48px;
    text-align: center;
}

.insights-pagination ul {
    display: inline-flex;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.insights-pagination a,
.insights-pagination span {
    display: inline-block;
    padding: 10px 18px;
    border: 1px solid #000;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    color: #000;
    background: #fff;
    transition: all 0.2s ease;
}

.insights-pagination a:hover {
    background: #000;
    color: #fff;
}

.insights-pagination .current {
    background: #000;
    color: #fff;
}

/* ================== SINGLE ARTICLE ================== */

.single-interview .single-article-featured-image,
.single-event .single-article-featured-image{
	display: none;
}
.single-article-section {
    padding: 80px 0;
    background-color: #ffffff;
}

/* Header (category, title, meta) */

.single-article-header {
    max-width: 800px;
    margin: 0 auto 32px;
    text-align: center;
}

.single-article-category {
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 8px;
}

.single-article-title {
    font-size: 32px;
    line-height: 1.25;
    font-weight: 600;
    margin: 0 0 16px;
}

.single-article-meta {
    font-size: 13px;
    color: #777;
}

.single-article-separator {
    margin: 0 6px;
}

/* Featured image */

.single-article-featured-image {
    max-width: 1100px;
    margin: 0 auto 32px;
    border-radius: 24px;
    overflow: hidden;
}

.single-article-featured-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Body content */

.single-article-body {
    max-width: 800px;
    margin: 0 auto 60px;
}

.single-article-content {
    font-size: 16px;
    line-height: 1.7;
    color: #000;
}

/* Headings inside content */

.single-article-content h2,
.single-article-content h3,
.single-article-content h4 {
    margin-top: 32px;
    margin-bottom: 12px;
    font-weight: 600;
}

.single-article-content h2 {
    font-size: 24px;
}

.single-article-content h3 {
    font-size: 20px;
}

.single-article-content h4 {
    font-size: 18px;
}

/* Paragraphs & lists */

.single-article-content p {
    margin: 0 0 16px;
}

.single-article-content ul,
.single-article-content ol {
    margin: 0 0 16px 1.5em;
    padding: 0;
}

.single-article-content li {
    margin-bottom: 6px;
}

/* Blockquotes */

.single-article-content blockquote {
    margin: 24px 0;
    padding: 12px 20px;
    border-left: 3px solid #000;
    background: #f7f7f7;
    font-style: italic;
}

/* Images inside content */

.single-article-content img {
    max-width: 100%;
    height: auto;
}

/* Navigation */

.single-article-navigation {
    max-width: 800px;
    margin: 0 auto;
}

.single-article-nav-links {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.single-article-nav-links a {
    text-decoration: underline;
    color: #000;
    font-weight: 500;
}

/* Responsive */

@media (max-width: 768px) {

    .single-article-section {
        padding: 60px 0;
    }

    .single-article-header {
        padding: 0 8px;
        text-align: left;
    }

    .single-article-title {
        font-size: 24px;
    }

    .single-article-featured-image {
        border-radius: 16px;
    }

    .single-article-body {
        padding: 0 8px;
        margin-bottom: 40px;
    }

    .single-article-nav-links {
        flex-direction: column;
        gap: 8px;
    }
}
.wp-block-embed__wrapper {
  position: relative;
  padding-bottom: 56.25%; /* keeps 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
}
a {
    color: #000;
}

.wp-block-embed__wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.canonical {
    background-color: #f4f3f2;
    padding: 20px;
    border-radius: 10px;
    font-style: italic;
    font-weight: 500;
    color: #474747;
    margin-bottom: 30px;
}
.canonical p{
	margin-bottom: 0;
}