/**
 * Theme Name:     Innocence Canada
 * Author:         Exclaim
 * Template:       Divi
 * Text Domain:	   innocence-canada
 * Description:    Divi Child Theme
 */
/* -----------------------------------------
   VARIABLES: Fonts & Colors
----------------------------------------- */ :root {
  /* Fonts */
  --font-heading: 'Poppins', sans-serif;
  --font-heading-weight: 600;
  --font-body: 'Geologica', san-serif;
  --font-body-weight: 400;
  /* Colors */
  --black: #000;
  --white: #fff;
  --gray: #9CA6AB;
  --blue-dark: #0842AE;
  --blue-light: #D9EAF2;
  --button-bg: #0A64EE;
}
/* -----------------------------------------
   TYPOGRAPHY
----------------------------------------- */
body, p, a, li, ul, ol, blockquote, input, textarea, button {
  font-family: var(--font-body);
  font-weight: var(--font-body-weight);
  line-height: 1.4em;
  font-size: 16px;
}
.custom-header-white {
  position: absolute !important;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: var(--font-heading-weight);
  color: var(--black);
  margin-top: 0;
  margin-bottom: 0.5em;
  line-height: 1.2em;
}
h1 {
  font-size: 76px;
  padding-bottom: 0;
  margin-bottom: 15px;
}
h2 {
  font-size: 53px;
}
h3 {
  font-size: 46px;
  margin: 7px 0;
}
.hero h1 {
  font-size: 90px;
  line-height: 1em !important;
}
.hero p {
  font-size: 18px;
  font-family: var(--font-body);
}
.grey h2 {
  color: var(--gray) !important;
}
.header-large h1 {
  font-size: 64px !important;
}
.header-large h2 {
  font-size: 55px !important;
  padding-bottom: 10px !important;
  line-height: 1em !important;
}
.header-large h2 span {
  color: #0842AE;
}
.small-text p, .small-text p {
  font-size: 12px !important;
  color: #9CA6AB;
}
.small-text a {
  font-size: 12px !important;
}
.et_pb_menu ul li a {
  font-weight: 600 !important; /* Medium weight */
}
.callout, .callout p {
  font-size: 21px;
}
body.et_pb_bg_layout_dark, .et_pb_text.et_pb_bg_layout_dark {
  color: #363A3B; /* Replace with your desired dark text color */
}
.student h3 {
  font-size: 46px !important;
}
/* -----------------------------------------
   LINKS & BUTTONS
----------------------------------------- */
/* Underline all non-button links on hover */
a:hover {
  text-decoration: underline;
}
a.et_pb_video_play {
  text-decoration: none;
}
.et_button_no_icon .et_pb_button, .et_button_no_icon .et_pb_button:hover {
  padding: 16px 25px !important;
  font-weight: 600;
  letter-spacing: -1px;
  min-width: 130px !important;
  text-align: center;
}
.et_pb_button:hover, .et_pb_promo_button:hover, .et_pb_module a.et_pb_button:hover, button a:hover, .et_pb_more_button a:hover, a.et_pb_promo_button:hover, a.et_pb_button_module:hover {
  text-decoration: none !important;
}
/* Custoim Button styling */
.btn-grey {
  background-color: #DFE1E2 !important;
  color: #000 !important;
}
.btn-grey:hover {
  background-color: #cbcfd0 !important;
}
.btn-white {
  color: #1360d7 !important;
  background-color: #FFFFFF !important;
}
.btn-white:hover {
  color: #0E57C7 !important;
}
.btn-download-bylaw {
  font-size: 16px;
  background: #fff;
  border-radius: 16px;
  padding: 0 15px;
  margin: 10px auto; /* Center the button horizontally */
  display: flex;
  align-items: center;
  max-width: 360px;
  color: #000;
  transition: background 0.3s ease;
  gap: 5px;
  position: relative;
  text-align: left; /* Ensure inner text stays left-aligned */
}
.btn-download-bylaw:hover {
  background: #D9EAF2;
  text-decoration: none;
}
.btn-download-bylaw .et-pb-icon {
  font-size: 30px !important;
  padding: 11px;
  background: #D9EAF2;
  border-radius: 6px;
  transition: opacity 0.3s ease;
}
.icon-hover {
  display: none;
  order: 2;
  color: #0842AE;
}
.icon-default {
  display: inline-block;
  order: 0;
  color: #0842AE;
}
/* btn Download Application. --*/
.btn-container {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: nowrap; /* prevent stacking */
  margin: 10px 0;
}
.btn-download-application {
  font-size: 16px;
  background: #fff;
  border-radius: 16px;
  padding: 0 15px;
  display: flex;
  align-items: center;
  max-width: 260px;
  color: #000;
  transition: background 0.3s ease;
  gap: 5px;
  position: relative;
  text-align: left;
  text-decoration: none;
  flex: 1 1 auto; /* allow shrinking if needed */
  min-width: 0; /* ensures flex shrinking works properly */
}
.btn-download-application:hover {
  background: #D9EAF2;
  text-decoration: none;
}
.btn-download-application .et-pb-icon {
  font-size: 30px !important;
  padding: 11px;
  background: #D9EAF2;
  border-radius: 6px;
  transition: opacity 0.3s ease;
}
.icon-hover {
  display: none;
  order: 2;
  color: #0842AE;
}
.icon-default {
  display: inline-block;
  order: 0;
  color: #0842AE;
}
/* Swap icons on hover */
.btn-download-bylaw:hover .icon-default, .btn-download-application:hover .icon-default {
  display: none;
}
.btn-download-bylaw:hover .icon-hover, .btn-download-application:hover .icon-hover {
  display: inline-block;
  background: #fff;
  margin-left: 5px;
  border-radius: 25px;
  padding-left: 15px;
  padding-right: 15px;
}
.btn-download-bylaw .btn-text, .btn-download-application .btn-text {
  display: flex;
  flex-direction: column;
  order: 1;
}
.btn-download-bylaw:hover .btn-text, .btn-download-application:hover .btn-text {
  transform: translateX(-15px);
}
.btn-download-bylaw .btn-text span, .btn-download-application .btn-text span {
  font-size: 14px;
  display: block;
}
/* WIDE BUTTON
------------------------*/
.btn-download-application-wide {
  font-size: 16px;
  background: #fff;
  border-radius: 16px;
  padding: 0 15px;
  display: flex;
  align-items: center;
  width: 315px; /* fixed width */
  min-height: 70px;
  color: #000;
  transition: background 0.3s ease;
  gap: 5px;
  position: relative;
  text-align: left;
  text-decoration: none;
  flex: 0 0 auto; /* prevent shrinking */
}
.btn-download-application-wide:hover {
  background: #D9EAF2;
  text-decoration: none;
}
.btn-download-application-wide .et-pb-icon {
  font-size: 30px !important;
  padding: 11px;
  background: #D9EAF2;
  border-radius: 6px;
  transition: opacity 0.3s ease;
}
.btn-download-application-wide .icon-hover {
  display: none;
  margin-left: auto; /* push it all the way right */
  color: #0842AE;
}
.btn-download-application-wide .icon-default {
  display: inline-block;
  order: 0;
  color: #0842AE;
}
/* Swap icons on hover */
.btn-download-application-wide:hover .icon-default {
  display: none;
}
.btn-download-application-wide:hover .icon-hover {
  display: inline-block;
  background: #fff;
  border-radius: 25px;
  padding-left: 15px;
  padding-right: 15px;
}
.btn-download-application-wide .btn-text {
  display: flex;
  flex-direction: column;
  order: 1;
  line-height: 1em;
}
.btn-download-application-wide:hover .btn-text {
  transform: translateX(-15px);
}
.btn-download-application-wide .btn-text span {
  font-size: 14px;
  display: block;
  line-height: 1em;
}
/* tabs
------------------------*/
/* Remove underline from all tab links */
.et_pb_all_tabs {
  background-color: #eeefef;
}
.et_pb_tabs_controls li a {
  text-decoration: none !important;
  font-size: 14px !important;
  margin-bottom: 10px;
}
ul.et_pb_tabs_controls:after {
  border-top: 1px solid #eeefef;
}
/* Inactive tabs */
.et_pb_tabs_controls li a {
  background-color: rgba(203, 207, 208, 0.0); /* 50% transparent #CBCFD0 */
  color: #B1B7B9;
  border-radius: 50px;
  border: 1px #CBCFD0 solid;
  padding: 10px 16px !important;
  display: inline-block;
  transition: all 0.3s ease;
}
/* Active tab */
.et_pb_tabs_controls li.et_pb_tab_active a {
  background-color: #CBCFD0;
  color: #000;
  border-radius: 50px;
  padding: 16px;
}
/* Optional: Improve spacing between tabs */
.et_pb_tabs_controls li {
  margin-right: 10px;
}
ul.et_pb_tabs_controls {
  background: transparent !important;
  border: none !important;
}
.et_pb_tabs_controls li.et_pb_tab_active {
  background-color: transparent !important;
}
.et_pb_tabs_controls li {
  border: none !important;
}
.custom-button-wrapper {
  text-align: left;
}
.custom-button-wrapper .et_pb_button {
  display: inline-block;
  margin: 0 10px;
}
/* Donate button in menu */
.btn-donate-menu a {
  font-size: 14px;
  background-color: var(--button-bg);
  border-width: 0 !important;
  border-radius: 30px;
  font-weight: bold;
  font-style: normal;
  text-transform: none;
  text-decoration: none;
}
li.btn-donate-menu a {
  padding: 7px 20px !important;
}
/* -----------------------------------------
   HEADER
----------------------------------------- */
.et_header_style_split #main-header, .et_header_style_left #main-header, .et_header_style_centered #main-header {
  background-color: transparent !important;
  position: absolute;
  width: 100%;
  z-index: 999;
  top: 0;
  left: 0;
}
.et_pb_menu .et-menu > li {
  padding-left: 9px;
  padding-right: 9px;
}
/* Search icon in menu */
.menu-search-icon a {
  display: inline-block;
}
/* Search form wrapper */
.custom-search-form-wrapper {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  position: absolute;
  top: 100%;
  right: 20px;
  background: #fff;
  padding: 10px;
  z-index: 9999;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  width: 575px;
  max-width: 90vw;
}
.custom-search-form-wrapper.active {
  opacity: 1;
  visibility: visible;
}
.custom-search-form {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
}
.custom-search-form input {
  flex: 1;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  width: 100%;
}
.custom-search-form button {
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 16px;
  margin-left: 8px;
  color: var(--button-bg);
}
.et_mobile_menu li a, .nav li li a {
  color: #363A3B !important;
  font-weight: 600 !important; /* Medium weight */
}
.et_mobile_menu li a:hover, .nav li li a:hover {
  background: var(--white) !important;
  color: #1360D7 !important;
  text-decoration: none;
}
.nav li ul {
  border-top: var(--white);
  border-radius: 5px;
}
/* Force arrow to the LEFT of text */
.nav li li a:hover:before, .et_pb_menu ul.sub-menu li a:hover:before, #et-top-navigation ul.sub-menu li a:hover:before {
  content: "→ " !important;
  margin-right: 5px !important;
  display: inline-block !important;
  float: none !important;
}
/* Make sure no :after elements interfere */
.nav li li a:hover:after, .et_pb_menu ul.sub-menu li a:hover:after, #et-top-navigation ul.sub-menu li a:hover:after {
  content: none !important;
  display: none !important;
}
.nav li ul li a {
  padding: 5px 10px !important; /* top/bottom left/right */
}
.et_mobile_menu {
  border-top: 3px solid #000;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  margin-top: 10px;
}
.et-menu .menu-item-has-children > a:first-child:after {
  color: var(--button-bg) !important;
}
.header-white, .header-dark {
  padding: 0 !important;
}
/* MOBILE MENU + Sign to open
-------------------------------------------*/
/* Style for the submenu toggle button */
.et_mobile_menu .submenu-toggle {
  position: absolute;
  right: 15px;
  top: 14px;
  font-size: 20px;
  background: none;
  border: none;
  color: #0842AE;
  cursor: pointer;
  z-index: 2;
}
.et_mobile_menu li.menu-item-has-children {
  position: relative;
}
.et_mobile_menu a {
  padding-right: 40px;
}
/* -----------------------------------------
   HOME PAGE
----------------------------------------- */
.casework-container {
  display: flex;
  flex-direction: column;
  gap: 1.5em;
  max-width: 800px;
  margin: 0 auto;
  padding: 1em;
}
.casework-row {
  display: flex;
  flex-direction: row;
  gap: 2em;
  align-items: flex-start;
  border-bottom: 1px #CBCFD0 solid;
  padding-bottom: 10px;
  padding-top: 10px;
}
.casework-title {
  flex: 1;
  font-weight: 600;
  min-width: 280px;
  font-family: var(--font-heading);
  font-size: 20px;
}
.casework-description {
  flex: 3;
}
/* New content table CSS with casework title to be 49% wide*/
.contenttable-container {
  display: flex;
  flex-direction: column;
  gap: 1.5em;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1em;
}
.contenttable-row {
  display: flex;
  flex-direction: row;
  gap: 2em;
  align-items: flex-start;
  border-bottom: 1px #CBCFD0 solid;
  padding-bottom: 25px;
  padding-top: 5px;
}
.contenttable-title {
  flex: 1;
  font-weight: 600;
  min-width: 50%;
  font-family: var(--font-heading);
  font-size: 20px;
}
.contenttable-description {
  flex: 3;
}
/* -----------------------------------------
   SEARCH RESULTS PAGE - REMOVE IMAGES FROM BLOG POSTS
----------------------------------------- */
body.search .post-thumbnail, body.search .wp-post-image, body.search .entry-thumbnail, body.search img.attachment-post-thumbnail, .entry-featured-image-url {
  /* display: none !important; */
}
body.search .post-meta {
  display: none !important;
}
/* -----------------------------------------
   BLOG SLIDER
----------------------------------------- */
.layout4 .dipl_blog_slider_content_wrapper {
  padding: 10px 0 10px !important;
}
.slider-date {
  padding-bottom: 7px;
  color: #5D6567 !important;
}
h3.dipl_blog_slider_post_title a {
  font-weight: 600;
}
/* -----------------------------------------
   PROFILES PAGE
----------------------------------------- */
.profiles-page h2 {
  font-size: 32px !important;
  color: #000 !important;
  padding-bottom: 0;
  margin-bottom: 10px;
}
.profiles-page .et_pb_blurb_description a {
  font-weight: 600;
  padding-bottom: 10px;
}
/* Status row layout */
.status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}
/* Status tag styling (Exonerated & Convicted) */
.status-row .exonerated, .status-row .convicted {
  background-color: #EEEFEF;
  border-radius: 10px;
  padding: 6px 26px;
  font-size: 14px;
  flex: 1;
  text-align: center !important;
}
.et_pb_number_counter h3 {
  font-family: var(--font-body) !important;
  font-szie: 16px !important;
}
.h3-counter h3 {
  margin-top: 0;
  margin-bottom: 2px !important;
  padding-bottom: 0 !important;
  font-size: 72px;
  color: #9ca6ab !important;
  font-family: var(--font-body) !important;
}
.h3-counter p {
  font-weight: 600;
}
/*------------------------------------------
   ABOUT = WHAT WE DO | TEAM | Careers
------------------------------------------*/
.growing-caseload .et_pb_column_10 {
  width: 30% !important;
}
.growing-caseload .et_pb_column_11 {
  width: 12% !important;
}
.growing-caseload .et_pb_column_12 {
  width: 12% !important;
}
.growing-caseload .et_pb_column_13 {
  width: 12% !important;
}
.growing-caseload .et_pb_column_14 {
  width: 12% !important;
}
/* OUT TEAM --------
--------------------------*/
.our-team h2 {
  font-size: 32px;
  padding-bottom: 0px;
}
.our-team h2 span {
  font-size: 17px !important;
  color: #5D6567;
  font-family: var(--font-body);
}
.our-team .et_pb_text:hover {
  background-color: #ffffff;
  border-radius: 20px;
  box-shadow: 0px 6px 36px rgba(127, 152, 164, 0.12);
}
.our-directors .our-team h2 {
  font-size: 29px !important;
}
.our-directors .our-team .et_pb_text {
  min-height: 150px;
}
.fa-envelope, .fa-phone {
  color: #0A64EE !important;
  margin-right: 15px !important;
}
.extension {
  color: #0A64EE !important;
  margin-left: 15px !important;
}
.our-team a {
  color: #000;
}
/* CAREERS
_______________________*/
.careers-content h2 {
  font-size: 46px;
}
.careers-content h3 {
  font-size: 24px;
  padding-bottom: 5px !important;
}
.careers-content h4 {
  font-size: 16px;
  color: #5D6567;
  font-family: var(--font-body);
  font-weight: normal;
  padding-bottom: 0px !important;
}
.careers-content h4 span {
  color: #0A64EE !important;
}
/* -----------------------------------------
CASE REVIEW
------------------------------------------*/
.card-container {
  position: relative;
  width: 885px;
  height: 750px;
}
.card {
  position: absolute;
  width: 550px;
  height: 750px;
  background: #D9EAF2;
  border-radius: 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 60px 60px 40px 40px; /* extra top padding for Next link */
  box-sizing: border-box;
  overflow: hidden;
}
.card-content {
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding-top: 20px;
  padding-right: 30px;
}
.card h2 {
  margin: 0 0 16px 0;
  font-size: 32px;
  font-weight: 600;
  color: #333;
}
.card p {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}
.card-number {
  position: absolute;
  font-size: 76px;
  font-weight: 400;
  color: #9CA6AB;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.card-title {
  position: absolute;
  bottom: 40px;
  right: 40px;
  font-size: 18px;
  font-weight: 600;
  text-align: right;
  color: #333;
  opacity: 1;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.next-link {
  position: absolute;
  top: 40px;
  right: 20px;
  font-size: 16px;
  font-weight: bold;
  color: #667eea;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s ease;
}
/* Active card styles */
.card[data-position="0"] {
  z-index: 40;
  transform: translateX(0px);
  background: white;
}
.card[data-position="0"] .card-number {
  bottom: 24px;
  right: 60px;
  padding-bottom: 40px;
}
.card[data-position="0"] .card-content {
  opacity: 1;
}
.card[data-position="0"] .card-title {
  opacity: 0;
}
.card[data-position="0"] .next-link {
  opacity: 1;
}
/* Stacked positions */
.card[data-position="1"] {
  z-index: 30;
  transform: translateX(200px);
}
.card[data-position="1"] .card-number, .card[data-position="2"] .card-number, .card[data-position="3"] .card-number {
  top: 24px;
  right: 40px;
  padding-top: 40px;
}
.card[data-position="2"] {
  z-index: 20;
  transform: translateX(400px);
}
.card[data-position="3"] {
  z-index: 10;
  transform: translateX(600px);
}
/* -----------------------------------------
   BOOK EVENT
----------------------------------------- */
/* Blurb container relative */
.blurb-overlay-text {
  position: relative;
  display: inline-block; /* ensures width wraps image */
}
/* Image styling */
.blurb-overlay-text .et_pb_main_blurb_image img {
  display: block;
  width: 100%;
  height: auto;
}
/* Overlay the text near the bottom */
.blurb-overlay-text .et_pb_blurb_container {
  position: absolute;
  bottom: 10%; /* adjust distance from bottom */
  left: 50%;
  transform: translateX(-50%); /* center horizontally only */
  width: 90%;
  text-align: center;
  z-index: 10;
}
/* Optional: semi-transparent background for readability */
.blurb-overlay-text .et_pb_blurb_container p {
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  font-size: 14px !important;
  padding: 10px 20px;
  border-radius: 5px;
  display: inline-block;
}
/*DONATE PAGE
_________________________________*/
/* Base styles for all swap classes */
.swap-legal, .swap-finance, .swap-awareness, .swap-education {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.swap-legal img, .swap-finance img, .swap-awareness img, .swap-education img {
  transition: opacity 0.3s ease;
  display: block;
  width: 100%;
  height: auto;
}
/* Legal Image Swap */
.swap-legal::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('/wp-content/uploads/2025/09/icon-legal-hover.png');
  background-size: 100px 100px;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}
.swap-legal:hover::before {
  opacity: 1;
}
/* Finance Image Swap */
.swap-finance::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('/wp-content/uploads/2025/09/icon-finance-hover.png');
  background-size: 100px 100px;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}
.swap-finance:hover::before {
  opacity: 1;
}
/* Awareness Image Swap */
.swap-awareness::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('/wp-content/uploads/2025/09/icon-public-hover.png');
  background-size: 100px 100px;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}
.swap-awareness:hover::before {
  opacity: 1;
}
/* Education Image Swap */
.swap-education::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('/wp-content/uploads/2025/09/icon-edu-hover.png');
  background-size: 100px 100px;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}
.swap-education:hover::before {
  opacity: 1;
}
/* Optional: Add subtle scale effect on hover */
.swap-legal:hover img, .swap-finance:hover img, .swap-awareness:hover img, .swap-education:hover img {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}
/* Optional: Fade out original image on hover for cleaner effect */
.swap-legal:hover img, .swap-finance:hover img, .swap-awareness:hover img, .swap-education:hover img {
  opacity: 0.1;
}
/*
Contact Us Form 
---------------------------------*/
#gform_submit_button_1 {
  width: 100% !important;
  border-radius: 40px !important;
  box-sizing: border-box;
}
.gform-footer {
  margin-top: 0 !important;
}
.gform_title {
  display: none;
}
.gform-theme--foundation .gform_fields {
  display: block !important;
}
#input_1_3 {
  height: 92px !important;
  resize: vertical; /* Allows vertical resizing only */
  min-height: 92px; /* Prevents it from being resized smaller than 92px */
}
/* -----------------------------------------
   FOOTER
----------------------------------------- */
#main-footer, .et-l--footer, .et-l--footer p, .et-l--footer a {
  color: #B1B7B9 !important;
  font-size: 14px !important;
}
.et-l--footer span {
  font-size: 17px !important;
}
#main-footer a, .et-l--footer a {
  color: #ffffff !important;
  text-decoration: none;
  border-bottom: 1px solid #333;
  padding-bottom: 2px;
  transition: border-color 0.3s ease;
}
#main-footer a:hover, .et-l--footer a:hover {
  border-bottom-color: #ffffff;
  color: #ffffff !important;
}
.footer-h3 h3 {
  font-size: 16px !important;
  padding-top: 0;
  margin-top: 0;
  ;
}
.footer-h3 a, .footer-copyright a {
  color: #0A64EE !important;
}
.et_pb_social_media_follow li a.icon {
  border-bottom: none !important;
}
.btn-donate {
  font-size: 14px;
  background-color: var(--button-bg);
  border-width: 0 !important;
  border-radius: 30px;
  font-weight: bold;
  font-style: normal;
  text-transform: none;
  text-decoration: none;
  color: #fff;
}
/* -----------------------------------------
   THEME OVERIDES
----------------------------------------- */
/* Set default max-width for standard Divi rows unless overridden */
.et_pb_row {
  max-width: 1180px;
  margin: 0 auto;
}
footer .et_pb_row {
  max-width: 1080px !important;
}
.header-custom-width {
  max-width: 600px;
}
/* -----------------------------------------
   MEDIA QUERIES
----------------------------------------- */
@media (max-width: 1260px) {
  h1 {
    font-size: 55px !important;
  }
}
@media (max-width: 700px) {
  .hero h1 {
    font-size: 55px !important;
  }
}
@media (max-width: 600px) {
  .casework-row, .contenttable-row {
    flex-direction: column;
  }
}
@media (max-width: 480px) {
  .custom-search-form-wrapper {
    right: 10px;
    padding: 8px;
  }
  .custom-search-form button {
    margin-left: 5px;
  }
  h1 {
    font-size: 36px !important;
  }
  h2 {
    font-size: 30px !important;
  }
  h3 {}
  .hero h1 {
    font-size: 46px !important;
  }
  .header-large h2 {
    font-size: 35px !important;
  }
  .growing-caseload .et_pb_column_10 {
    width: 100% !important;
  }
  .growing-caseload .et_pb_column_11, .growing-caseload .et_pb_column_12, .growing-caseload .et_pb_column_13, .growing-caseload .et_pb_column_14 {
    width: 49% !important;
  }
}
/* -----------------------------------------
   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;
}


/* Lists */
.profiles-template ul.causes-list, .profiles-template ul {
  margin: 0;
  padding: 0;
}
/* Cause-specific styling */
.profiles-template .cause-tunnel-vision, .profiles-template .cause-eyewitness-identification, .profiles-template .cause-false-confessions, .profiles-template .cause-mr-big-stings, .profiles-template .cause-false-guilty-pleas, .profiles-template .cause-systemic-discrimination, .profiles-template .cause-errors-and-evolution-of-forensic-science, .profiles-template .cause-unsavoury-witnesses, .profiles-template .cause-professional-misconduct {
  background-size: auto;
  background-position: left center;
  background-repeat: no-repeat;
  padding: 10px 10px 10px 60px;
}
/* Cause-specific styling */
.profiles-template .cause-tunnel-vision {
  background-image: url('/wp-content/uploads/2025/09/Icon-tunnel-vision.webp');
}
.profiles-template .cause-eyewitness-identification {
  background-image: url('/wp-content/uploads/2025/09/Icon-eyewitness.webp');
}
.profiles-template .cause-false-confessions {
  background-image: url('/wp-content/uploads/2025/09/Icon-confssions.png');
}
.profiles-template .cause-mr-big-stings {
  background-image: url('/wp-content/uploads/2025/09/Icon-big-stings.png');
}
.profiles-template .cause-false-guilty-pleas {
  background-image: url('/wp-content/uploads/2025/09/Icon-tunnel-vision.webp');
}
.profiles-template .cause-systemic-discrimination {
  background-image: url('/wp-content/uploads/2025/09/Icon-discriminate.png');
}
.profiles-template .cause-errors-and-evolution-of-forensic-science {
  background-image: url('/wp-content/uploads/2025/09/Icon-science.png');
}
.profiles-template .cause-unsavoury-witnesses {
  background-image: url('/wp-content/uploads/2025/09/Icon-informant.webp');
}
.profiles-template .cause-professional-misconduct {
  background-image: url('/wp-content/uploads/2025/09/Icon-misconduct.webp');
}
.profiles-template .cause-tunnel-vision:hover, .profiles-template .cause-eyewitness-identification:hover, .profiles-template .cause-false-confessions:hover, .profiles-template .cause-mr-big-stings:hover, .profiles-template .cause-false-guilty-pleas:hover, .profiles-template .cause-systemic-discrimination:hover, .profiles-template .cause-errors-and-evolution-of-forensic-science:hover, .profiles-template .cause-unsavoury-witnesses:hover, .profiles-template .cause-professional-misconduct:hover {
  background-image: none;
  padding: 10px 10px 10px 30px;
}
/* Press releases styling */
.profiles-template .press-item {
  margin-bottom: 15px;
  display: flex;
  gap: 20px;
}
.profiles-template .press-meta {
  flex: 0 0 25%;
  font-size: 14px;
  padding: 10px;
  border-radius: 8px;
}
.profiles-template .press-title {
  flex: 1;
  font-size: 16px;
  line-height: 1.4;
}
.source-name {
  font-size: 14px;
  font-weight: 600;
}
.source-link-name {
  font-size: 12px;
  font-weight: 500;
  color: #5D6567;
}
.press-date {
  font-size: 14px;
  font-weight: 600;
  color: #5D6567;
}
.article-name a {
  font-style: italic;
  color: #000;
}
/* Legal documents styling */
.profiles-template .legal-item {
  margin-bottom: 15px;
  display: flex;
  gap: 20px;
  align-items: center;
}
.profiles-template .legal-item:hover {
  border-bottom: 1px solid #DFE1E2;
}
.profiles-template .legal-meta {
  flex: 0 0 30%;
  font-size: 14px;
}
.profiles-template .legal-content {
  flex: 1;
  font-size: 16px;
  line-height: 1.4;
  margin-top: 16px;
}
.legal-type {
  font-size: 14px;
  font-weight: normal;
  text-transform: none;
  display: flex;
  justify-content: center;
  flex-direction: column;
}
.legal-type span {
  font-size: 12px;
  color: #9CA6AB;
}
.legal-type-record {
  background-image: url('/wp-content/uploads/2025/09/Icon-record.png');
  background-size: auto;
  background-position: left center;
  background-repeat: no-repeat;
  padding-left: 60px;
  min-height: 70px;
}
.legal-type-document {
  background-image: url('/wp-content/uploads/2025/09/Icon-document.png');
  background-size: auto;
  background-position: left center;
  background-repeat: no-repeat;
  padding-left: 60px;
  min-height: 70px;
}
.legal-type-video {
  background-image: url('/wp-content/uploads/2025/09/Icon-video.png');
  background-size: auto;
  background-position: left center;
  background-repeat: no-repeat;
  padding-left: 60px;
  min-height: 70px;
}
.legal-name {
  font-weight: 500;
}
.legal-name a {
  color: #000;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.legal-name a:hover {
  border-bottom-color: currentColor;
}
/* Base blockquote styles */
blockquote {
  width: 90%;
  margin: 0 0 30px!important;
  padding: 1rem;
  box-sizing: border-box;
  display: inline-block;
  vertical-align: top;
}
/* Add some spacing between adjacent blockquotes */
blockquote + blockquote {
  margin-left: 4%; /* This creates the gap between the two 48% width blockquotes */
}
/* 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 INDOICVIDUAL 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;
  }
}
/* ---------
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;
  }
}