/*
Theme Name:     Neve Child
Theme URI:      https://themeisle.com/themes/neve/
Template: neve
Author:         ThemeIsle
Author URI:     https://themeisle.com
Description:    Neve is a super fast, easily customizable, multi-purpose theme. It’s perfect for blogs, small business, startups, agencies, firms, e-commerce shops (WooCommerce storefront) as well as personal portfolio sites and most types of projects. A fully AMP optimized and responsive theme, Neve will load in mere seconds and adapt perfectly on any viewing device. While it is lightweight and has a minimalist design, the theme is highly extendable, it has a highly SEO optimized code, resulting in top rankings in Google search results. Neve works perfectly with Gutenberg and the most popular page builders (Elementor, Brizy, Beaver Builder, Visual Composer, SiteOrigin, Divi). Neve is also WooCommerce ready, responsive, RTL & translation ready. Look no further. Neve is the perfect theme for you!
Version:        1.0.0
License:        GNU General Public License v2 or later
License URI:    http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:    neve
Tags: blog, custom-logo, e-commerce, rtl-language-support, post-formats, grid-layout, one-column, two-columns, custom-background, custom-colors, custom-header, custom-menu, featured-image-header, featured-images, flexible-header, full-width-template, sticky-post, theme-options, threaded-comments, translation-ready, accessibility-ready, wide-blocks, block-styles
*/

/* campaign hub primary title */
.wp-block-column.appeal-icon-header.is-layout-flow.wp-block-column-is-layout-flow {
    margin-right: -115px ;
}

/* ===== Latest Campaign Stories Styling ===== */
.latest-campaign-stories {
	display: grid ;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) ;
	gap: 32px ;
	max-width: 1200px ;
	margin: 40px auto ;
	padding: 0 20px ;
}

.campaign-card {
	background: #fff ;
	border: 4px solid #f9a99b ;
	text-align: center ;
	box-shadow: 0 2px 8px rgba(0,0,0,0.05) ;
	padding: 16px ;
	display: flex ;
	flex-direction: column ;
	justify-content: space-between ;
}

.campaign-card__title {
	background: #f9a99b ;
	color: #222 ;
	font-size: 1.4rem ;
	font-weight: 700 ;
	margin: -16px -16px 16px -16px ;
	padding: 12px ;
	border-bottom: 5px solid #222 ;
}

.campaign-card__title a {
	text-decoration: none ;
	color: inherit ;
}

.campaign-card__imglink img {
	width: 100% ;
	height: auto ;
	border: 1px solid #ddd ;
	display: block ;
	margin-bottom: 16px ;
}

.campaign-card__quote {
	font-size: 1rem ;
	color: #333 ;
	line-height: 1.6 ;
	margin: 0 auto 12px auto ;
	max-width: 90% ;
	font-style: italic ;
}

.campaign-card__hashtag {
	font-size: 1rem ;
	color: #000 ;
	font-weight: 700 ;
	margin-top: 8px ;
	margin-bottom: 0 ;
}

@media (max-width: 900px) {
	.latest-campaign-stories {
		grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) ;
		gap: 20px ;
	}
}

/* archive campaign story css start */
/* ===== Campaign Storys Archive – 3-column layout ===== */

body.post-type-archive-campaign-storys main#primary {
  max-width: 1200px ;
  margin: 0 auto ;
  padding: 40px 20px ;
  font-family: "Helvetica Neue", Arial, sans-serif ;
}

/* Wrap posts in a 3-column grid */
body.post-type-archive-campaign-storys main#primary {
  display: grid ;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)) ;
  gap: 32px ;
}

body.post-type-archive-campaign-storys article {
  background: #fff ;
  border: 4px solid #f9a99b ;
  text-align: center ;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05) ;
  padding: 16px ;
  display: flex ;
  flex-direction: column ;
  justify-content: space-between ;
}

/* Heading: "Read {Title}" */
body.post-type-archive-campaign-storys article > h2 {
  background: #f9a99b ;
  color: #222 ;
  font-size: 1.3rem ;
  font-weight: 700 ;
  margin: -16px -16px 16px -16px ;
  padding: 12px ;
  border-bottom: 5px solid #222 ;
}

body.post-type-archive-campaign-storys article > h2 a {
  text-decoration: none ;
  color: inherit ;
}

/* Featured image */
body.post-type-archive-campaign-storys article a img {
  width: 100% ;
  height: auto ;
  display: block ;
  border: 1px solid #ddd ;
  margin-bottom: 16px ;
}

/* Quote */
body.post-type-archive-campaign-storys article > p {
  font-size: 1rem ;
  color: #333 ;
  line-height: 1.6 ;
  margin: 0 auto 12px auto ;
  max-width: 90% ;
  font-style: italic ;
}

/* Hashtag */
body.post-type-archive-campaign-storys article > h3 {
  font-size: 1rem ;
  color: #000 ;
  font-weight: 700 ;
  margin-top: 8px ;
  margin-bottom: 0 ;
}

/* Pagination */
body.post-type-archive-campaign-storys .pagination,
body.post-type-archive-campaign-storys .nav-links {
  grid-column: 1 / -1 ; /* span full width of grid */
  text-align: center ;
  margin-top: 40px ;
}

/* Responsive tweaks */
@media (max-width: 900px) {
  body.post-type-archive-campaign-storys main#primary {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) ;
    gap: 24px ;
  }
}

/* archive campaign story css end */

/* Archive Career Start */
/* Archive frame */
.management-archive .archive-header { margin-bottom: 2rem ; }

/* Intro (mirrors Trustees, but with management-* classes) */
.management-intro {
  background: #fff3e6 ;
  border-radius: 16px ;
  padding: 16px 20px ;
  margin: 0 0 24px 0 ;
}
.management-intro__text {
  margin: 0 ;
  text-align: center ;
  line-height: 1.6 ;
  color: #333 ;
}
/* WP’s archive description output inside the intro */
.management-archive .archive-description {
  text-align: center ;
}

/* Orange wrapper around all listings (terms + cards) — card-style */
.orange-background {
  border-radius: 16px ;
  padding: 5% ;
  margin: 0 0 24px 0 ;
}

/* Term sections in the orange wrapper */
.management-section { margin: 2.5rem 0 ; }
.management-section:first-child { margin-top: 0.5rem ; }
.management-section:last-child { margin-bottom: 0 ; }
.management-section__title {
  margin: 0 0 1rem ;
}

/* Grid */
.management-grid {
  list-style: none ;
  margin: 0 ;
  padding: 0 ;
  display: grid ;
  grid-template-columns: repeat( auto-fill, minmax(340px, 1fr) ) ;
  gap: 20px ;
}

@media (max-width: 500px) {
   .management-grid {
    grid-template-columns: repeat(auto-fill, minmax(50%, 1fr)) ;
}
}

/* Card */
.management-card {
  background: #fff ;
  border-radius: 16px ;
  box-shadow: 0 2px 10px rgba(0,0,0,.06) ;
  overflow: hidden ;
  transition: transform .15s ease, box-shadow .15s ease ;
}
.management-card:hover {
  transform: translateY(-2px) ;
  box-shadow: 0 6px 18px rgba(0,0,0,.10) ;
}
.management-card__link { text-decoration: none ; color: inherit ; display: block ; height: 100% ; }

/* Media */
.management-card__media {
  aspect-ratio: 4 / 3 ;
  background: #f4f6f8 ;
  display: flex ;
  align-items: center ;
  justify-content: center ;
  overflow: hidden ;
}
.management-card__media img {
  width: 100% ;
  height: 100% ;
  object-fit: cover ;
}

/* Body */
.management-card__body { padding: 14px 16px 16px ; }
.management-card__name { font-size: 1.05rem ; line-height: 1.3 ; margin: 0 0 6px ; }
.management-card__role { margin: 0 ; color: #666 ; font-size: 0.95rem ; }

/* Non-clickable cards if no content */
.management-card--static { pointer-events: none ; }

/* Archive Career End */

/* Archive Trustee Start */

/* Archive frame */
.trustees-archive .archive-header { margin-bottom: 2rem ; }

/* Intro */
.trustees-intro {
  background: #fff3e6 ;
  border-radius: 16px ;
  padding: 16px 20px ;
  margin: 0 0 24px 0 ;
}
.trustees-intro__text {
  margin: 0 ;
  text-align: center ;
  font-size: 1rem ;
  line-height: 1.6 ;
  color: #333 ;
}

/* Term sections */
.trustees-section { margin: 3rem 0 ; }
.trustees-section__title { margin: 0 0 1rem ; }

/* Grid */
.trustees-grid {
  list-style: none ;
  margin: 0 ;
  padding: 0 ;
  display: grid ;
  grid-template-columns: repeat( auto-fill, minmax(340px, 1fr) ) ;
  gap: 20px ;
}

@media (max-width: 500px) {
   .trustees-grid {
    grid-template-columns: repeat(auto-fill, minmax(50%, 1fr));
}
	}
	
/* Card */
.trustees-card {
  background: #fff ;
  border-radius: 16px ;
  box-shadow: 0 2px 10px rgba(0,0,0,.06) ;
  overflow: hidden ;
  transition: transform .15s ease, box-shadow .15s ease ;
}
.trustees-card:hover {
  transform: translateY(-2px) ;
  box-shadow: 0 6px 18px rgba(0,0,0,.10) ;
}
.trustees-card__link { text-decoration: none ; color: inherit ; display: block ; height: 100% ; }

/* Media */
.trustees-card__media {
  aspect-ratio: 4 / 3 ;
  background: #f4f6f8 ;
  display: flex ;
  align-items: center ;
  justify-content: center ;
  overflow: hidden ;
}
.trustees-card__media img {
  width: 100% ;
  height: 100% ;
  object-fit: cover ;
}

/* Body */
.trustees-card__body { padding: 14px 16px 16px ; }
.trustees-card__name { font-size: 1.05rem ; line-height: 1.3 ; margin: 0 0 6px ; }
.trustees-card__role { margin: 0 ; color: #666 ; font-size: 0.95rem ; }

/* Non-clickable cards if no content */
.trustees-card--static { pointer-events: none ; }
	
.archive-description {
    text-align: center ;
}

/* Archive Trustee End */

/* Single Campaign Story Start */

/* Scope everything to this CPT only */
body.single-campaign-storys .campaign-wrap {
	max-width: 1200px ;
	margin: 0 auto 60px auto ;
	padding: 0 20px ;
}

body.single-campaign-storys .campaign-title {
	font-size: clamp(28px, 4vw, 44px) ;
	font-weight: 800 ;
	color: #1e2a31 ;
	margin: 10px 0 18px 0 ;
	line-height: 1.1 ;
}

body.single-campaign-storys .campaign-panel {
	background: #f9a66f ;
	padding: 28px ;
	border: 6px solid #f9a66f ;
}

@media (min-width: 900px) {
	body.single-campaign-storys .campaign-panel {
		padding: 36px ;
	}
}

/* Two-column grid */
body.single-campaign-storys .campaign-grid {
	display: grid ;
	grid-template-columns: 1fr ;
	gap: 28px ;
	align-items: start ;
}

@media (min-width: 1000px) {
	body.single-campaign-storys .campaign-grid {
		grid-template-columns: 1.1fr 1fr ;
		gap: 36px ;
	}
}

/* Left column (content) */
body.single-campaign-storys .campaign-content {
	color: #1e2a31 ;
	font-size: clamp(16px, 1.2vw, 18px) ;
	line-height: 1.8 ;
	max-width: 62ch ;
	margin: 0 auto ;
}

body.single-campaign-storys .campaign-content p {
	margin: 0 0 22px 0 ;
}

/* Trigger warning box */
body.single-campaign-storys .campaign-trigger {
	background: #fff3cd ;
	border-left: 6px solid #f0ad4e ;
	padding: 12px 16px ;
	margin-bottom: 24px ;
	color: #5a4500 ;
	font-size: 16px ;
	font-weight: 600 ;
}

/* Right column card */
body.single-campaign-storys .campaign-card {
	background: #ffffff ;
	border: 12px solid #f1f1f1 ;
	box-shadow: 0 1px 0 rgba(0,0,0,0.05) ;
	padding: 16px ;
}

@media (min-width: 900px) {
	body.single-campaign-storys .campaign-card { padding: 18px ; }
}

body.single-campaign-storys .campaign-card img {
	display: block ;
	width: 100% ;
	height: auto ;
}

body.single-campaign-storys .campaign-quote {
	font-size: clamp(18px, 1.8vw, 24px) ;
	line-height: 1.6 ;
	color: #1e2a31 ;
	margin: 16px 0 8px 0 ;
}

body.single-campaign-storys .campaign-hashtag {
	font-size: clamp(15px, 1.2vw, 18px) ;
	font-weight: 800 ;
	color: #12202a ;
	margin: 8px 0 0 0 ;
}
/* Single Campaign Story End */


/* Single Management Start */

.single-management .management-single__wrap {
  margin-top: 24px ;
  margin-bottom: 48px ;
}

.management-single__header {
  margin-bottom: 18px ;
}

.management-single__name {
  margin: 0 0 6px 0;
  font-size: 2.5em ;
  line-height: 1.2 ;
}

.management-single__role {
  margin: 0 0 12px 0 
  color: #666 ;
  font-size: 1em ;
}

/* Two-column grid: content left, image right */
.management-single__grid {
  display: grid ;
  grid-template-columns: 1fr minmax(580px, 140px) ;
  gap: 28px ;
  align-items: start ;
}

.management-single__content {
  background: transparent ;
}

.management-single__media {
  top: 24px ; 
}

.management-single__figure {
  margin: 0 ;
  border-radius: 16px ;
  overflow: hidden ;
  box-shadow: 0 2px 14px rgba(0,0,0,.08) ;
  background: #f6f7f9 ;
}

.management-single__figure img.mgmt-portrait {
  display: block ;
  width: 100% ;
  height: auto ;
  object-fit: cover ;
}

.management-single__placeholder {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 16px;
  background: repeating-linear-gradient(
    -45deg,
    #f0f2f5,
    #f0f2f5 10px,
    #e7e9ee 10px,
    #e7e9ee 20px
  );
  box-shadow: 0 2px 14px rgba(0,0,0,.08) ;
}

.management-single__terms {
  list-style: none ;
  padding: 0 ;
  margin: 22px 0 0 0 ;
  display: flex ;
  flex-wrap: wrap ;
  gap: 8px ;
}
.management-single__terms li {
  padding: 6px 10px ;
  background: #f3f5f8 ;
  border-radius: 999px ;
  font-size: .9rem ;
  color: #555 ;
}

/* Accessibility helper */
.screen-reader-text {
  position: absolute !important ;
  height: 1px; width: 1px ;
  overflow: hidden; clip: rect(1px,1px,1px,1px) ;
  white-space: nowrap ;
}

/* Responsive: stack on small screens */
@media (max-width: 920px) {
  .management-single__grid {
    grid-template-columns: 1fr ;
  }
  .management-single__media {
    position: static ;
    order: -1 ;
  }
  .management-single__role {
    margin-bottom: 16px ;
  }
}

/* Single Manager End */

/* Single Trustee Start */
.single-trustees .trustees-single__wrap {
  margin-top: 24px ;
  margin-bottom: 48px ;
}

.trustees-single__header {
  margin-bottom: 18px ;
}

.trustees-single__name {
  margin: 0 0 6px 0 ;
  font-size: 2.5em ;
  line-height: 1.2 ;
}

.trustees-single__role {
  margin: 0 0 12px 0 ;
  color: #666 ;
  font-size: 1em ;
}

/* Two-column grid: content left, image right */
.trustees-single__grid {
  display: grid ;
  /* min must be <= max: keep image column sensible on wide & narrow */
  grid-template-columns: 1fr minmax(240px, 580px) ;
  gap: 28px ;
  align-items: start ;
}

.trustees-single__content {
  background: transparent ;
}

.trustees-single__media {
  top: 24px ;
}

.trustees-single__figure {
  margin: 0 ;
  border-radius: 16px ;
  overflow: hidden ;
  box-shadow: 0 2px 14px rgba(0,0,0,.08) ;
  background: #f6f7f9 ;
}

.trustees-single__figure img.trustee-portrait {
  display: block ;
  width: 100% ;
  height: auto ;
  object-fit: cover ;
}

/* Placeholder if no featured image */
.trustees-single__placeholder {
  width: 100% ;
  aspect-ratio: 3 / 4 ;
  border-radius: 16px ;
  background: repeating-linear-gradient(
    -45deg,
    #f0f2f5,
    #f0f2f5 10px,
    #e7e9ee 10px,
    #e7e9ee 20px
  ) ;
  box-shadow: 0 2px 14px rgba(0,0,0,.08) ;
}

.trustees-single__terms {
  list-style: none ;
  padding: 0 ;
  margin: 22px 0 0 0 ;
  display: flex ;
  flex-wrap: wrap ;
  gap: 8px ;
}
.trustees-single__terms li {
  padding: 6px 10px ;
  background: #f3f5f8 ;
  border-radius: 999px ;
  font-size: .9rem ;
  color: #555 ;
}

/* Accessibility helper */
.screen-reader-text {
  position: absolute !important ;
  height: 1px ; width: 1px ;
  overflow: hidden ; clip: rect(1px,1px,1px,1px) ;
  white-space: nowrap ;
}

/* Responsive: stack on small screens */
@media (max-width: 920px) {
  .trustees-single__grid {
    grid-template-columns: 1fr ;
  }
  .trustees-single__media {
    position: static ;
    order: -1 ;
  }
  .trustees-single__role {
    margin-bottom: 16px ;
  }
}

/* Single Trustee End */

/* === Art in Mind Campaign  Start === */

#art-in-campaign.wp-block-columns {
  align-items: stretch !important ;
  gap: 0 !important ;
}

#art-in-campaign .wp-block-column {
  margin: 0 !important ;
  align-self: stretch !important ;
}

#art-in-campaign .wp-block-column figure.wp-block-image {
  margin: 0 !important ;
  height: 100% ;
}

#art-in-campaign .wp-block-column figure.wp-block-image img {
  width: 100% ;
  height: 100% !important ;
  object-fit: cover ;
}

/* === Art in Mind Campaign  End === */


/* removing appeal icon on campaign hub page on smaller screens */
@media screen and (max-width: 1450px) {
    .wp-block-column.appeal-icon-header.is-layout-flow.wp-block-column-is-layout-flow {
        margin-right: 0px ;
    }

    figure.wp-block-image.size-full.appeal-image {
        display: none ;
    }
}
