/* ================================
   FICM Student Membership Form CSS
=================================== */

.ficm-student-form {
  margin: 40px auto;
  padding: 30px;
  font-family: 'Roboto', Arial, sans-serif;
  color: #333;
}

.ficm-student-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  font-size: 14px;
  color: #111;
}

.ficm-student-form input[type="text"],
.ficm-student-form input[type="email"],
.ficm-student-form input[type="password"],
.ficm-student-form select {
  width: 100%;
  padding: 12px;
  margin-bottom: 18px;
  border: 1px solid #ccc;
  font-size: 15px;
  background: #fafafa;
  transition: border-color 0.2s, background 0.2s;
}

.ficm-student-form input:focus,
.ficm-student-form select:focus {
  border-color: #006699;
  background: #fff;
  outline: none;
  box-shadow: none;
}

.icm-location-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.icm-location-row .icm-col {
  flex: 1 1 45%;
}

/* Checkbox */
.ficm-student-form input[type="checkbox"] {
  margin-right: 8px;
  transform: scale(1.2);
}

/* Submit Button */
.ficm-student-form button[type="submit"] {
  display: inline-block;
  background: #006699;
  color: #fff;
  padding: 14px 28px;
  border: none;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

.ficm-student-form button[type="submit"]:hover {
  background: #004d66;
  transform: translateY(-2px);
}

/* Error Messages */
.icm-message.icm-error {
  background: #ffe9e9;
  border: 1px solid #ffb3b3;
  color: #a94442;
  padding: 15px;
  margin-bottom: 20px;
}

.icm-message.icm-error ul {
  margin: 0;
  padding-left: 20px;
}

/* Responsive */
@media (max-width: 600px) {
  .icm-location-row {
    flex-direction: column;
  }
  .ficm-student-form {
    padding: 20px;
  }
}


/*neutrals */
/* === Neutral Form Styling (WONE style) === */


/* Headings */
/* ===== Neutral Profile Form Styles (Flat) ===== */

/* =========================
   GLOBAL VARIABLES
========================= */

:root {
  --primary: #1b5b69;
  --accent: #5ce5ce;
  --muted: #777;
  --bg: #ffffff;
  --border: #ddd;
}

/* =========================
   FORM CONTAINER
========================= */
.ficm-wizard-form {
  max-width: 1100px !important;
  margin: 18px auto !important;
  padding: 26px !important;
  background: var(--bg) !important;
  border: 1px solid var(--border) !important;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.04) !important;
  font-family: Arial, Helvetica, sans-serif !important;
  color: #222 !important;
}

.ficm-success {
  background: #eafaf2 !important;
  border: 1px solid var(--accent) !important;
  padding: 10px 14px !important;
  margin-bottom: 12px !important;
  color: var(--primary) !important;
  font-weight: 600 !important;
}

/* =========================
   WIZARD STEPS HEADER
========================= */
.ficm-wizard-header {
  position: relative !important;
  margin-bottom: 22px !important;
}

.ficm-steps {
  display: flex !important;
  justify-content: space-between !important;
  gap: 10px !important;
}

.ficm-steps-line {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  top: 22px !important;
  height: 2px !important;
  background: #eee !important;
  z-index: 0 !important;
}

.ficm-step-indicator {
  position: relative !important;
  z-index: 2 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  width: 90px !important;
  height: 48px !important;
  background: #f8f8f8 !important;
  border: 1px solid #e6e6e6 !important;
  color: var(--muted) !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  text-align: center !important;
  transition: all 0.2s ease !important;
}

.ficm-step-indicator span {
  display: block !important;
  font-weight: 600 !important;
  color: var(--muted) !important;
  font-size: 11px !important;
  margin-top: 4px !important;
}

.ficm-step-indicator.active {
  background: var(--primary) !important;
  color: #fff !important;
  border-color: var(--primary) !important;
}

.ficm-step-indicator.active span {
  color: #fff !important;
}

/* Hover effect */
.ficm-step-indicator:hover {
  background: var(--accent) !important;
  color: var(--primary) !important;
  border-color: var(--accent) !important;
}

/* =========================
   WIZARD STEPS BODY
========================= */
.ficm-wizard-step {
  display: none !important;
  padding: 8px 0 !important;
}

.ficm-wizard-step.active {
  display: block !important;
}

.ficm-step-title {
  font-size: 18px !important;
  margin: 6px 0 14px !important;
  color: var(--primary) !important;
  font-weight: 700 !important;
  padding-bottom: 6px !important;
  border-bottom: 1px solid #eee !important;
}

/* =========================
   FORM GRID / INPUTS
========================= */
.tnow_row {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 18px !important;
  margin-bottom: 18px !important;
}

.tnow_col-12 {
  flex: 0 0 100% !important;
  max-width: 100% !important;
}

.tnow_col-6 {
  flex: 0 0 48% !important;
  max-width: 48% !important;
}

.tnow_col-4 {
  flex: 0 0 31% !important;
  max-width: 31% !important;
}

label {
font-family:"roboto";
  display: block !important;
  font-weight: 400 !important;
  color: var(--primary) !important;
  margin-bottom: 8px !important;
  font-size: 14px !important;
  letter-spacing: 0;
  line-height:1.2rem !important;
}

/* Inputs */
input[type="text"],
input[type="email"],
input[type="url"],
select,
textarea {
  width: 100% !important;
  padding: 12px 14px !important;
  border: 1px solid var(--border) !important;
  background: #fff !important;
  color: #222 !important;
  font-size: 14px !important;
  outline: none !important;
  transition: 0.2s ease !important;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 3px rgba(92, 229, 206, 0.08) !important;
}

textarea {
  min-height: 100px !important;
  resize: vertical !important;
}

/* Profile Preview */
.tnow_profile_preview {
  width: 150px !important;
  height: 150px !important;
  object-fit: cover !important;
  border: 1px solid #ccc !important;
  display: block !important;
  margin-bottom: 10px !important;
}

/* Checkboxes */
.tnow_checks {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px 18px !important;
}

.tnow_checks label {
  font-weight: 500 !important;
  color: #333 !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  cursor: pointer !important;
}

input[type="checkbox"] {
  width: 18px !important;
  height: 18px !important;
  accent-color: var(--primary) !important;
  cursor: pointer !important;
}

/* =========================
   BUTTONS (All !important)
========================= */
.ficm-step-actions,
.ficm-final-actions {
  display: flex !important;
  justify-content: flex-end !important;
  gap: 12px !important;
  margin-top: 12px !important;
}

.ficm-btn,
.tnow_btn {
  padding: 10px 18px !important;
  font-weight: 700 !important;
  border: none !important;
  cursor: pointer !important;
  text-transform: uppercase !important;
  transition: 0.2s ease !important;
}

.ficm-btn {
  background: var(--primary) !important;
  color: #fff !important;
}

.ficm-btn:hover {
  background: var(--accent) !important;
  color: var(--primary) !important;
}

.tnow_btn_secondary {
  background: #777 !important;
  color: #fff !important;
}

.tnow_btn_primary {
  background: var(--accent) !important;
  color: var(--primary) !important;
}

.ficm-submit-btn {
  font-weight: 800 !important;
}

/* =========================
   WP EDITOR ADJUSTMENTS
========================= */
.wp-editor-wrap {
  margin-top: 6px !important;
  border: 1px solid #eee !important;
  padding: 6px !important;
  background: #fafafa !important;
}

/* =========================
   PRACTICE AREAS COLLAPSE
========================= */
.tnow_domain_categories,
.tnow_category_items {
  display: none !important;
  margin-left: 20px !important;
}

.tnow_domain_label,
.tnow_category_label {
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-weight: 600 !important;
  color: var(--primary) !important;
  margin-bottom: 4px !important;
}

.tnow_domain_label:hover,
.tnow_category_label:hover {
  color: var(--accent) !important;
}

/* =========================
   RESPONSIVE DESIGN
========================= */
@media (max-width: 1024px) {
  .tnow_col-6 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
  .tnow_col-4 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
  .ficm-step-indicator {
    width: 72px !important;
    height: 46px !important;
    font-size: 13px !important;
  }
}

@media (max-width: 600px) {
  .ficm-steps {
    gap: 6px !important;
    overflow-x: auto !important;
    padding-bottom: 6px !important;
  }

  .ficm-steps-line {
    top: 28px !important;
  }

  .ficm-step-indicator {
    width: 64px !important;
    height: 56px !important;
    font-size: 12px !important;
  }

  .ficm-step-actions,
  .ficm-final-actions {
    flex-direction: column-reverse !important;
    gap: 10px !important;
  }

  .ficm-btn,
  .tnow_btn {
    width: 100% !important;
  }

  .ficm-wizard-form {
    padding: 18px !important;
  }

  .tnow_profile_preview {
    width: 100% !important;
    height: auto !important;
  }
}








/* ===========================================
   FICM Neutral Directory — FINAL CSS (Option A)
   Clean • Responsive • Readable • Mobile-First
   =========================================== */

/* ---------- CSS Variables (Easy Theming) ---------- */
:root {
  --wd-font: 'Inter', 'Roboto', system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  --wd-bg: #ffffff;
  --wd-surface: #f8f8f8;
  --wd-muted: #f0f0f0;

  --wd-text: #1b2330;
  --wd-text-muted: #667085;

  --wd-primary: #1a3e6f;      /* Deep Blue */
  --wd-primary-2: #233d4f;    /* Overlay Blue */
  --wd-accent: #1b5b69;       /* Teal-ish */
  --wd-brand: #FFA934;        /* Accent (icons) */

  --wd-border: #e5e7eb;
  --wd-radius: 0;             /* square look */
  --wd-shadow: 0 4px 12px rgba(0,0,0,.08);

  --fs-12: clamp(12px, 2.8vw, 12px);
  --fs-13: clamp(13px, 3vw, 13px);
  --fs-14: clamp(14px, 3.2vw, 14px);
  --fs-15: clamp(15px, 3.4vw, 15px);
  --fs-16: clamp(16px, 3.6vw, 16px);
  --fs-17: clamp(17px, 3.8vw, 17px);
  --fs-18: clamp(18px, 4vw, 18px);
}

/* ---------- Root ---------- */
.woa-professional-directory {
  font-family: var(--wd-font);
  color: var(--wd-text);
  margin: 0 auto;
  padding-left: 15%;
  padding-right: 15%;
  background: var(--wd-bg);
}

@media (max-width: 1024px) {
  .woa-professional-directory { padding-left: 6%; padding-right: 6%; }
}
@media (max-width: 640px) {
.woa-professional-directory {
    padding-left: 20px;
    padding-right: 20px;
    overflow-x: hidden;   /* Horizontal scroll हटाए */
    overflow-y: visible;  /* Vertical content को रहने दे (Hover, Cards आदि) */
    width: 100%;
    box-sizing: border-box;
}
}

/* ---------- Search Section ---------- */
.woa-search-container {
  width: 100%;
  margin: 0 auto 28px;
  padding: 24px;
  background: var(--wd-surface);
  border: 1px solid var(--wd-border);
  border-radius: var(--wd-radius);
}

.woa-search-form { width: 100%; }

.woa-search-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}

.woa-search-field { flex: 1; min-width: 220px; }

.woa-search-field label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: var(--fs-15);
  color: var(--wd-primary);
}

#search_keyword { height: 46px; border-radius: var(--wd-radius); }

.woa-search-field input,
.woa-select-style,
.woa-multi-select {
  width: 100%;
  padding: 12px 12px;
  border: 1px solid #cbd5e1;
  background: #fff;
  font-size: var(--fs-15);
  box-sizing: border-box;
  border-radius: var(--wd-radius);
  transition: border-color .2s, box-shadow .2s;
}

.woa-search-field input:focus,
.woa-select-style:focus,
.woa-multi-select:focus {
  outline: none;
  border-color: var(--wd-primary);
  box-shadow: 0 0 0 2px rgba(26,62,111,0.18);
}

/* ---------- Alphabet Filter ---------- */
.woa-filter-row {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed var(--wd-border);
}

.woa-filter-label {
  font-weight: 600;
  color: var(--wd-primary);
  margin-bottom: 8px;
  font-size: var(--fs-14);
}

.woa-alphabet-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.woa-alpha-filter {
  padding: 6px 12px;
  background: var(--wd-muted) !important;
  color: var(--wd-accent) !important;
  font-size: var(--fs-14);
  text-decoration: none;
  border-radius: var(--wd-radius);
  border: 1px solid var(--wd-border);
  line-height: 1.2;
}

.woa-alpha-filter:hover,
.woa-alpha-filter.active {
  background: var(--wd-accent) !important;
  color: #fff !important;
  border-color: var(--wd-accent);
}

@media (max-width: 480px) {
  .woa-alpha-filter { flex: 1 0 20%; text-align: center; }
}

/* ---------- Results Container & Grid ---------- */
.woa-results-container { margin-top: 26px; }
.woa-initial-message, .woa-loading, .woa-error, .woa-no-results {
  padding: 18px; background: #f9fafb; text-align: center; color: #667085; border: 1px dashed var(--wd-border);
}

.woa-results-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(5, 1fr);
}

/* Large Desktop */
@media (min-width: 1400px) {
  .woa-results-grid { grid-template-columns: repeat(5, 1fr); }
}
/* Desktop */
@media (min-width: 1200px) and (max-width: 1399px) {
  .woa-results-grid { grid-template-columns: repeat(4, 1fr); }
}
/* Tablet / Small Desktop */
@media (max-width: 1199px) {
  .woa-results-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
}
/* Small Phones */
@media (max-width: 480px) {
    
  .woa-results-grid { 
    grid-template-columns: 1fr; 
    }
}

/* ---------- Professional Card ---------- */
.professional-card {
  position: relative;
  min-height: 400px !important;
  max-height: 450px !important;
  background: #f3f4f6;
  overflow: hidden;
  border-radius: var(--wd-radius);
  box-shadow: none;
  border: 1px solid var(--wd-border);
}

/* Anchor wrapper */
.professional-image-link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

/* Image */
.professional-image-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
  background: #e5e7eb;
}


/* Placeholder */
.professional-image.placeholder {
  width: 100%; height: 100%;
  background: #e5e7eb;
  display: flex; align-items: center; justify-content: center;
  color: #94a3b8; font-size: 48px;
}

/* ---------- Name Overlay (Default Visible) ---------- */
.name-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 14px 16px 12px;
  background: linear-gradient(to top, rgba(0,0,0,0.95), rgba(0,0,0,0.0));
  opacity: 1;
  /* transition: opacity .4s ease; */
}

.name-overlay h3 {
  margin: 0 0 15px;
  font-size: var(--fs-18);
  font-weight: 800;
  color: #fff;
  line-height: 1.3rem !important;
}
.professional-title {
  text-transform: uppercase;
  font-size: var(--fs-14);
  color: rgba(255,255,255,0.92);
  letter-spacing: .02em;
  line-height:0;
}

/* Hide default overlay on hover (desktop) */
.professional-card:hover .name-overlay { opacity: 0; }

/* ---------- Hover Overlay (Contact + Name) ---------- */
.hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(35, 61, 79, 0.94);
  color: #fff;
  opacity: 0;
  padding: 22px 18px 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: opacity .15s ease;
  overflow-y: auto;             /* long content scrolls */
  word-break: break-word;       /* prevent overflow */
}

/* Remove hover movement – No image zoom, no animated fade */
.professional-image-link img {
  transform: none !important;
  transition: none !important;
}

.professional-card:hover .professional-image-link img {
  transform: none !important;
}

.hover-overlay {
  opacity: 0 !important;
  transition: none !important;
}

.professional-card:hover .hover-overlay {
  opacity: 1 !important;
}

.name-overlay {
  opacity: 1 !important;
  transition: none !important;
}

.professional-card:hover .name-overlay {
  opacity: 0 !important;
}


/* Top contact list items */
.contact-item {
  border-bottom: 1px solid rgba(255,255,255,0.18);
  margin-bottom: 1px;
  padding-bottom: 1px;
  font-size:14px;       /* ✅ bigger & readable */
  line-height: 1.55;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  letter-spacing:0;
  /* flex-wrap: wrap;                */
  word-break: break-all;         /* long emails split */
}
.contact-item i {
  margin-top: 2px;
  margin-right: 6px;
  color: var(--wd-brand);
  min-width: 18px;
  text-align: center;
}

/* Bottom title inside hover */
.hover-bottom h3 {
  margin: 0 0 15px;
  font-size: var(--fs-18);
  font-weight: 800;
  color: #fff;
  line-height: 1.3rem !important;
}
.hover-bottom .professional-title { font-size: var(--fs-14); }

/* Smoothness preference for reduced motion users */
@media (prefers-reduced-motion: reduce) {
  .professional-card:hover .professional-image-link img { transform: none !important; }
  .hover-overlay, .name-overlay { transition: none !important; }
}

/* ---------- Pagination ---------- */
.woa-pagination {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}
.woa-page-numbers {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.woa-page-numbers a,
.woa-page-numbers span {
  padding: 8px 14px;
  border: 1px solid var(--wd-border);
  font-size: var(--fs-14);
  text-decoration: none;
  color: #374151 !important;
  border-radius: var(--wd-radius);
  background: #fff;
}
.woa-page-numbers a:hover,
.woa-page-numbers span.current {
  background: var(--wd-accent);
  color: #fff !important;
  border-color: var(--wd-accent);
}

/* ---------- Search Button (if used) ---------- */
.woa-search-btn {
  margin-top: 26px;
  padding: 10px 14px !important;
  background: linear-gradient(135deg, var(--wd-primary), #2c3e50);
  color: #fff !important;
  border: none !important;
  font-size: var(--fs-16);
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  letter-spacing: .4px;
  transition: transform .15s ease, box-shadow .2s ease, opacity .2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: var(--wd-radius);
  box-shadow: var(--wd-shadow);
}
.woa-search-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0,0,0,.12);
}
.woa-search-btn .woa-search-icon i { font-size: 16px; }

/* ---------- Tablet & Mobile Adjustments ---------- */
@media (max-width: 1024px) {
  .woa-search-row { flex-direction: row; }
  .professional-card { min-height: 450px !important; }
  .contact-item { font-size: var(--fs-16); }
}
@media (max-width: 768px) {
  .woa-search-row { flex-direction: column; }
  .woa-search-field { width: 100%; }
  .woa-search-btn { margin-top: 10px; width: 100%; justify-content: center; }
  .professional-card { min-height: 400px !important; }
  .hover-top{
    padding:25px 20px 10px 20px;
  }
  .name-overlay h3, .hover-bottom h3 { padding-left:10px; }
  .professional-title{
    padding-left:10px;
  }
  .hover-bottom{
    padding-bottom:10px;
  }
  .contact-item { font-size: 16px!important; }
}
@media (max-width: 480px) {
  .professional-card { min-height: 400px !important; }
  .contact-item { padding-top:10px;font-size:16px !important; }
  .hover-overlay { padding: 2px 10px; }
  .name-overlay { padding: 12px 14px 10px; }
}

/* ---------- Small Utility Fixes ---------- */
/* Ensure links inside hover content don't get underlined oddly */
.hover-overlay a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.hover-overlay a:hover { opacity: .9; }

/* Ensure select arrows consistent on iOS */
.woa-select-style { -webkit-appearance: none; -moz-appearance: none; appearance: none; background-image: linear-gradient(45deg, transparent 50%, #9aa4b2 50%), linear-gradient(135deg, #9aa4b2 50%, transparent 50%); background-position: calc(100% - 18px) calc(1em + 2px), calc(100% - 13px) calc(1em + 2px); background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.woa-select-style:focus { background-image: linear-gradient(45deg, transparent 50%, var(--wd-primary) 50%), linear-gradient(135deg, var(--wd-primary) 50%, transparent 50%); }

/* Prevent long names from overflowing */
.name-overlay h3,
.hover-bottom h3 { word-break: break-word; }

/* Keep cards equal height on grid stretch */
.woa-results-grid > .professional-card { height: 100%; }

/* ---------- Optional: Dark Text Contrast on very light themes ---------- */
@media (prefers-color-scheme: light) {
  .woa-search-field label { color: var(--wd-primary); }
}




.neutral-profile {
    max-width: 900px;
    margin: 40px auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    overflow: hidden;
    font-family: "Segoe UI", sans-serif;
    padding: 30px;
}

.profile-top {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 30px;
}

.profile-avatar img {
    width: 150px;
    height: 150px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.profile-basic h1 {
    margin: 0;
    font-size: 26px;
    font-weight: 700;
    color: #0c2340;
}

.profile-basic .designation {
    margin: 6px 0;
    font-size: 16px;
    color: #ff6600;
    font-weight: 600;
}

.profile-basic .company {
    font-size: 15px;
    color: #555;
}

.profile-body {
    margin-top: 20px;
}

.profile-section {
    margin-bottom: 25px;
}

.profile-section h2 {
    font-size: 18px;
    border-bottom: 2px solid #eee;
    padding-bottom: 5px;
    margin-bottom: 12px;
    color: #0c2340;
}

.profile-section p {
    font-size: 15px;
    line-height: 1.6;
    color: #333;
}

.contact p i {
    margin-right: 8px;
    color: #0c2340;
}

.social-links {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 15px;
}

.social-links li a {
    text-decoration: none;
    color: #0c2340;
    font-weight: 600;
}



.wone-section-heading {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 20px 0 40px;
    color: #000;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}
.wone-section-heading:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #c8102e;
}
.woa-card-grid {
    display: grid;
    gap: 5px;
    grid-template-columns: repeat(1, 1fr);
}
@media (min-width: 768px) {
    .woa-card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1200px) {
    .woa-card-grid { grid-template-columns: repeat(2, 1fr); }
}
.woa-card {
    position: relative;
    display: flex;
    height: 350px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.woa-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,0.3); }
.woa-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    transition: all 0.4s ease;
}
.woa-card:hover .woa-overlay { background: rgba(0,0,0,0.7); }
.woa-title-bottom {
    font-family: "roboto" !important;
    font-size: 40px;
    font-weight: 700;
    position: absolute;
    bottom: 2rem;
    line-height: 1em;
    left: 2rem;
    letter-spacing: -1px;
    color: #FFF;
    transition: all 0.4s ease;
}
.woa-card:hover .woa-title-bottom { top: 2rem; bottom: auto; }
.woa-underline {
    display: block;
    width: 100px;
    height: 3px;
    background-color: #FFA934;
    margin-top: 10px;
}
.woa-hover-content {
    color:white;
    position: absolute;
    top: 65%;
    left: 2rem;
    transform: translateY(40px);
    opacity: 0;
    max-width: 80%;
    font-size: 18px;
    line-height: 1.4;
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.woa-card:hover .woa-hover-content { opacity: 1; transform: translateY(-50%); }
.woa-hover-info {
    color:white;
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}
.woa-card:hover .woa-hover-info { opacity: 1; transform: translateY(0); }
.woa-hover-info i { margin-right: 5px; color: #FFA934; }
.wone-pagination { text-align: center; margin: 3rem 0 1rem; }
.wone-pagination .page-numbers {
    margin: 0 5px;
    padding: 8px 16px;
    border: 1px solid #ddd;
    color: #FFA934;
    text-decoration: none;
}
.wone-pagination .page-numbers.current {
    background: #FFA934;
    color: #fff;
    border-color: #FFA934;
}



/* =========================
   General Blog Styles
   ========================= */
.woa-single-blog {
    margin: 0 auto;
    font-family: "Inter", sans-serif;
    line-height: 1.8;
    color: #222;
    background-color: #fff;
}

/* =========================
   Back to Top
   ========================= */
.woa-back-link {
    padding: 1rem 0;
    margin: 0 20px;
    position: relative;
    z-index: 2;
}
.woa-back-link a {
    background-color: #fff;
    padding: 6px 12px;
    border: 1px solid #000;
    color: #0053a0;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.woa-back-link a:hover {
    background-color: #FFA934;
    color: #fff;
}
.woa-back-link svg {
    background-color: #0053a0;
    fill: none;
    stroke: #fff;
    padding: 5px;
    width: 22px;
    height: 22px;
    clip-path: circle(50%);
    transition: background-color 0.3s ease, stroke 0.3s ease;
}
.woa-back-link a:hover svg {
    background-color: #fff;
    stroke: #FFA934;
}

/* =========================
   Featured Image (with Top + Bottom Gradient)
   ========================= */
.woa-featured-image {
    width: 100%;
    height: 500px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
.woa-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}
.woa-blog-title {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    text-align: left;
    padding-bottom:20px;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}
.woa-featured-image::before,
.woa-featured-image::after {
    content: "";
    position: absolute;
    left: 0; right: 0;
    height: 40%;
    z-index: 1;
}
.woa-featured-image::before {
    top: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6), transparent);
}
.woa-featured-image::after {
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
}

/* =========================
   Blog Meta (Author + Date + Post Type)
   ========================= */
.woa-blog-meta {

    padding: 15px 0px;

    display: flex;
    align-items: center;
    gap: 25px;
    font-size: 1rem;
    color: #444;
    margin: 20px auto 30px;
    max-width: 800px;
    flex-wrap: wrap;
    transition: box-shadow 0.3s ease;
}


.woa-author-image {
    width: 65px;
    height: 65px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #FFA934;
    padding: 2px;
    background: #fff;
    transition: transform 0.3s ease;
}
.woa-author-image:hover {
    transform: scale(1.05);
}

.woa-blog-meta-details {
    display: flex;
    gap: 30px;
}

.woa-author-name {
    font-weight: 600;
    font-size: 1.2rem;
    color: #0053a0;
}
.woa-date, .woa-post-type {
    font-size: 0.9rem;
    color: #555;
    display: flex;
    align-items: center;
    gap: 6px;
}
.woa-date::before {
    content: "📅";
}
.woa-post-type::before {
    content: "📝";
}
/* =========================
   Blog Content
   ========================= */
.woa-blog-content {
    font-size: 1.05rem;
    color: #333;
    max-width: 800px;
    margin: 0 auto;
}
.woa-blog-content h2,
.woa-blog-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #111;
    font-weight: 600;
}
.woa-blog-content img {
    max-width: 100%;
    height: auto;
    margin: 1.5rem 0;
}

/* =========================
   Action Buttons (PDF, Share)
   ========================= */
.woa-action-buttons {
    max-width: 800px;
    margin: 2rem auto;
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap; /* responsive ke liye */
}
.woa-button-border {
    border: none !important;
    background: none !important;
    box-shadow: none !important;
    cursor: pointer;
    font-size: 15px;
    color: #0053a0; /* Default color */
}
.woa-button-border:hover {
    border: none !important;
    background: none !important;
    box-shadow: none !important;
    color: #FFA934; /* Highlight hover */
}
#woa-toggle-comment-form{
    background: #1a3344;
    color: #fff;
    border: none;
    padding: 10px 18px;
    cursor: pointer;
    transition: background 0.3s ease;
}
#woa-toggle-comment-form:hover{
     background: #FFA934;
}

/* =========================
   Comments Section
   ========================= */
.woa-comments-section {
    max-width: 800px;
    margin: 3rem auto;
}
.woa-comments-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #111;
    font-weight: 600;
}
.woa-comment {
    border-bottom: 1px solid #eee;
    padding: 1.5rem 0;
}
.woa-comment:last-child {
    border-bottom: none;
}
.woa-comment strong {
    display: block;
    font-weight: 600;
    color: #0053a0;
    margin-bottom: 0.3rem;
}
.woa-comment-date {
    font-size: 0.85rem;
    color: #666;
    display: block;
    margin-bottom: 0.8rem;
}
.woa-comment p {
    margin: 0;
    color: #333;
    line-height: 1.6;
}

/* =========================
   Comment Form
   ========================= */
.woa-comment-form {
    max-width: 800px;
    margin: 3rem auto;
    background: #f9f9f9;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 2rem;
}
.woa-comment-form h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #111;
    font-weight: 600;
}
.woa-comment-form form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.woa-comment-form input,
.woa-comment-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    font-size: 1rem;
    font-family: "Inter", sans-serif;
    transition: border-color 0.3s ease;
}
.woa-comment-form input:focus,
.woa-comment-form textarea:focus {
    border-color: #0053a0;
    outline: none;
}
.woa-comment-form textarea {
    min-height: 150px;
    resize: vertical;
}
.woa-comment-form button {
    background-color: #0053a0;
    color: #fff;
    padding: 12px 20px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: background-color 0.3s ease;
}
.woa-comment-form button:hover {
    background-color: #FFA934;
}

/* =========================
   Messages
   ========================= */
.woa-comment-success {
    color: #28a745;
    background: #f0fff4;
    padding: 10px 15px;
    margin: 1rem 0;
    text-align: center;
    border: 1px solid #c3e6cb;
}
.woa-comment-error {
    color: #dc3545;
    background: #fff0f0;
    padding: 10px 15px;
    margin: 1rem 0;
    text-align: center;
    border: 1px solid #f5c6cb;
}

/* =========================
   Related Posts
   ========================= */
.woa-related-heading {
    margin: 40px 0 20px;
    padding-left: 20%;
    font-size: 24px;
    font-weight: bold;
}
.woa-related-posts-list {
    padding-left: 20%;
    padding-right: 20%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
}
.woa-single-post-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e0e0e0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.woa-single-post-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.woa-single-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}
.woa-post-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}
.woa-post-content {
    padding: 15px;
}
.woa-post-title {
    font-size: 18px;
    margin: 0 0 10px 0;
    color: #0053a0;
}
.woa-post-title a {
    text-decoration: none;
    color: inherit;
}
.woa-post-title a:hover {
    text-decoration: underline;
}
.woa-post-excerpt {
    font-size: 14px;
    color: #444;
    margin: 0;
    line-height: 1.5;
}
    .temfw_related_post{
        padding-left:20px;
        color:rgb(32, 31, 31) !important;
    }

/* =========================
   Responsive
   ========================= */
@media (max-width: 1024px) {
    .woa-featured-image { height: 450px; }
}
/* ================================
   📱 FINAL RESPONSIVE FIX (ALL SCREENS)
   ================================ */

/* ===== Max 768px (Tablet & Mobile) ===== */
@media (max-width: 768px) {

    /* Safe top padding & full width */
    .woa-single-blog {
        padding-top: 40px !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    /* Remove title from image and put below */
    .woa-blog-title {
        position: static !important;
        color: #111 !important;
        padding: 20px 0 !important;
        text-shadow: none !important;
        text-align: left !important;
    }

    /* Make image standalone */
    .woa-featured-image {
        height: auto !important;
        display: block !important;
        /* Full bleed image */
    }
    .woa-featured-image img {
        position: static !important;
        height: auto !important;
    }

    /* Remove gradient overlays */
    .woa-featured-image::before,
    .woa-featured-image::after {
        display: none !important;
    }

    /* Make content full width */
    .woa-blog-meta,
    .woa-blog-content,
    .woa-comments-section,
    .woa-comment-form,
    .woa-action-buttons {
        padding-left: 0 !important;
        padding-right: 0 !important;
        max-width: 100% !important;
        margin: 20px 0 !important;
    }

    /* Tablet image smaller */
    .woa-author-image {
        width: 55px !important;
        height: 55px !important;
    }
}


/* ===== Max 576px (Mobile) ===== */
@media (max-width: 576px) {

    /* Full width layout */
    .woa-single-blog {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .woa-blog-title {
        font-size: 1.6rem !important;
        padding-bottom: 10px !important;
    }


    .woa-blog-meta {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 10px !important;
    }

    .woa-comment-form,
    .woa-comments-section {
        padding: 0 !important;
    }
}


/* ===== Max 480px (Small Mobile) ===== */
@media (max-width: 480px) {

    .woa-blog-title {
        font-size: 1.4rem !important;
    }

    .woa-author-image {
        width: 45px !important;
        height: 45px !important;
    }

    /* Related posts = single column */
    .woa-related-posts-list {
        padding: 0 !important;
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .woa-single-post-card {
        width: 100% !important;
    }
}

.ficm-solutions-results{
    padding-bottom:30px;
}


.ficm-load-more {
    padding: 2px 20px;
    text-align: right;
    width: 100%;
    background-color: transparent;
    color: #1B5B69;
    border: 1px solid #1b5b6945;
    font-size: 16px;
    border-radius: 0px;
    font-weight: bold;
    transition: all 0.3s ease;
    position: relative;
}

/* Add arrow icon using CSS */
.ficm-load-more::after {
    font-size: 18px;
    margin-left: 8px;
}

/* Hover effect */
.ficm-load-more:hover {
    background-color: #1B5B69;
    color: #ffffff;
    border-color: #1b5b6945;
}

/* Icon animation on hover */
.ficm-load-more:hover::after {
    transform: translateX(4px);
}


.ficm-load-more-sectors {
    margin-top:10px;
    padding: 2px 20px;
    text-align: right;
    width: 100%;
    background-color: transparent;
    color: #1B5B69;
    border: 1px solid #1b5b6945;
    font-size: 16px;
    border-radius: 0px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    position: relative;
}
.ficm-load-more-sectors::after {
    /* content: "➜";  */
    font-size: 18px;
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.ficm-load-more-sectors:hover {
  background-color: #1B5B69;
    color: #ffffff;
    border-color: #1b5b6945;
}
.ficm-load-more-sector:hover::after {
    transform: translateX(4px);
}
.ficm-services-results{
    padding-bottom:20px;
}
.ficm-viewall-wrapper{
    padding-top:20px;
}
/* membership form style sheet */










