/**
 * Theme Name: Citizen's Platform for SDGs, Bangladesh
 * Theme URI: https://cpd.org.bd
 * Author: CPD Bangladesh
 * Author URI: https://cpd.org.bd
 * Description: A custom theme for Citizen's Platform for Sustainable Development Goals (SDGs) in Bangladesh. This theme supports multilingual content (English and Bangla), Elementor page builder, and modern WordPress features.
 * Version: 1.0.0
 * Requires at least: 6.0
 * Tested up to: 6.7
 * Requires PHP: 7.4
 * License: GNU General Public License v2 or later
 * License URI: http://www.gnu.org/licenses/gpl-2.0.html
 * Text Domain: cpd-sdgs-bangladesh
 * Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, elementor, sdgs
 *
 * @format
 */

/* ==========================================================================
   Custom Fonts
   ========================================================================== */

/* Banana Grotesk - Thin (100) */
@font-face {
  font-family: 'Banana Grotesk';
  src: url('assets/fonts/BananaGrotesk-Thin.woff2') format('woff2'),
  url('assets/fonts/BananaGrotesk-Thin.woff') format('woff');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

/* Banana Grotesk - Extralight (200) */
@font-face {
  font-family: 'Banana Grotesk';
  src: url('assets/fonts/BananaGrotesk-Extralight.woff2') format('woff2'),
  url('assets/fonts/BananaGrotesk-Extralight.woff') format('woff');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

/* Banana Grotesk - Light (300) */
@font-face {
  font-family: 'Banana Grotesk';
  src: url('assets/fonts/BananaGrotesk-Light.woff2') format('woff2'),
  url('assets/fonts/BananaGrotesk-Light.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* Banana Grotesk - Regular (400) */
@font-face {
  font-family: 'Banana Grotesk';
  src: url('assets/fonts/BananaGrotesk-Regular.woff2') format('woff2'),
  url('assets/fonts/BananaGrotesk-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Banana Grotesk - Medium (500) */
@font-face {
  font-family: 'Banana Grotesk';
  src: url('assets/fonts/BananaGrotesk-Medium.woff2') format('woff2'),
  url('assets/fonts/BananaGrotesk-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* Banana Grotesk - Semibold (600) */
@font-face {
  font-family: 'Banana Grotesk';
  src: url('assets/fonts/BananaGrotesk-Semibold.woff2') format('woff2'),
  url('assets/fonts/BananaGrotesk-Semibold.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* Banana Grotesk - Bold (700) */
@font-face {
  font-family: 'Banana Grotesk';
  src: url('assets/fonts/BananaGrotesk-Bold.woff2') format('woff2'),
  url('assets/fonts/BananaGrotesk-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Banana Grotesk - Extrabold (800) */
@font-face {
  font-family: 'Banana Grotesk';
  src: url('assets/fonts/BananaGrotesk-Extrabold.woff2') format('woff2'),
  url('assets/fonts/BananaGrotesk-Extrabold.woff') format('woff');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* ==========================================================================
   CSS Custom Properties (Design System)
   ========================================================================== */

:root {
  /* Color Palette */
  --color-primary: #1141aa;
  --color-secondary: #ffcd5e;
  --color-one: #01070b;
  --color-two: #5b6770;
  --color-three: #bbc6d0;
  --color-four: #d9d9d9;
  --color-five: #ffffff;
  --color-six: #223755;
  --color-seven: #f8f9fb;
  --hover-color: #d6dde3;
  --hover-color-two: #1141aa;

  /* Typography - Desktop 1920px */
  --font-hero-display: 140px;
  --lh-hero-display: 120%;
  --font-hero-subheading: 96px;
  --lh-hero-subheading: 120%;
  --font-h1: 80px;
  --lh-h1: 130%;
  --font-h2: 64px;
  --lh-h2: 130%;
  --font-h3: 56px;
  --lh-h3: 135%;
  --font-h4: 48px;
  --lh-h4: 135%;
  --font-h5: 40px;
  --lh-h5: 135%;
  --font-h6: 32px;
  --lh-h6: 140%;
  --font-body-xl: 24px;
  --lh-body-xl: 140%;
  --font-body-l: 20px;
  --lh-body-l: 140%;
  --font-body-m: 18px;
  --lh-body-m: 150%;
  --font-body-s: 16px;
  --lh-body-s: 150%;
  --font-button-l: 18px;
  --lh-button-l: 150%;
  --font-button-m: 16px;
  --lh-button-m: 150%;
  --font-label: 14px;
  --lh-label: 120%;
  --font-caption: 14px;
  --lh-caption: 120%;
  --font-overline: 12px;
  --lh-overline: 120%;

  /* Font Weights */
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
}

/* Laptop 1440px */
@media screen and (max-width: 1440px) {
  :root {
    --font-hero-display: 120px;
    --font-hero-subheading: 80px;
    --font-h1: 72px;
    --font-h2: 56px;
    --font-h3: 48px;
    --font-h4: 40px;
    --font-h5: 32px;
    --font-h6: 28px;
  }
}

/* Tablet 768px */
@media screen and (max-width: 768px) {
  :root {
    --font-hero-display: 72px;
    --font-hero-subheading: 64px;
    --font-h1: 56px;
    --font-h2: 48px;
    --font-h3: 40px;
    --font-h4: 32px;
    --font-h5: 28px;
    --font-h6: 24px;
    --font-body-xl: 20px;
    --font-body-l: 18px;
    --font-body-m: 16px;
    --font-body-s: 14px;
    --font-button-l: 16px;
    --font-button-m: 14px;
  }
}

/* Mobile 375px */
@media screen and (max-width: 375px) {
  :root {
    --font-hero-display: 56px;
    --font-hero-subheading: 48px;
    --font-h1: 40px;
    --font-h2: 36px;
    --font-h3: 32px;
    --font-h4: 28px;
    --font-h5: 24px;
    --font-h6: 20px;
    --font-body-xl: 18px;
    --font-body-l: 18px;
    --font-body-m: 16px;
    --font-body-s: 14px;
    --font-button-l: 16px;
    --font-button-m: 14px;
  }
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

body {
  font-family: 'Banana Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu,
  Cantarell, 'Helvetica Neue', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
  margin: 0;
  padding: 0;
}

/* ==========================================================================
   Typography
   Header & Navigation Styles
   ========================================================================== */
/* All header-related styles are located in assets/css/custom.css */

/* ==========================================================================
   Content
   ========================================================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: var(--fw-regular);
  margin-bottom: 1rem;
  color: var(--color-one);
}

h1 {
  font-size: var(--font-h1);
  line-height: var(--lh-h1);
}

h2 {
  font-size: var(--font-h2);
  line-height: var(--lh-h2);
}

h3 {
  font-size: var(--font-h3);
  line-height: var(--lh-h3);
}

h4 {
  font-size: var(--font-h4);
  line-height: var(--lh-h4);
}

h5 {
  font-size: var(--font-h5);
  line-height: var(--lh-h5);
}

h6 {
  font-size: var(--font-h6);
  line-height: var(--lh-h6);
}

p {
  margin-bottom: 1rem;
  font-size: var(--font-body-m);
  line-height: var(--lh-body-m);
}

a {
  color: var(--color-one);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover,
a:focus {
  color: var(--hover-color-two);
  text-decoration: none;
}

/* Typography Utility Classes */
.hero-display {
  font-size: var(--font-hero-display);
  line-height: var(--lh-hero-display);
  font-weight: var(--fw-regular);
}

.hero-display-semibold {
  font-size: var(--font-hero-display);
  line-height: var(--lh-hero-display);
  font-weight: var(--fw-semibold);
}

.hero-subheading {
  font-size: var(--font-hero-subheading);
  line-height: var(--lh-hero-subheading);
  font-weight: var(--fw-regular);
}

.hero-subheading-semibold {
  font-size: var(--font-hero-subheading);
  line-height: var(--lh-hero-subheading);
  font-weight: var(--fw-semibold);
}

.h1-semibold {
  font-size: var(--font-h1);
  line-height: var(--lh-h1);
  font-weight: var(--fw-semibold);
}

.h2-medium {
  font-size: var(--font-h2);
  line-height: var(--lh-h2);
  font-weight: var(--fw-medium);
}

.h3-medium {
  font-size: var(--font-h3);
  line-height: var(--lh-h3);
  font-weight: var(--fw-medium);
}

.h4-medium {
  font-size: var(--font-h4);
  line-height: var(--lh-h4);
  font-weight: var(--fw-medium);
}

.h5-medium {
  font-size: var(--font-h5);
  line-height: var(--lh-h5);
  font-weight: var(--fw-medium);
}

.h6-medium {
  font-size: var(--font-h6);
  line-height: var(--lh-h6);
  font-weight: var(--fw-medium);
}

.body-xl {
  font-size: var(--font-body-xl);
  line-height: var(--lh-body-xl);
  font-weight: var(--fw-regular);
}

.body-xl-medium {
  font-size: var(--font-body-xl);
  line-height: var(--lh-body-xl);
  font-weight: var(--fw-medium);
}

.body-l {
  font-size: var(--font-body-l);
  line-height: var(--lh-body-l);
  font-weight: var(--fw-regular);
}

.body-l-medium {
  font-size: var(--font-body-l);
  line-height: var(--lh-body-l);
  font-weight: var(--fw-medium);
}

.body-m {
  font-size: var(--font-body-m);
  line-height: var(--lh-body-m);
  font-weight: var(--fw-regular);
}

.body-m-medium {
  font-size: var(--font-body-m);
  line-height: var(--lh-body-m);
  font-weight: var(--fw-medium);
}

.body-s {
  font-size: var(--font-body-s);
  line-height: var(--lh-body-s);
  font-weight: var(--fw-regular);
}

.body-s-medium {
  font-size: var(--font-body-s);
  line-height: var(--lh-body-s);
  font-weight: var(--fw-medium);
}

.button-l {
  font-size: var(--font-button-l);
  line-height: var(--lh-button-l);
  font-weight: var(--fw-regular);
}

.button-l-medium {
  font-size: var(--font-button-l);
  line-height: var(--lh-button-l);
  font-weight: var(--fw-medium);
}

.button-m {
  font-size: var(--font-button-m);
  line-height: var(--lh-button-m);
  font-weight: var(--fw-regular);
}

.button-m-medium {
  font-size: var(--font-button-m);
  line-height: var(--lh-button-m);
  font-weight: var(--fw-medium);
}

.label {
  font-size: var(--font-label);
  line-height: var(--lh-label);
  font-weight: var(--fw-regular);
}

.label-medium {
  font-size: var(--font-label);
  line-height: var(--lh-label);
  font-weight: var(--fw-medium);
}

.caption {
  font-size: var(--font-caption);
  line-height: var(--lh-caption);
  font-weight: var(--fw-regular);
}

.caption-medium {
  font-size: var(--font-caption);
  line-height: var(--lh-caption);
  font-weight: var(--fw-medium);
}

.overline {
  font-size: var(--font-overline);
  line-height: var(--lh-overline);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Font Weight Utilities */
.fw-regular {
  font-weight: var(--fw-regular);
}

.fw-medium {
  font-weight: var(--fw-medium);
}

.fw-semibold {
  font-weight: var(--fw-semibold);
}

.fw-bold {
  font-weight: var(--fw-bold);
}

/* Color Utilities */
.text-primary {
  color: var(--color-primary);
}

.text-secondary {
  color: var(--color-secondary);
}

.text-one {
  color: var(--color-one);
}

.text-two {
  color: var(--color-two);
}

.text-three {
  color: var(--color-three);
}

.bg-primary {
  background-color: var(--color-primary);
}

.bg-secondary {
  background-color: var(--color-secondary);
}

.bg-one {
  background-color: var(--color-one);
}

.bg-six {
  background-color: var(--color-six);
}

.bg-seven {
  background-color: var(--color-seven);
}

.bg-white {
  background-color: var(--color-five);
}

/* ==========================================================================
   Layout
   ========================================================================== */

.site-container {
  max-width: 85%;
  margin: 0 auto;
  padding: 0 20px;
}

@media (max-width: 767px) {
  .site-container {
    max-width: 100% !important;
  }
}

/* ==========================================================================
   Content
   ========================================================================== */

.site-main {
  min-height: 400px;
}

.entry-header {
  margin-bottom: 2rem;
}

.entry-title {
  margin-bottom: 0.5rem;
}

.entry-meta {
  color: #919191;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px; /* 142.857% */
  letter-spacing: 0.28px;
}

.single-post .post-thumbnail img {
  width: 100%;
  border-radius: 30px;
  overflow: hidden;
  object-fit: cover;
  margin-bottom: 40px;
}

.entry-content {
  line-height: 1.8;
}

.comment-reply-title {
  margin-top: 30px;
}

.comment-form-comment {
  display: flex;
  flex-direction: column;
}

.comment-form-comment textarea {
  padding: 15px;
  color: #020E12;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 1; /* 30px */
  margin-bottom: 10px;
  margin-top: 10px;
}

.search-submit {
  margin-top: 25px;
}

.form-submit .submit, .search-submit {
  background-color: #0093CA;
  color: #FFFFFF;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 150%; /* 24px */
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.comments-title {
  margin-top: 25px;
  font-size: 30px;
  font-style: normal;
  font-weight: 600;
  line-height: 150%; /* 30px */
}

.entry-content h3, .comment-reply-title {
  color: #020E12;
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: 150%; /* 30px */
  margin-bottom: 10px;
}

.comment-list, .children {
  list-style: none;
}

.entry-content ul {
  padding-left: 20px;

}

.entry-content ul li {
  margin-bottom: 10px !important;
}

.entry-content li::marker {
  color: #0093CA;
}

.entry-content p, .entry-content ul li, .entry-content a {
  color: #020E12;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%; /* 24px */
  margin-bottom: 20px;
}

.entry-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1.5rem 0;
}

.entry-footer {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #e5e5e5;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  padding: 80px 0 30px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;

}

.site-footer a {
  color: #fff;
}

.site-footer a:hover {
  color: #ccc;
}

.site-info {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #333;
  margin-top: 20px;
  font-size: 0.9rem;
}

/* ==========================================================================
   Widgets
   ========================================================================== */

.widget {
  margin-bottom: 2rem;
}

.widget-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #0073aa;
}

.widget ul {
  list-style: none;
  padding: 0;
}

.widget li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #e5e5e5;
}

/* ==========================================================================
   Accessibility
   ========================================================================== */

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  color: #21759b;
  display: block;
  font-size: 14px;
  font-weight: bold;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media screen and (max-width: 768px) {
  .main-navigation ul {
    flex-direction: column;
    gap: 0;
  }

  .main-navigation ul ul {
    position: static;
    box-shadow: none;
    padding-left: 20px;
  }
}

/* ==========================================================================
   Elementor Compatibility
   ========================================================================== */

.elementor-widget-wrap {
  margin: 0;
}

:is(.elementor-section-wrap,[data-elementor-id]) > .e-con {
  padding: 0;
}

.site-header {
  position: fixed !important;
  z-index: 3;
  left: 0;
  right: 0;
  background: #FFF;
  box-shadow: 0 5px 30px 0 rgba(0, 0, 0, 0.08);
}

/* ==========================================================================
   Bangla Font Support
   ========================================================================== */

body.lang-bn,
body.lang-bn * {
  font-family: 'Kalpurush', 'SolaimanLipi', 'Noto Sans Bengali', sans-serif;
}

/* ==========================================================================
   Reform Status Overview Section
   ========================================================================== */

.reform-status-overview-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 8px;
}

.status-overview-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 15px;
  background: white;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.status-overview-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.status-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #f0f0f0;
  color: white;
}

.status-badge img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.status-badge .dashicons {
  font-size: 32px;
  width: 32px;
  height: 32px;
}

.status-name {
  font-weight: 400;
  font-size: 14px;
  line-height: 140%;
  letter-spacing: 0%;
  color: #000000;

}

/* ==========================================================================
   Reform Description Section
   ========================================================================== */

.reform-description-section {
  margin-bottom: 30px;
  padding: 20px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border-left: 4px solid #3b82f6;
}

.reform-description-section p {
  margin: 0;
  color: #555;
  line-height: 1.6;
}

/* ==========================================================================
   Reform Details Table
   ========================================================================== */

.reform-details-table {
  margin: 30px 0;
  background: white;
  border-radius: 8px;
  overflow: hidden;
}

.reform-detail-row {
  display: flex;
  gap: 20px;
}


.detail-label {
  flex: 0 0 200px;
  font-weight: 600;
  color: #374151;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.detail-value {
  flex: 1;
  color: #555;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.reform-category-with-icon,
.reform-status-with-icon {
  display: flex;
  align-items: center;
  gap: 10px;
}

.reform-category-with-icon .category-icon,
.reform-status-with-icon .status-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.reform-category,
.reform-status {
  display: inline-block;
  font-weight: 400;
  font-size: 14px;
  line-height: 140%;
  letter-spacing: 0;
  color: #000000;

}

.reform-status {
  color: white;
  background: #3b82f6;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   Stage Badge Styling
   ========================================================================== */

.stage-badge {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  color: white;
}

.stage-badge.stage-reform_proposed {
  background: #0093CA;
}

.stage-badge.stage-reform_initiated {
  background: #ea580c;
}

.stage-badge.stage-legal_policy_formulation {
  background: #dc2626;
}

.stage-badge.stage-operationalisation {
  background: #16a34a;
}

.stage-badge.stage-action_implementation {
  background: #b91c1c;
}

/* Stage Description Styling */
.stage-description-content {
  background: #f8f9fa;
  border-left: 4px solid #3b82f6;
  padding: 15px;
  border-radius: 4px;
  line-height: 1.6;
  color: #555;
  font-size: 14px;
  word-wrap: break-word;
  white-space: pre-wrap;
}

.stage-description-content p {
  margin-bottom: 10px;
}

.stage-description-content p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   Reform Timeline with Status Icons
   ========================================================================== */

.reform-timeline {
  border-bottom: none;
}

.reform-timeline h3 {
  margin-top: 0;
  margin-bottom: 35px;
  color: #1f2937;
  font-size: 18px;
  font-weight: 600;
}

.timeline-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  position: relative;
}

/* Horizontal line connecting timeline items */
.timeline-container::before {
  content: '';
  position: absolute;
  top: 25px;
  left: 0;
  right: 0;
  height: 2px;
  background: #d1d5db;
  z-index: 0;
  display: none;
}

.timeline-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
  text-align: center;
  transition: all 0.3s ease;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  justify-content: center;
}

/* Timeline Status Icon Container */
.timeline-status-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.timeline-status-icon img {
  margin: 0 !important;
}

.status-timeline-icon {
  object-fit: contain;
}

.icon-placeholder {
  font-size: 24px;
  font-weight: 700;
  color: white;
}

/* Selected/Active Timeline Item */


.timeline-item.selected .timeline-label {
  color: #1f2937;
  font-weight: 700;
  font-size: 15px;
}

/* Timeline Label */
.timeline-label {
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  color: #6b7280;
  line-height: 1.4;
  max-width: 100px;
  transition: all 0.3s ease;
  margin-top: 8px;
}


/* Responsive Design */
@media (max-width: 1024px) {
  .timeline-container {
    gap: 10px;
    padding: 0 10px;
  }

  .timeline-status-icon {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }

  .status-timeline-icon {
    width: 30px;
    height: 30px;
  }

  .timeline-item.selected .timeline-status-icon {
    width: 60px;
    height: 60px;
  }

  .timeline-label {
    font-size: 12px;
    max-width: 90px;
  }
}


/* ==========================================================================
   Related Reforms Section
   ========================================================================== */
.observation-list a {
  color: #000;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%; /* 19.6px */
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-skip-ink: auto;
  text-decoration-thickness: auto;
  text-underline-offset: auto;
  text-underline-position: from-font;
}

.resource-list li a {
  color: #8D8D8D;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 160%; /* 22.4px */
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-skip-ink: auto;
  text-decoration-thickness: auto;
  text-underline-offset: auto;
  text-underline-position: from-font;
}

.reform-reviews-section {
  margin: 40px 0;
}

.reform-reviews-section h2 {
  margin-bottom: 25px;
  color: #1f2937;
  font-size: 22px;
}

.related-reforms {
  padding: 100px 0 80px;
  background: #F9F9F9;
}

.related-reforms-list {
  display: flex;
  flex-direction: column;
  gap: 25px;

}

.related-reforms h2 {
  color: #000;
  font-size: 48px;
  font-style: normal;
  font-weight: 600;
  line-height: 125%; /* 60px */
  margin-bottom: 50px;
}

.related-reform-item {
  display: flex;
  padding: 24px;
  align-items: flex-start;
  gap: 20px;
  flex-shrink: 0;
  border-radius: 20px;
  background: #FFF;
}

.related-reform-item a {
  color: #000;
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 140%; /* 25.2px */
}

.related-reform-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

@media (max-width: 767px) {
  .related-reform-item {
    flex-direction: column;
  }
}

.related-reform-content {
  flex: 1;
}

.related-reform-content h4 {
  margin: 0 0 10px 0;
  font-size: 16px;
  color: #1f2937;
  line-height: 1.4;
}

.related-reform-content p {
  margin: 0;
  font-size: 13px;
  color: #6b7280;
  line-height: 1.5;
}

.related-reform-icons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.related-reform-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 14px;
  flex-shrink: 0;
}

/* ==========================================================================
   Reform Status Final Display Section
   ========================================================================== */

.reform-status-final-section {
  justify-content: flex-start;
  align-items: flex-start;
}

.reform-status-final-section .reform-status-display {
  align-items: flex-start;
}

.stage-field-date {
  font-weight: 600;
}

.reform-status-display {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
}

.status-icon-circle {
  display: flex;
  align-items: flex-start;
  color: white;
  font-weight: 600;
  font-size: 32px;
}

.status-icon-img {
  margin: 0 !important;
  height: 40px;
  width: 40px;
}

.status-icon-placeholder {
  font-size: 32px;
  font-weight: 700;
  color: white;
}

.status-info {
  flex: 1;
}


.status-description {
  font-weight: 400;
  font-size: 14px;
  line-height: 140%;
  letter-spacing: 0%;
  color: black;
}

/* Dynamic Fields for Reform Status */
.reform-status-dynamic-field {
  background: #f3f4f6;
  border-left: 4px solid #10b981;
  margin-top: 15px;
  padding: 14px 18px;
}

.reform-status-dynamic-field .detail-label {
  color: #059669;
  font-weight: 600;
  min-width: 180px;
}

.reform-status-dynamic-field .detail-value {
  color: #374151;
  flex: 1;
}

/* Dynamic Field Content */
.dynamic-field-content {
  background: white;
  border: 1px solid #e5e7eb;
  padding: 12px;
  border-radius: 4px;
  line-height: 1.6;
  color: #555;
  font-size: 14px;
  word-wrap: break-word;
  white-space: pre-wrap;
  max-height: 400px;
  overflow-y: auto;
}

/* Responsive Design for Reform Status Section */

.reform-observation-section,
.reform-resources-section {
  margin: 30px 0;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 8px;
  border-left: 4px solid #3b82f6;
}

.reform-observation-section h3,
.reform-resources-section h3 {
  margin-top: 0;
  margin-bottom: 15px;
  color: #1f2937;
  font-size: 18px;
  font-weight: 600;
}

.observation-content,
.resources-content {
  color: #555;
  line-height: 1.6;
}

.observation-content p,
.resources-content p {
  margin-bottom: 12px;
}

.observation-content ul,
.resources-content ul {
  margin: 0;
  padding-left: 20px;
}

.observation-content li,
.resources-content li {
  margin-bottom: 10px;
  color: #555;
}

.resources-content a {
  color: #3b82f6;
  text-decoration: none;
  font-weight: 500;
}

.resources-content a:hover {
  text-decoration: underline;
}

.reform-main-content {
  margin: 30px 0;
  line-height: 1.8;
  color: #444;
}

.reform-main-content p {
  margin-bottom: 15px;
}

.submit-feedback-btn {
  display: inline-block;
  padding: 12px 24px;
  background: #3b82f6;
  color: white;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  margin: 20px 0;
}

.submit-feedback-btn:hover {
  background: #0093CA;
  color: white;
  text-decoration: none;
}

/* ==========================================================================
   Related Posts Slider Styles
   ========================================================================== */

.cpd-related-posts-slider-widget {
  width: 100%;
  background-color: #F9F9F9;
  padding: 60px 0;
  margin: 40px 0;
}

/* Related Posts Header */
.cpd-related-posts-slider-widget .news-events-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 50px;
  gap: 20px;
}

.cpd-related-posts-slider-widget .header-left {
  flex: 1;
}

.cpd-related-posts-slider-widget .header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.cpd-related-posts-slider-widget .section-title {
  margin: 0;
  font-weight: 600;
  font-size: 40px;
  line-height: 125%;
  letter-spacing: 0;
  color: #000000;
}

/* Related Posts Slider Container */
.cpd-related-posts-slider-widget .news-events-slider-container {
  position: relative;
}

.cpd-related-posts-slider {
  overflow: visible;
  padding-bottom: 20px;
}

/* Related Posts Cards - Same styling as news events */
.cpd-related-posts-slider-widget .news-event-card {
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid #C6C6C6;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.cpd-related-posts-slider-widget .news-event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Card Image */
.cpd-related-posts-slider-widget .card-image {
  position: relative;
  width: 100%;
  padding-top: calc(170 / 270 * 100%);
  overflow: hidden;
}

.cpd-related-posts-slider-widget .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform 0.3s ease;
}

.cpd-related-posts-slider-widget .news-event-card:hover .card-image img {
  transform: scale(1.05);
}

/* Card Content */
.cpd-related-posts-slider-widget .card-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.cpd-related-posts-slider-widget .card-category {
  color: #000;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.cpd-related-posts-slider-widget .card-date {
  color: #5B6770;
  font-size: 14px;
  font-style: normal;
  font-weight: 300;
  line-height: 150%;
}

.cpd-related-posts-slider-widget .card-title {
  margin: 0 0 35px 0;
  color: #000;
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 140%;
  transition: color 0.3s ease;
}

.cpd-related-posts-slider-widget .card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.cpd-related-posts-slider-widget .card-title a:hover {
  color: #0093CA;
}

.cpd-related-posts-slider-widget .read-more-link {
  display: inline-flex;
  align-items: center;
  margin-top: auto;
  position: absolute;
  right: 20px;
  bottom: 20px;
}

.cpd-related-posts-slider-widget .read-more-link:hover {
  transform: translateX(2px);
}

.cpd-related-posts-slider-widget .read-more-link svg {
  transition: transform 0.3s ease;
}

.cpd-related-posts-slider-widget .read-more-link:hover svg {
  transform: translateX(2px);
}

/* Navigation Buttons for Related Posts */
.cpd-related-posts-slider-widget .news-navigation {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.cpd-related-posts-slider-widget .news-navigation-nav-btn {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border: none;
  background: transparent;
}

.cpd-related-posts-slider-widget .news-navigation-nav-btn:hover {
  border: none;
  transform: scale(1.05);
}

.cpd-related-posts-slider-widget .news-navigation-nav-btn svg {
  width: 50px;
  height: 50px;
}

/* Swiper Pagination for Related Posts */
.cpd-related-posts-slider .swiper-pagination {
  position: static !important;
  margin-top: 30px;
  text-align: center;
}

.cpd-related-posts-slider .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: #cccccc;
  opacity: 1;
  margin: 0 6px;
  transition: all 0.3s ease;
}

.cpd-related-posts-slider .swiper-pagination-bullet-active {
  background: #0093CA;
  transform: scale(1.2);
}

/* ==========================================================================
   Related Posts Slider - Additional JavaScript Fixes
   ========================================================================== */

/* Ensure Swiper slider structure is properly handled */
.cpd-related-posts-slider-widget {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.cpd-related-posts-slider {
  overflow: hidden; /* Ensure proper clipping */
  position: relative;
  width: 100%;
  max-width: 100%;
}

.cpd-related-posts-slider .swiper-wrapper {
  display: flex;
  transition-timing-function: ease-out;
  width: 100%;
  max-width: 100%;
}

.cpd-related-posts-slider .swiper-slide {
  flex-shrink: 0;
  position: relative;
  width: auto !important;
  max-width: 100%;
  box-sizing: border-box;
}

/* Force specific widths for different screen sizes */
@media (max-width: 767px) {
  .cpd-related-posts-slider .swiper-slide {
    width: 100% !important;
    flex: 0 0 100%;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .cpd-related-posts-slider .swiper-slide {
    width: calc(50% - 15px) !important;
    flex: 0 0 calc(50% - 15px);
  }
}

@media (min-width: 1024px) {
  .cpd-related-posts-slider .swiper-slide {
    width: calc(33.333% - 20px) !important;
    flex: 0 0 calc(33.333% - 20px);
  }
}

/* Fix for specific navigation buttons for related posts */
.cpd-related-posts-slider-widget .related-posts-prev,
.cpd-related-posts-slider-widget .related-posts-next {
  position: relative;
  z-index: 10;
  cursor: pointer;
  background: transparent;
  border: none;
  outline: none;
}

.cpd-related-posts-slider-widget .related-posts-prev.swiper-button-disabled,
.cpd-related-posts-slider-widget .related-posts-next.swiper-button-disabled {
  opacity: 0.35;
  pointer-events: none;
}

/* Ensure pagination bullets work */
.cpd-related-posts-slider .swiper-pagination-bullet {
  cursor: pointer;
  background-color: #cccccc;
  opacity: 1;
}

.cpd-related-posts-slider .swiper-pagination-bullet-active {
  background-color: #0093CA;
}

/* Fix for content overlapping issues */
.cpd-related-posts-slider-widget .card-content {
  position: relative;
  z-index: 2;
}

.cpd-related-posts-slider-widget .read-more-link {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 5;
}

/* Loading state for when Swiper is initializing */
.cpd-related-posts-slider-widget.swiper-loading {
  opacity: 0.7;
}

.cpd-related-posts-slider-widget.swiper-loading .news-navigation {
  opacity: 0.5;
  pointer-events: none;
}

/* Ensure proper spacing */
.cpd-related-posts-slider .swiper-slide {
  height: auto;
  box-sizing: border-box;
}

/* Fix for mobile responsiveness */
@media (max-width: 768px) {
  .cpd-related-posts-slider .swiper-pagination {
    bottom: -30px;
  }
}

/* ==========================================================================
   End Related Posts Slider Fixes
   ========================================================================== */

/* Responsive Design for Related Posts */
@media (max-width: 1199px) {
  .cpd-related-posts-slider-widget .section-title {
    font-size: 36px;
  }
}

@media (max-width: 991px) {
  .cpd-related-posts-slider-widget {
    padding: 40px 0;
  }

  .cpd-related-posts-slider-widget .news-events-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 40px;
  }

  .cpd-related-posts-slider-widget .header-left {
    width: 100%;
  }

  .cpd-related-posts-slider-widget .header-right {
    width: 100%;
    justify-content: space-between;
  }

  .cpd-related-posts-slider-widget .section-title {
    font-size: 32px;
  }

  .cpd-related-posts-slider-widget .card-image {
    padding-top: calc(180 / 270 * 100%);
  }

  .cpd-related-posts-slider-widget .card-content {
    padding: 18px;
  }
}

@media (max-width: 767px) {
  .cpd-related-posts-slider-widget {
    padding: 30px 0;
  }

  .cpd-related-posts-slider-widget .section-title {
    font-size: 28px;
  }

  .cpd-related-posts-slider-widget .news-events-header {
    margin-bottom: 30px;
  }

  .cpd-related-posts-slider-widget .card-image {
    padding-top: calc(160 / 270 * 100%);
  }

  .cpd-related-posts-slider-widget .card-content {
    padding: 16px;
  }

  .cpd-related-posts-slider-widget .card-title {
    font-size: 16px;
    margin-bottom: 25px;
  }

  .cpd-related-posts-slider-widget .news-navigation-nav-btn svg {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 479px) {
  .cpd-related-posts-slider-widget .section-title {
    font-size: 24px;
  }

  .cpd-related-posts-slider-widget .card-image {
    padding-top: calc(140 / 270 * 100%);
  }

  .cpd-related-posts-slider-widget .card-content {
    padding: 14px;
  }

  .cpd-related-posts-slider-widget .news-navigation-nav-btn svg {
    width: 35px;
    height: 35px;
  }
}

/* Animation Enhancements for Related Posts */
.cpd-related-posts-slider-widget .news-event-card {
  animation: fadeInUp 0.6s ease-out forwards;
  opacity: 0;
  transform: translateY(30px);
}

.cpd-related-posts-slider .swiper-slide-active .news-event-card {
  animation-delay: 0.1s;
}

.cpd-related-posts-slider .swiper-slide-next .news-event-card {
  animation-delay: 0.2s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Focus States for Related Posts */
.cpd-related-posts-slider-widget .read-more-link:focus,
.cpd-related-posts-slider-widget .card-title a:focus,
.cpd-related-posts-slider-widget .news-navigation-nav-btn:focus {
  outline: 2px solid #0093CA;
  outline-offset: 2px;
}

/* High Contrast Mode for Related Posts */
@media (prefers-contrast: high) {
  .cpd-related-posts-slider-widget .news-event-card {
    border: 2px solid #000000;
  }

  .cpd-related-posts-slider-widget .card-title,
  .cpd-related-posts-slider-widget .card-category {
    color: #000000;
  }
}

/* Reduced Motion for Related Posts */
@media (prefers-reduced-motion: reduce) {
  .cpd-related-posts-slider-widget .news-event-card,
  .cpd-related-posts-slider-widget .read-more-link,
  .cpd-related-posts-slider-widget .news-navigation-nav-btn,
  .cpd-related-posts-slider-widget .card-image img {
    transition: none;
    animation: none;
  }

  .cpd-related-posts-slider-widget .news-event-card:hover {
    transform: none;
  }

  .cpd-related-posts-slider-widget .read-more-link:hover,
  .cpd-related-posts-slider-widget .news-navigation-nav-btn:hover {
    transform: none;
  }
}


.comment-body {
  transition: 0.3s ease;
}

.comment-body:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  transform: translateY(-2px);
}

/* ======== COMMENT WRAPPER ======== */
.comment-list {
  margin: 40px 0;
  padding: 0;
  list-style: none;
}

/* ======== SINGLE COMMENT ITEM ======== */
.comment {
  margin-bottom: 30px;
}

.comment-body {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  padding: 20px;
  border-radius: 12px;
  position: relative;
}

/* ======== AVATAR + AUTHOR ======== */
.comment-author {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.comment-author img.avatar {
  border-radius: 50%;
  margin-right: 10px;
}

.comment-author .fn a {
  font-weight: 600;
  font-size: 16px;
  color: #111827;
  text-decoration: none;
}

.comment-author .says {
  margin-left: 6px;
  color: #6b7280;
}

/* ======== DATE & EDIT LINK ======== */
.comment-metadata {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 15px;
}

.comment-metadata a {
  color: #6b7280;
  text-decoration: none;
}

.comment-metadata a:hover {
  color: #374151;
}

/* ======== COMMENT TEXT ======== */
.comment-content p {
  font-size: 15px;
  color: #1f2937;
  margin: 0;
  line-height: 1.6;
}

/* ======== REPLY BUTTON ======== */
.reply a.comment-reply-link {
  margin-top: 15px;
  display: inline-block;
  font-size: 14px;
  padding: 6px 16px;
  background: #111827;
  color: #fff !important;
  border-radius: 50px;
  text-decoration: none;
  transition: 0.2s;
}

.reply a.comment-reply-link:hover {
  background: #4b5563;
}

/* ======== CHILD COMMENTS (REPLIES) ======== */
.children {
  margin-left: 40px;
  margin-top: 20px;
  border-left: 2px solid #e5e7eb;
  padding-left: 20px;
}

.children .comment-body {
  background: #ffffff;
}

/* ======== ADMIN POST AUTHOR BADGE ======== */
.bypostauthor > .comment-body {
  border-left: 4px solid #0093CA;
}

.bypostauthor .fn::after {
  content: " (Author)";
  font-weight: 400;
  color: #0093CA;
  font-size: 13px;
}

.single-post .entry-header {
  padding-top: 80px;
}

.single-post .entry-title {
  color: #020E12;
  margin-bottom: 15px;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 130%; /* 26px */
}

.back-button {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: #000;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  margin-bottom: 17px;
  cursor: pointer;
  line-height: 140%; /* 19.6px */
}

.single-resource .site-main {
  padding: 100px 0 80px;
}

.single-resource .entry-meta {
  color: #919191;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px; /* 142.857% */
  letter-spacing: 0.28px;
  margin-bottom: 15px;
}

.single-resource .post-thumbnail img {
  border-radius: 10px;
  overflow: hidden;
}

.single-resource-flex {
  display: flex;
  gap: 40px;

}

.single-resource .entry-title {
  color: #020E12;
  margin-bottom: 15px;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 130%; /* 26px */
}

.download-now {
  display: inline-flex;
  padding: 10px 25px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 30px;
  background: #1F95D3;
  box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.10);
  color: #FFF !important;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 130%; /* 20.8px */
  transition: all 0.3s ease;

}

.download-now:hover {
  transform: translateY(-2px);
}

.page-title {
  color: #000;
  font-size: 48px;
  font-style: normal;
  font-weight: 600;
  line-height: 125%; /* 60px */
}

.search-field {
  height: 50px;
  padding: 0;
  border-left: 0;
  border-right: 0;
  border-top: 0;
  width: 100%;
}

.search-field:focus {
  outline: none;
}

.contact-form-wrapper input:focus, .contact-form-wrapper textarea:focus, .contact-form-wrapper .wpcf7-submit:focus {
  outline-offset: 2px;
  outline: none !important;
}

.your-reviews-link {
  margin-top: 40px;
  display: inline-flex;
  min-width: 230px;
  padding: 15px 20px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 12px;
  background: #0093CA;
  color: white !important;
}

.posts-navigation {
  display: flex;
  align-items: center;
  margin: 60px 0;
  text-align: center;
  justify-content: center;
}

.posts-navigation .nav-links {
  display: flex;
  gap: 5px;
  align-items: center;
}

.posts-navigation .nav-links .page-numbers {
  width: 40px;
  height: 40px;
  aspect-ratio: 1/1;
  color: #FFF;
  text-align: center;
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 130%; /* 23.4px */
  background: #0093CA;;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  display: inline-flex;
  align-items: center;
}
.posts-navigation .nav-links .page-numbers.current{
  background: #020E12;
}
.posts-navigation .nav-links .next.page-numbers, .posts-navigation .nav-links .prev.page-numbers {
  background: transparent;
  width: auto;
  height: auto;
  color: black;
}

.reform-content-wrapper {
  padding-top: 80px;
  padding-bottom: 80px;
}

/* ===== COMMENT FORM WRAPPER ===== */
.comment-form {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  padding: 30px;
  border-radius: 14px;
  margin-top: 40px;
}

/* ===== NOTES ===== */
.comment-notes {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 25px;
}

/* ===== LABELS ===== */
.comment-form label {
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  margin-bottom: 6px;
  display: block;
}

/* ===== INPUTS & TEXTAREA ===== */
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  font-size: 15px;
  color: #111827;
  background: #fff;
  transition: 0.2s;
}

.comment-form textarea {
  min-height: 140px;
  resize: vertical;
}

.comment-form input:focus,
.comment-form textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* ===== COMMENT FIELD ===== */
.comment-form-comment {
  margin-bottom: 25px;
}

/* ===== TWO COLUMN LAYOUT ===== */
.comment-form-author,
.comment-form-email,
.comment-form-url {
  width: 100%;
}

@media (min-width: 768px) {
  .comment-form-author,
  .comment-form-email {
    width: 48%;
    display: inline-block;
  }

  .comment-form-author {
    margin-right: 4%;
  }
}

/* ===== COOKIE CONSENT ===== */
.comment-form-cookies-consent {
  margin: 20px 0;
  font-size: 14px;
  color: #4b5563;
}

.comment-form-cookies-consent input {
  margin-right: 8px;
}

/* ===== SUBMIT BUTTON ===== */
.form-submit {
  margin-top: 30px;
}

.comment-form .submit {
  background: #111827;
  color: #fff;
  border: none;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 500;
  border-radius: 50px;
  cursor: pointer;
  transition: 0.25s;
}

.comment-form .submit:hover {
  background: #374151;
}

/* ===== PLACEHOLDER STYLE ===== */
.comment-form ::placeholder {
  color: #9ca3af;
}

.single.single-post .site-main {
  padding-top: 100px;
}

@media (max-width: 767px) {
  .single .site-main .col-10 {
    flex: 0 0 100% !important;
    max-width: 100% !important;

  }

  .single-post .post-thumbnail img {
    height: auto;
  }

  .single.single-post .site-main {
    padding-top: 30px;
  }

}

.search .site {
  padding-top: 150px;
}

.search .post-thumbnail img {
  border-radius: 15px;
  height: auto;
  width: 100%;
}

.search .entry-title {
  color: #020E12;
  margin-bottom: 15px;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 130%; /* 26px */
}

.ui-widget-header .ui-icon {
  background-image: unset !important;
}

/* ==========================================================================
   Reform Domain Title and View Details Button
   ========================================================================== */

.reform-domain-header {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Title wrapper with line clamping */
.reform-domain-title-wrapper {
  flex: 1;
}

.reform-domain-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  line-clamp: 5;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
  padding: 0;
  word-wrap: break-word;
  transition: -webkit-line-clamp 0.3s ease;
}

.reform-domain-title a {
  text-decoration: none;
  color: inherit;
}

.reform-domain-title a:hover {
  text-decoration: underline;
}

/* Title expander button */
.reform-domain-title-expander {
  display: none;
  align-items: center;
  justify-content: flex-start;
}

.reform-domain-title-expander[style*="display: none"] {
  display: none !important;
}

.view-details-btn {
  color: black;
  text-decoration: underline;
  border: none;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: transparent;
}

.view-details-btn:hover {
  transform: translateY(-2px);
}

.view-details-btn:active {
  transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .reform-domain-title {
    -webkit-line-clamp: 4;
    line-clamp: 4;
    font-size: 18px;
  }

  .view-details-btn {
    padding: 7px 14px;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .reform-domain-title {
    -webkit-line-clamp: 3;
    line-clamp: 3;
    font-size: 16px;
  }

  .view-details-btn {
    padding: 6px 12px;
    font-size: 11px;
  }
}

/* ==========================================================================
   Reform Timeline Progress Bar
   ========================================================================== */

.reform-timeline {
  margin: 30px 0 60px;
}

.reform-timeline .timeline-container {
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
}

.reform-timeline .timeline-progress-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  position: relative;
  min-height: 120px;
  width: 100%;
}

/* Timeline Stage */
.reform-timeline .timeline-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  flex: 1;
  position: relative;
  min-width: 100px;

}

/* Progress Line - Horizontal connector between stages */
.reform-timeline .timeline-progress-line {
  position: absolute;
  top: 18px;
  left: 50%;
  width: 100%;
  height: 6px;
  background-color: #e0e0e0;
  z-index: 1;
  transition: background-color 0.3s ease;
}

.reform-timeline .timeline-progress-line.completed {
  background-color: #4CAF50;
}

/* Stage Icon Circle */
.reform-timeline .timeline-status-icon {
  /*width: 50px;*/
  /*height: 45px;*/
  /*border-radius: 50%;*/
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  transition: all 0.3s ease;
  /*box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);*/

}

.reform-timeline .timeline-stage.selected .timeline-status-icon {
  /*box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);*/
}

/* Stage Icon Image */
.reform-timeline .timeline-status-icon .status-timeline-icon {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
}

.reform-timeline .timeline-stage.selected .timeline-status-icon .status-timeline-icon {
  filter: brightness(1) invert(0);
}

.reform-timeline .timeline-status-icon .icon-placeholder {
  font-size: 24px;
  font-weight: bold;
  color: #666;
}

.reform-timeline .timeline-stage.selected .timeline-status-icon .icon-placeholder {
  color: white;
}

/* Stage Name */
.reform-timeline .timeline-stage-name {
  font-size: 12px;
  font-weight: 500;
  text-align: center;
  color: #333;
  max-width: 110px;
  word-break: break-word;
  line-height: 1.3;
  transition: color 0.3s ease;
  position: absolute;
  bottom: -47px;
  min-height: 35px;
}

.reform-timeline .timeline-stage.selected .timeline-stage-name {
  font-weight: 600;
}

/* Responsive Design for Tablets */
@media (max-width: 1024px) {
  .reform-timeline .timeline-progress-bar {
    gap: 5px;
    min-height: 110px;
    padding: 15px 5px;
  }

  .reform-timeline .timeline-stage {
    min-width: 85px;
  }

  .reform-timeline .timeline-status-icon {
    width: 50px;
    height: 50px;
  }

  .reform-timeline .timeline-stage-name {
    font-size: 11px;
    max-width: 75px;
  }

  .reform-timeline .timeline-progress-line {
    top: 27px;
  }
}

/* Responsive Design for Mobile */
@media (max-width: 768px) {
  .reform-timeline {
    margin: 20px 0;
  }

  .reform-timeline .timeline-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .reform-timeline .timeline-progress-bar {
    gap: 0;
    min-height: 100px;
    padding: 10px 5px;
  }

  .reform-timeline .timeline-stage {
    min-width: 75px;
  }

  .reform-timeline .timeline-status-icon {
    width: 45px;
    height: 45px;
  }

  .reform-timeline .timeline-stage-name {
    font-size: 10px;
    max-width: 65px;
    margin-top: 8px;
  }

  .reform-timeline .timeline-progress-line {
    top: 24px;
    height: 3px;
  }
}

/* Responsive Design for Small Mobile */
@media (max-width: 480px) {
  .reform-timeline .timeline-progress-bar {
    min-height: 90px;
    padding: 10px 3px;
  }

  .reform-timeline .timeline-stage {
    min-width: 65px;
  }

  .reform-timeline .timeline-status-icon {
    width: 40px;
    height: 40px;
  }

  .reform-timeline .timeline-status-icon .status-timeline-icon {
    max-width: 75%;
    max-height: 75%;
  }

  .reform-timeline .timeline-stage-name {
    font-size: 9px;
    max-width: 55px;
    margin-top: 6px;
  }

  .reform-timeline .timeline-progress-line {
    top: 22px;
    height: 2px;
  }
}


.tnp-subscription input[type=checkbox], .tnp-widget input[type=radio], .tnp-profile input[type=checkbox]{
  max-width: 2em !important;
}

.tnp-field input[type="submit"]{
  background: #1F95D3 !important;
  padding: .7rem 1.2rem !important;
  cursor: pointer !important;
}


