/**
 * Theme Name:     IRSS - Divi Child Theme
 * Author:         Exclaim
 * Template:       Divi
 * Text Domain:	   irss
 * Description:    Divi Child Theme
 */
/* -----------------------------------------
   VARIABLES: Fonts & Colors
----------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@400;600;700&display=swap');

:root {
  /* Fonts */
  --font-heading:"Nunito Sans", montserrat, "Source Sans Pro", Helvetica, Arial, sans-serif;
  --font-heading-weight: 700;
  --font-body: Raleway,"Source Sans Pro", Helvetica, Arial, sans-serif;
  /* Colors */
  --black: #000;
  --white: #fff;
  --gray: #9CA6AB;
  --blue: #0092D1;
  
}
/* -----------------------------------------
   TYPOGRAPHY
----------------------------------------- */
body, p, a, li, ul, ol, blockquote, input, textarea, button {
  font-family: Raleway,"Source Sans Pro", Helvetica, Arial, sans-serif;
  font-weight: normal;
  line-height: 1.4em;
  font-size: 21px;
}
.et_pb_text > .et_pb_text_inner {
    font-size: 21px;
	line-height: 1.4em;
}
.custom-header-white {
  position: absolute !important;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight:700!important;
  color: #0092D1!important;
  margin-top: 0;
  margin-bottom: 0.5em;
  line-height: 1.2em;
}
h1 {
  font-size: 66px;
  padding-bottom: 0;
	margin: 10px 0!important;
}
h1, h2 {
  font-size: 36px;
	text-transform: uppercase;
}

.et_pb_slide_content h2 {
	color:#002c4b!important;
}
.mission-vision h2 {
	font-size:22px!important;
	color: #333!important;
}
.mission-vision p {
	font-size:26px!important;
}

h2.gform_title {
	color: #000!important;
	font-size: 21px!important;
	font-weight: bold!important;
	text-transform: none!important;
}
h3 {
  font-size: 46px;
  margin: 7px 0;
	color: #333!important;
}

p {
	font-size: 21px;
}
/* -----------------------------------------
   LINKS & BUTTONS
----------------------------------------- */
/* Underline all non-button links on hover */
a:hover {
  text-decoration: underline;
}
#et-top-navigation nav > ul > li > a {
  font-weight: 600 !important;
}
#et-top-navigation nav > ul > li > a:hover {
  text-decoration: underline;
}

.et_button_no_icon.et_button_icon_visible.et_button_left .et_pb_button, .et_button_no_icon.et_button_left .et_pb_button:hover, .et_button_no_icon .et_pb_button, .et_button_no_icon .et_pb_button:hover  {
  padding: 12px 35px !important;
	border: 1px solid #fff !important;
}

.et_pb_video_play:hover {
  text-decoration: none !important;
	opacity: 0.75 !important;
}






/* -----------------------------------------
   FORMS
----------------------------------------- */

.gfield_label {
	font-weight: 21px!important;
	font-weight: bold!important;
}

.gform-theme--framework .gform-field-label {
  --gf-ctrl-label-font-size-primary: 21px !important;
}

/* -----------------------------------------
   HOME PAGE
----------------------------------------- */

/* -----------------------------------------
   SEARCH RESULTS PAGE - REMOVE IMAGES FROM BLOG POSTS
----------------------------------------- */



/* -----------------------------------------
   FOOTER
----------------------------------------- */
footer a {
	color: #f0f6fc!important;
	text-decoration: underline!important;
}
footer a:hover {
	color: #fff!important;
}

/* -----------------------------------------
   MEDIA QUERIES
----------------------------------------- */
@media (max-width: 1260px) {
  
}
@media (max-width: 700px) {
  
}
@media (max-width: 600px) {
  
}
@media (max-width: 480px) {
  
}

/*----------------------------------------
OUR STORY PAGE
-----------------------------------------*/

.quote p, p.quote  {
	font-size: 36px!important;
	color: #fff;
	
}

p.quote::before {
    content: '\201C';   /* opening curly quote */
    margin-left: -0.5em;
    margin-right: 0.1em;
}

p.quote::after {
    content: '\201D';   /* closing curly quote */
    margin-left: 0.1em;
}

.quote::before,
.quote::after {
    font-size: 80px;
    color: #00a0df;
    line-height: 0;        /* prevents the large quote from pushing line height */
    vertical-align: -0.4em; /* nudges it back into alignment */
}
p.quote-person {
	color: #00a0df!important;
}




.three-logos {
  display: flex;
  gap: 10px;
}

.three-logos img {
  width: 33.33%;
  height: auto;
  object-fit: cover;
}

.employee-headshot {
    z-index: 5000;
}

.careers-values h3{
	font-size: 21px!important;
}

.careers-page h2 {
	color:#000!important;
	font-size: 46px!important;
}
.careers-page h3{
	color: #000!important;
	font-size: 21px!important;
	text-transform: uppercase;
}


.pft-date {
	font-family: var(--font-heading);
}
/* -----------------------------------------
   EXONEREES PAGE STYLES
----------------------------------------- */
.custom-projects-intro {
  text-align: center;
  padding: 3em 1em 1em;
  max-width: 800px;
  margin: 0 auto;
  padding-top: 160px;
}
.custom-projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2em;
  padding: 2em;
  max-width: 1200px;
  margin: 0 auto;
}
.custom-project {
  border: 1px solid #eee;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  background: transparent;
  box-shadow: none;
  box-sizing: border-box;
  padding: 0;
  min-height: 568px;
}
.custom-project:hover {
  background: #fff;
  box-shadow: 0 6px 36px rgba(126, 152, 164, 0.12);
  padding: 25px;
}
.custom-project img {
  width: 364px;
  height: 433px;
  display: block;
  border-radius: 20px;
  object-fit: cover;
  object-position: center;
}
.custom-project:hover img {
  max-height: 346px;
}
.custom-meta-container {
  display: flex;
  gap: 1em;
  display: none;
}
.custom-project:hover .custom-meta-container {
  display: flex;
}
.custom-meta-box {
  flex: 1 1 50%;
  background: #eeefef;
  padding: 0.75em 1em;
  border-radius: 10px;
  box-sizing: border-box;
  font-size: 14px;
  color: #9CA6AB;
  text-align: center;
}
.custom-meta-box strong {
  color: #000;
  display: block;
  margin-bottom: 0.25em;
  font-weight: 600;
  text-align: center;
}
.custom-project-content h2 {
  text-align: center;
  padding-top: 15px;
  line-height: 30px;
}
.custom-project-content h2 a {
  font-size: 32px !important;
  font-weight: 600;
}
.custom-project-content h2 a:hover {
  text-decoration: none;
}
.custom-project:hover .custom-project-content h2 {
  text-align: left;
}
.explore-case {
  display: none;
}
.custom-project:hover .explore-case {
  display: block;
  margin-bottom: 15px;
}
.custom-read-more {
  display: inline-block;
  font-weight: 600;
}
/* BREAK SECTION STYLES */
.custom-break-section {
  width: 100%;
  background: #000 url('/wp-content/uploads/2025/06/hero-background-scaled.webp') no-repeat left center;
  background-size: cover;
  padding: 165px 100px 100px;
  display: flex;
  justify-content: center;
  min-height: 500px;
}
.custom-break-inner {
  max-width: 950px;
  width: 80%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2em;
  align-items: start;
  text-align: left;
}
.custom-break-inner h2, .custom-break-inner h3 {
  color: #fff !important;
  margin: 0;
}
.custom-break-inner h2 {
  font-size: 76px !important;
  font-weight: 600;
}
.custom-break-inner h3 {
  font-size: 16px !important;
  font-weight: 500 !important;
  font-family: var(--font-body) !important;
  line-height: 18px;
  text-align: center;
  min-height: 200px;
}
.custom-break-inner h3 span {
  font-size: 76px !important;
  font-weight: 300;
  color: #9CA6AB;
  padding-bottom: 20px;
  padding-top: 35px;
  display: block;
}
.one-half {
  min-width: 450px;
}
.one-quarter {
  min-width: 200px;
}
/* SINGLE PAGE PROJECT
____________________________________*/
/* Page-specific typography */
.profiles-template h1 {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 12px 0;
}
.profiles-template h2, h2.wp-block-heading {
  font-size: 24px !important;
  margin: 0 0 12px 0;
}
.profiles-template h3 {
  font-size: 24px;
  font-weight: 500;
  margin: 0 0 12px 0;
}
h2.header-large-h2 {
  font-size: 64px !important;
}
/* Container */
.profiles-template .container {
  max-width: 1200px;
  width: 80%;
  margin: 0 auto 40px;
  box-sizing: border-box;
  padding-top: 160px;
}
/* Profile summary (row 1) - Equal height columns */
.profiles-template .profile-summary {
  display: flex;
  gap: 20px;
  align-items: stretch;
  margin-bottom: 40px;
}
.profiles-template .profile-summary .col1 {
  flex: 0 0 278px;
  max-width: 278px;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}
.profiles-template .profile-summary .col2 {
  flex: 1 1 auto;
  padding: 20px;
  background: #fff;
  border-radius: 16px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}
.profiles-template .profile-summary .col3 {
  flex: 0 0 350px;
  max-width: 350px;
  padding: 20px;
  background: #fff;
  border-radius: 16px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}
/* Ensure image is square and covers */
.profiles-template .profile-image {
  width: 278px;
  height: 278px;
  object-fit: cover;
  display: block;
  border-radius: 16px;
  margin-bottom: 20px;
}
/* Exoneration details styling */
.profiles-template .exoneration-details {
  flex: 1;
  background: #fff;
  padding: 20px;
  border-radius: 16px;
}
.profiles-template .exoneration-details .details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.profiles-template .exoneration-details .detail-item {
  margin-bottom: 0;
  text-align: center;
}
.profiles-template .exoneration-details .detail-item strong {
  margin-bottom: 5px;
  color: #333;
}
/* Make sure content areas in col2 and col3 can grow */
.profiles-template .profile-summary .col2 .profile-summary-content {
  flex: 1;
}
.profiles-template .profile-summary .col3 .causes-list {
  flex: 1;
}
/* Documents and News (row 2) */
.profiles-template .documents-and-news {
  display: flex;
  gap: 20px;
  align-items: stretch;
  margin-bottom: 40px;
}
.profiles-template .documents-and-news .col1 {
  flex: 0 0 550px;
  max-width: 550px;
  padding: 20px;
  background: #fff;
  border-radius: 16px;
  box-sizing: border-box;
}
.profiles-template .documents-and-news .col2 {
  flex: 1 1 auto;
  padding: 20px;
  background: #fff;
  border-radius: 16px;
  box-sizing: border-box;
}
/* Timeline & Profile details are transparent and have no border-radius */
.profiles-template .timeline {
  background: transparent;
  border-radius: 0;
  margin-bottom: 40px;
  text-align: left;
  padding-top: 80px;
  padding-bottom: 30px;
}
.profiles-template .profile-details {
  background: transparent;
  border-radius: 0;
  margin-bottom: 40px;
}
.profile-details .content-area {
  max-width: 900px;
  margin: auto;
  padding-bottom: 100px;
  display: block !important;
  grid-template-columns: none;
}



/* Mobile styles */
@media (max-width: 768px) {
  blockquote {
    width: 100%;
    display: block;
    margin-bottom: 1rem;
  }
  blockquote + blockquote {
    margin-left: 0;
    margin-top: 1rem;
  }
}
/* Full story link styling */
.profiles-template .full-story {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-weight: 600;
  text-decoration: none;
}
/* Responsive */
@media (max-width: 980px) {
  .profiles-template .container {
    width: 92%;
  }
  .profiles-template .profile-summary, .profiles-template .documents-and-news {
    flex-direction: column;
  }
  .profiles-template .profile-summary .col1, .profiles-template .profile-summary .col3 {
    max-width: 100%;
    flex: 0 0 auto;
  }
  .profiles-template .profile-image {
    width: 100%;
    height: auto;
    max-height: 400px;
  }
  .profiles-template .profile-summary .col1, .profiles-template .profile-summary .col2, .profiles-template .profile-summary .col3 {
    display: block;
  }
  .profiles-template .exoneration-details .details-grid {
    grid-template-columns: 1fr;
  }
  .profiles-template .press-item {
    flex-direction: column;
  }
  .profiles-template .press-meta {
    flex: none;
  }
}
/* ------------------------
CAUSES TEMPLATE
-----------------------------*/
/* Justice Causes Carousel Styles */
.main-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 100vh;
  padding: 2rem;
  padding-top: 160px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.page-header {
  text-align: center;
  margin-bottom: 0;
}
.page-header h1 {
  font-size: 64px;
  font-weight: bold;
  color: #333;
  margin-bottom: 0.5rem;
}
.page-header p {
  color: #666;
  font-size: 1.1rem;
}
.carousel-section {
  position: relative;
  width: 100%;
  max-width: 1180px;
  height: 580px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-bottom: 2rem;
}
.carousel-card {
  position: absolute;
  border-radius: 1rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: #D9EAF2;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.carousel-card.active {
  width: 440px;
  height: 460px;
  margin-top: 100px;
  z-index: 10;
}
.carousel-card:not(.active) {
  width: 320px;
  height: 375px;
  z-index: 5;
}
.card-icon {
  width: 125px;
  height: 125px;
  object-fit: contain;
  margin-bottom: 1.5rem;
}
.card-heading {
  font-size: 24px;
  font-weight: bold;
  color: #333;
  margin-bottom: 1rem;
  line-height: 1.2;
}
.carousel-card:not(.active) .card-heading {
  font-size: 16px;
  margin-bottom: 0;
}
.card-description {
  font-size: 16px;
  color: #666;
  line-height: 1.5;
  margin-bottom: 2rem;
  flex-grow: 1;
  display: flex;
  align-items: center;
  text-align: center;
}
.carousel-card:not(.active) .card-description {
  font-size: 14px;
  margin: 0;
}
.carousel-card:not(.active) .card-description {
  font-size: 14px;
}
.card-next-button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: all 0.2s;
  margin-top: auto;
}
.card-next-button:hover {
  background: rgba(0, 0, 0, 0.05);
}
.arrow-icon {
  width: 16px;
  height: 16px;
  transition: transform 0.2s;
}
.card-next-button:hover .arrow-icon {
  transform: translateX(2px);
}
.content-area {
  width: 100%;
  max-width: 1180px;
  margin-top: 100px;
  margin-bottom: 100px;
  display: grid;
  grid-template-columns: 1fr 370px;
  gap: 4rem;
  align-items: start;
}
.content-left h2 {
  font-size: 2rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 1rem;
}
.content-left p, .content-left div {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.6;
}
#sectionDescription p {
  margin-bottom: 1rem;
}
#sectionDescription p:last-child {
  margin-bottom: 0;
}
.content-right {
  background: #D9EAF2;
  border-radius: 28px;
  padding: 2rem;
  max-width: 370px;
}
.content-right p {
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.content-right h4 {
  font-size: 24px;
  color: #333;
  margin-bottom: 1rem;
  font-weight: bold;
}
.expert-profile {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}
.expert-image {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
}
.expert-details {
  display: flex;
  flex-direction: column;
}
.expert-name {
  font-weight: bold;
  color: #333;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}
.expert-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #333;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.2s;
}
.expert-link:hover {
  color: #666;
}
.link-arrow {
  width: 14px;
  height: 14px;
  transition: transform 0.2s;
}
.expert-link:hover .link-arrow {
  transform: translateX(2px);
}
/* Responsive Design */
@media (max-width: 1200px) {
  .content-area {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .content-right {
    max-width: 100%;
  }
}
@media (max-width: 768px) {
  .main-container {
    padding: 1rem;
    padding-top: 2rem;
  }
  .carousel-section {
    height: 400px;
  }
  .carousel-card.active {
    width: 300px;
    height: 320px;
  }
  .carousel-card:not(.active) {
    width: 220px;
    height: 280px;
  }
  .page-header h1 {
    font-size: 2rem;
  }
  .content-left h2 {
    font-size: 1.5rem;
  }
}
/* ---------------
NEWS TEMPLATE
-----------------------------*/
.news-template.news {
  max-width: 100%;
  margin: 0 auto;
  padding: 160px 20px 20px;
}
/* Category Header */
.category-header-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  text-align: center;
}
.category-title {
  font-size: 36px;
  margin: 20px 0 10px 0;
  color: #333;
}
.category-description {
  font-size: 16px;
  margin: 0 0 20px 0;
  color: #666;
}
/* Featured Post */
.featured-full-width {
  width: 100%;
  background-color: #f4f4f4;
  padding: 20px 0;
}
.featured-post-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 20px;
}
.featured-post {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}
.featured-left {
  flex: 1;
  min-width: 300px;
}
.featured-left .categories {
  font-size: 14px;
  color: #555;
  margin-bottom: 5px;
  text-align: right;
}
.featured-left .date-read {
  font-size: 12px;
  color: #999;
  margin-bottom: 10px;
}
.featured-left h2 {
  margin: 10px 0;
  font-size: 46px;
}
.featured-left p {
  margin-bottom: 15px;
}
.keep-reading {
  display: inline-block;
  margin-bottom: 10px;
  padding: 16px 25px;
  font-size: 16px;
  background-color: #0a64ee;
  border-width: 0px !important;
  border-radius: 30px;
  color: #fff;
  text-decoration: none;
}
.featured-right {
  flex: 1;
  min-width: 300px;
}
.featured-right img.blog-image {
  width: 100%;
  height: auto;
  display: block;
  margin: auto;
  border-radius: 28px;
}
/* All posts */
.all-posts {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1200px;
  padding: 80px 0;
  margin: auto;
}
.posts-left {
  flex: 3;
}
.post-item {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 30px;
  border-bottom: 1px solid #eee;
  padding-bottom: 20px;
}
.left-col img.blog-image {
  width: 370px;
  height: 277px;
  object-fit: cover;
  border-radius: 28px;
}
.middle-col {
  flex: 1 1 50%;
}
.middle-col .meta {
  font-size: 14px;
  color: #5D6567;
  margin-bottom: 10px;
}
.middle-col h3 {
  margin: 0 0 5px 0;
  font-size: 28px;
}
.middle-col h3 a {
  font-weight: 700;
  font-size: 28px;
  text-decoration: none;
  color: #333;
}
.middle-col p {
  margin-bottom: 10px;
}
.middle-col .categories {
  font-size: 14px;
  color: #555;
  margin-top: 15px;
}
.categories a, .wp-tag-cloud a {
  border: 1px solid #5D6567;
  border-radius: 6px;
  padding: 7px 10px;
  font-size: 14px;
  color: #5D6567;
  display: inline-block;
  text-decoration: none;
  margin-right: 5px;
  margin-bottom: 5px;
}
/* Sidebar */
.right-col {
  flex: 1;
  max-width: 300px;
}
.right-col h4 {
  margin-bottom: 15px;
  font-size: 18px;
  color: #333;
}
/* Enhanced Tag Cloud for Categories */
.tag-cloud {
  list-style: none;
  padding: 0;
}
.category-cloud {
  list-style: none;
  padding: 0;
  margin: 0;
}
.category-cloud li {
  display: inline-block;
  margin-top: 20px;
  margin-right: 5px;
  margin-bottom: 5px;
}
.category-cloud li a {
  border: 1px solid #5D6567;
  border-radius: 6px;
  padding: 7px 10px;
  font-size: 14px;
  color: #5D6567;
  display: inline-block;
  text-decoration: none;
  transition: all 0.2s ease;
}
.category-cloud li a:hover {
  background-color: #f0f0f0;
  border-color: #0a64ee;
}
.category-cloud li a.active {
  background-color: #0a64ee;
  border-color: #0a64ee;
  color: white;
}
/* No posts message */
.no-posts-message {
  text-align: center;
  padding: 60px 20px;
  color: #666;
}
.no-posts-message p {
  font-size: 18px;
  margin-bottom: 20px;
}
.back-to-news {
  display: inline-block;
  padding: 12px 24px;
  background: #0a64ee;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.2s;
}
.back-to-news:hover {
  background: #0056d3;
}
.pagination {
  margin-top: 20px;
  text-align: center;
}
.middle-col .categories {
  font-size: 14px;
  color: #555;
  margin-top: 30px;
}
.categories a, .wp-tag-cloud a {
  border: 1px solid #5D6567;
  border-radius: 6px;
  padding: 7px 10px;
  font-size: 14px !important;
}



/* NEWS ARTICLE CATGORY PAGE
----------------------------------------*/

.news-template.news {
    max-width: 100%;
    margin: 0 auto;
    padding: 160px 20px 20px;
}

/* Category Header */
.category-header-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
    text-align: left ;
}

.category-title {
    font-size: 36px;
    margin: 20px 0 10px 0;
    color: #333;
}

.category-description {
    font-size: 16px;
    margin: 0 0 20px 0;
    color: #666;
}

/* Featured Post */
.featured-full-width { width: 100%; background-color: #f4f4f4; padding: 20px 0; }
.featured-post-wrapper { max-width: 1200px; margin: 0 auto; padding: 30px 20px; }
.featured-post { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.featured-left { flex: 1; min-width: 300px; }
.featured-left .categories { font-size: 14px; color: #555; margin-bottom: 5px; text-align: right; }
.featured-left .date-read { font-size: 12px; color: #999; margin-bottom: 10px; }
.featured-left h2 { margin: 10px 0; font-size: 46px; }
.featured-left p { margin-bottom: 15px; }
.keep-reading { display: inline-block; margin-bottom: 10px; padding: 16px 25px;
    font-size: 16px;
    background-color: #0a64ee;
    border-width: 0px !important;
    border-radius: 30px;
    color: #fff;
    text-decoration: none;
}
.featured-right { flex: 1; min-width: 300px; }
.featured-right img.blog-image { width: 100%; height: auto; display: block; margin: auto; border-radius: 28px; }

/* All posts */
.all-posts { display: flex; flex-wrap: wrap; gap: 20px; max-width: 1200px; padding: 80px 0; margin: auto; }
.posts-left { flex: 3; }
.post-item { display: flex; flex-wrap: wrap; gap: 15px; margin-bottom: 30px; border-bottom: 1px solid #eee; padding-bottom: 20px; }
.left-col img.blog-image { width: 370px; height: 277px; object-fit: cover; border-radius: 28px; }
.middle-col { flex: 1 1 50%; }
.middle-col .meta { font-size: 14px; color: #5D6567; margin-bottom: 10px; }
.middle-col h3 { margin: 0 0 5px 0; font-size: 28px; }
.middle-col h3 a { font-weight: 700; font-size: 28px; text-decoration: none; color: #333; }
.middle-col p { margin-bottom: 10px; }
.middle-col .categories { font-size: 14px; color: #555; margin-top: 15px; }
.categories a, .wp-tag-cloud a { border: 1px solid #5D6567; border-radius: 6px; padding: 7px 10px; font-size: 14px; color: #5D6567;display: inline-block; text-decoration: none; margin-right: 5px; margin-bottom: 5px;}

/* Sidebar */
.right-col { flex: 1; max-width: 300px; }
.right-col h4 { margin-bottom: 15px; font-size: 18px; color: #333; }

/* Enhanced Tag Cloud for Categories */
.tag-cloud { list-style: none; padding: 0; }
.category-cloud { list-style: none; padding: 0; margin: 0; }
.category-cloud li { 
    display: inline-block; 
    margin-top: 20px; 
    margin-right: 5px;
    margin-bottom: 5px;
}
.category-cloud li a { 
    border: 1px solid #5D6567;
    border-radius: 6px;
    padding: 7px 10px;
    font-size: 14px;
    color: #5D6567;
    display: inline-block;
    text-decoration: none;
    transition: all 0.2s ease;
}
.category-cloud li a:hover {
    background-color: #f0f0f0;
    border-color: #0a64ee;
}
.category-cloud li a.active {
    background-color: #0a64ee;
    border-color: #0a64ee;
    color: white;
}

/* No posts message */
.no-posts-message {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}
.no-posts-message p { font-size: 18px; margin-bottom: 20px; }
.back-to-news {
    display: inline-block;
    padding: 12px 24px;
    background: #0a64ee;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.2s;
}
.back-to-news:hover { background: #0056d3; }

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

.middle-col .categories {
    font-size: 14px;
    color: #555;
    margin-top: 30px;
}

.categories a, .wp-tag-cloud a {
    border: 1px solid #5D6567;
    border-radius: 6px;
    padding: 7px 10px;
    font-size: 14px!important;
}

@media (max-width: 768px) {
    .category-title { font-size: 36px; }
    .category-description { font-size: 16px; }
    .featured-post, .post-item { flex-direction: column; }
    .featured-left, .featured-right, .left-col, .middle-col { flex: 1 1 100%; max-width: 100%; }
    .featured-right img.blog-image, .left-col img.blog-image { width: 100%; height: auto; object-fit: cover; }
    .right-col { max-width: 100%; }
    .all-posts { flex-direction: column; }
}



@media (max-width: 768px) {
  .category-title {
    font-size: 36px;
  }
  .category-description {
    font-size: 16px;
  }
  .featured-post, .post-item {
    flex-direction: column;
  }
  .featured-left, .featured-right, .left-col, .middle-col {
    flex: 1 1 100%;
    max-width: 100%;
  }
  .featured-right img.blog-image, .left-col img.blog-image {
    width: 100%;
    height: auto;
    object-fit: cover;
  }
  .right-col {
    max-width: 100%;
  }
  .all-posts {
    flex-direction: column;
  }
}
/* ============================================================
   IRSS — OUR COMPANIES PAGE
   ============================================================ */

.irss-companies-section {
    padding: 40px 0 180px;
}

.irss-companies-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Card Base */
.irss-company-card {
    position: relative;
    border-radius: 6px;
    min-height: 320px;
    max-height: 320px;
    display: flex;
    align-items: stretch;
}

/* Featured card spans both columns — treated as right-column, logo on left */
.irss-company-card--featured {
    grid-column: span 2;
    min-height: 320px;
    max-height: 320px;
    flex-direction: row-reverse;
}

.irss-company-card--featured .card-image {
    border-radius: 0 6px 6px 0;
}

.irss-company-card--featured .card-content {
    border-radius: 6px 0 0 6px;
}

.irss-company-card--featured .card-hover-overlay {
    left: 40%;
    right: 0;
    border-radius: 0 6px 6px 0;
}

/* Right column cards — flip layout so logo is on the left */
.irss-companies-grid .irss-company-card:not(.irss-company-card--featured):nth-child(even) {
    flex-direction: row-reverse;
}

.irss-companies-grid .irss-company-card:not(.irss-company-card--featured):nth-child(even) .card-image {
    border-radius: 0 6px 6px 0;
}

.irss-companies-grid .irss-company-card:not(.irss-company-card--featured):nth-child(even) .card-content {
    border-radius: 6px 0 0 6px;
}

.irss-companies-grid .irss-company-card:not(.irss-company-card--featured):nth-child(even) .card-hover-overlay {
    left: 40%;
    right: 0;
    border-radius: 0 6px 6px 0;
}
.card-image {
    flex: 3;
    overflow: hidden;
    border-radius: 6px 0 0 6px;
    position: relative;
    z-index: 1;
    background: #ecebe9;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: bottom;
    display: block;
}

/* Utopia Market — right-justify the product image within its box */
.card-image img[src*="company-utopia-market"] {
    object-position: right bottom;
}

/* Right half — logo + button, always in place */
.card-content {
    flex: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 24px 20px;
    background: var(--card-default-bg, #ecebe9);
    position: relative;
    z-index: 2;
    border-radius: 0 6px 6px 0;
}

.card-logo {
    position: relative;
    width: 180px;
    height: 100px;
}

.card-logo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Logo swap on hover */
.card-logo__hover {
    opacity: 0;
}

.card-logo__default {
    opacity: 1;
}

.irss-company-card:hover .card-logo__default {
    opacity: 0;
}

.irss-company-card:hover .card-logo__hover {
    opacity: 1;
}

/* Hover text overlay — absolutely covers image column */
.card-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 40%;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 24px 24px 24px 28px;
    background-color: var(--card-hover-bg, #0076a8);
    opacity: 0;
    z-index: 3;
    border-radius: 6px 0 0 6px;
    box-sizing: border-box;
    overflow-y: auto;
    overflow-x: hidden;
}

.card-hover-overlay p,
.card-hover-overlay ul,
.card-hover-overlay ol {
    margin: 0 0 0.75em;
    font-size: 16px;
    line-height: 1.65;
    color: #fff;
}

.card-hover-overlay p:last-child,
.card-hover-overlay ul:last-child,
.card-hover-overlay ol:last-child {
    margin-bottom: 0;
}

/* Dark text variant */
.irss-company-card--dark-text .card-hover-overlay p,
.irss-company-card--dark-text .card-hover-overlay ul,
.irss-company-card--dark-text .card-hover-overlay ol {
    color: #222;
}

/* Hover triggers */
.irss-company-card:hover .card-hover-overlay {
    opacity: 1;
}

.irss-company-card:hover .card-content {
    background: var(--card-hover-bg, #0099d8);
}

/* Button colour flip on hover */
.irss-company-card:hover .irss-btn--outline {
    border-color: #fff;
    color: #fff;
}

.irss-company-card:hover .irss-btn--outline:hover {
    background: #fff;
    color: #333;
}

/* Dark text variant — button stays dark on hover */
.irss-company-card--dark-text:hover .irss-btn--outline {
    border-color: #222;
    color: #222;
}

/* Buttons */
.irss-btn {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 8px 20px;
    border-radius: 3px;
    white-space: nowrap;
    cursor: pointer;
}

/* Desktop card button — solid dark */
.irss-btn--outline {
    border: 2px solid #002b4c;
    color: #fff;
    background: #002b4c;
}

.irss-btn--outline:hover {
    background: #001a2e;
    border-color: #001a2e;
    color: #fff;
    text-decoration: none;
}

/* Hover card button — solid white */
.irss-btn--solid {
    background: #fff;
    color: #333;
    border: 2px solid #fff;
}

.irss-btn--solid:hover {
    background: transparent;
    color: #fff;
    text-decoration: none;
}

/* Dark text variant — invert solid button */
.irss-company-card--dark-text .irss-btn--solid {
    background: #222;
    color: #fff;
    border-color: #222;
}

/* French page — taller cards to accommodate longer descriptions */
body.page-id-310460 .irss-company-card,
body.page-id-310460 .irss-company-card--featured {
    min-height: 420px;
}

/* French page — taller cards to accommodate longer descriptions */
body.page-id-310460 .irss-company-card,
body.page-id-310460 .irss-company-card--featured {
    min-height: 450px;
}

/* Featured card — larger logo on desktop */
@media (min-width: 768px) {
    .irss-company-card--featured .card-logo {
        width: 220px;
        height: 150px;
    }
}

/* Mobile — single column, stacked: image top, logo/button middle, description bottom */
@media (max-width: 767px) {

    /* Grid: single column */
    .irss-companies-grid {
        grid-template-columns: 1fr;
    }

    /* Reset all cards to vertical stack — must override row-reverse on featured + even cards */
    .irss-company-card,
    .irss-company-card--featured,
    .irss-companies-grid .irss-company-card:not(.irss-company-card--featured):nth-child(even) {
        flex-direction: column !important;
        min-height: unset !important;
        max-height: unset !important;
        grid-column: span 1 !important;
    }

    /* Image on top */
    .card-image,
    .irss-company-card--featured .card-image,
    .irss-companies-grid .irss-company-card:not(.irss-company-card--featured):nth-child(even) .card-image {
        display: block !important;
        width: 100% !important;
        height: 220px !important;
        flex: none !important;
        border-radius: 6px 6px 0 0 !important;
    }

    .card-image img {
        object-position: center bottom;
        border-radius: 0;
    }

    .card-image img[src*="company-utopia-market"] {
        object-position: right bottom;
    }

    /* Logo/button — full width, hover colour */
    .card-content,
    .irss-company-card--featured .card-content,
    .irss-companies-grid .irss-company-card:not(.irss-company-card--featured):nth-child(even) .card-content {
        flex: none !important;
        width: 100% !important;
        background: var(--card-hover-bg, #0099d8) !important;
        border-radius: 0 !important;
        align-items: center !important;
        padding: 24px !important;
        box-sizing: border-box !important;
    }

    /* Description: fully remove from absolute flow */
    .card-hover-overlay,
    .irss-company-card--featured .card-hover-overlay,
    .irss-companies-grid .irss-company-card:not(.irss-company-card--featured):nth-child(even) .card-hover-overlay {
        position: static !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        opacity: 1 !important;
        width: 100% !important;
        height: auto !important;
        border-radius: 0 0 6px 6px !important;
        overflow: visible !important;
        padding: 20px 24px !important;
        display: block !important;
        box-sizing: border-box !important;
    }

    /* Use hover logo on mobile */
    .card-logo__default {
        opacity: 0 !important;
    }

    .card-logo__hover {
        display: block !important;
        opacity: 1 !important;
    }

    /* Lock hover states on mobile */
    .irss-company-card:hover .card-content {
        background: var(--card-hover-bg, #0099d8) !important;
    }

    /* Mobile button */
    .irss-btn--outline {
        background: #fff;
        border-color: #fff;
        color: #002b4c;
    }

    .irss-btn--outline:hover {
        background: #00a0df;
        border-color: #00a0df;
        color: #fff;
        text-decoration: none;
    }

    .irss-company-card:hover .irss-btn--outline {
        border-color: #fff;
        color: #002b4c;
    }
}

/* ---------
NEWA DetAILS PAGE
_______________________*/
/* Single Post Container */
.single-post-container {
  max-width: 1180px;
  margin: 0 auto;
  background: #fff;
  padding: 160px 20px 40px 20px;
  display: flex;
  gap: 40px;
  position: relative;
}
/* Main Content Column */
.main-content {
  max-width: 900px;
  flex: 1;
}
/* Right Sidebar Column */
.sidebar-column {
  width: 240px;
  position: relative;
}
/* Post Title */
.post-title {
  font-size: 64px;
  line-height: 1.2;
  margin: 0 0 20px 0;
  font-weight: bold;
}
/* Post Meta */
.post-meta {
  color: #5D6567;
  margin-bottom: 30px;
  font-size: 16px;
}
/* Post Content */
.post-content {
  margin-bottom: 40px;
  line-height: 1.6;
}
.post-content p {
  margin-bottom: 20px;
}
.post-content img {
  border-radius: 28px;
  max-width: 100%;
  height: auto;
}
.post-content iframe {
  border-radius: 28px;
}
.post-content h3 {
  font-size: 24px;
}
/* Post Categories */
.post-categories {
  margin-bottom: 30px;
}
.category-cloud {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.category-cloud li a {
  border: 1px solid #5D6567;
  border-radius: 6px;
  padding: 7px 10px;
  font-size: 14px;
  color: #5D6567;
  display: inline-block;
  text-decoration: none;
  transition: all 0.2s ease;
}
.category-cloud li a:hover {
  background-color: #f0f0f0;
  border-color: #0a64ee;
}
.category-cloud li a.active {
  background-color: #0a64ee;
  border-color: #0a64ee;
  color: white;
}
/* Share Section */
.post-share {
  display: flex;
  align-items: center;
  gap: 15px;
}
.post-share span {
  font-weight: 500;
}
.share-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #DFE1E2;
  text-decoration: none;
  color: #000;
  transition: background 0.3s ease;
}
.share-icon:hover {
  background: #ccc;
}
.share-icon svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}
/* Post Navigation */
.post-navigation {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid #e0e0e0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.nav-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
  flex: 1;
}
.nav-link:hover {
  color: #0a64ee;
}
.nav-previous {
  text-align: left;
}
.nav-next {
  text-align: right;
  justify-content: flex-end;
}
.nav-arrow {
  font-size: 18px;
  margin: 0 8px;
}
.nav-text {
  font-size: 16px;
  font-weight: 500;
}
/* Sidebar Social Icons */
.sidebar-social {
  position: sticky;
  top: 50vh;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1000;
}
.sidebar-social .social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #DFE1E2;
  color: #000;
  text-decoration: none;
  transition: background 0.3s ease;
}
.sidebar-social .social-icon:hover {
  background: #ccc;
}
.sidebar-social .social-icon svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}
/* Responsive Design */
@media (max-width: 1200px) {
  .single-post-container {
    max-width: 100%;
    padding: 160px 20px 40px 20px;
  }
}
@media (max-width: 768px) {
  .single-post-container {
    flex-direction: column;
    padding: 80px 15px 20px 15px;
  }
  .post-title {
    font-size: 42px;
  }
  .sidebar-column {
    width: 100%;
  }
  .sidebar-social {
    position: static;
    flex-direction: row;
    transform: none;
    justify-content: center;
    margin-top: 30px;
  }
}