/*
Theme Name: Neve
Theme URI: 
Description: Neve Child Theme
Author: Sarajane Doogan
Author URI: http://example.com
Template: neve
Version: 1.0.0
*/

h2{
    margin-top: 20px;
}

p{
    text-align: left;
}

.alignleft{
    margin-top: 0;
}

.page .nv-post-cover {
    margin-bottom: 40px;
}

/* --- Dropdown menu polish for Neve --- */

/* 1. Submenu container */
.nv-navbar .sub-menu {
  background: #fff;
  border: 1px solid #e9eef3;
  border-radius: 5px;
  box-shadow: 0 10px 24px rgba(16, 44, 66, 0.12);
  padding: 6px 0;
  min-width: 280px;
  opacity: 0;
  transform: translateY(6px);
  visibility: hidden;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.18s;
}

/* 2. Animate on hover/focus */
.nv-navbar li:hover > .sub-menu,
.nv-navbar li:focus-within > .sub-menu {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  transition-delay: 0s;
}

/* 3. Submenu links */
.nv-navbar .sub-menu li a {
  display: block;
  padding: 12px 18px;
  line-height: 1.3;
  font-weight: 600;
  color: #2c7a8a;
  letter-spacing: 0.2px;
}

.nv-navbar .sub-menu li + li {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.nv-navbar .sub-menu li a:hover,
.nv-navbar .sub-menu li a:focus {
  background: #e9f6f5;
  color: #125e69;
  border-radius: 6px;
  outline: 0;
}

/* 4. Caret (dropdown arrow) */
.caret svg {
  width: 12px;
  height: 12px;
  margin-left: 6px;
  transition: transform 0.2s ease;
  fill: currentColor; /* inherits menu link color */
}

/* Rotate caret when menu is open */
.menu-item-has-children:hover > .wrap > .caret-wrap .caret svg,
.menu-item-has-children:focus-within > .wrap > .caret-wrap .caret svg {
  transform: rotate(180deg);
}

/* 5. Optional - larger tap area for mobile menu */
@media (max-width: 960px) {
  .header-menu-sidebar .sub-menu a {
    padding: 14px 22px;
  }
}


/* Sidebar story widget */

.nv-sidebar-wrap{
    padding: 0;
}
.ipia-widget {
    font-size: smaller;
  background:#f9fafb;
  border:1px solid #e9eef3;
  border-radius:10px;
  padding:10px 18px 24px;
  box-shadow:0 4px 10px rgba(0,0,0,.05);
}

.ipia-widget-title {
  background:#50BB77;
  color:#fff;
  font-size:1.2rem;
  font-weight:600;
  margin:-20px -18px 16px;
  padding:10px 16px;
  border-top-left-radius:10px;
  border-top-right-radius:10px;
}

/* Secondary button style */
.ipia-widget .nv-btn-secondary {
  background:transparent;
  border:2px solid #50BB77;
  color:#50BB77;
  font-weight:600;
  border-radius:6px;
  padding:10px 18px;
  text-decoration:none;
  transition:all .2s ease;
}

.ipia-widget .nv-btn-secondary:hover {
  background:#50BB77;
  color:#fff;
}
/* ——— Cards container ——— */
.ipia-cards{
  display:flex;
  flex-wrap:wrap;
  gap:16px;                 /* gutter between cards */
}
.ipia-cards > .wp-block-column{
  padding:0; margin:0; display:flex;
}

/* ——— Card ——— */
.ipia-card {
  background:#eaf6f1;
  border:1px solid #e9eef3;
  border-radius:10px;
  box-shadow:0 3px 8px rgba(0,0,0,0.06);
  transition:all .2s ease;
}
.ipia-card:hover {
  transform:translateY(-4px);
  box-shadow:0 6px 16px rgba(0,0,0,0.12);
}

/* make the whole card clickable */
.ipia-card__link{
  position:absolute; inset:0; z-index:5; display:block;
}

/* image */
.ipia-card figure{margin:0}
.ipia-card img{
  width:100%; height:200px; object-fit:cover; display:block;
  filter:saturate(.88) contrast(.96);
  border-top-left-radius:10px;      /* keep rounded top corners */
  border-top-right-radius:10px;
}

/* heading + underline */
.ipia-card h3{
  font-size:1.25rem; font-weight:800; color:#123944;
  margin:16px 16px 8px; padding-bottom:8px; position:relative;
  display:inline-block;             /* so underline is under text width */
}
.ipia-card h3::after{
  content:""; position:absolute; left:0; bottom:0;
  width:60px; height:3px; background:#50BB77; border-radius:3px;
  transition:width .3s ease, background .3s ease;
}

/* body text */
.ipia-card p{
  color:#4d5b63; margin:0 16px 18px; line-height:1.55;
}

/* hover: calm color wash, underline to 100%, small top arrow; no movement */
.ipia-card:hover{border-color:#50BB77; box-shadow:#4d5b63; }
.ipia-card:hover h3::after{ width:100%; background:#50BB77; }


/* layout: 4 / 2 / 1 */
.ipia-card{ flex:1 1 calc(25% - 12px); }
@media (max-width:1024px){ .ipia-card{ flex:1 1 calc(50% - 12px); } }
@media (max-width:600px){ .ipia-card{ flex:1 1 100%; } }


/* Make copyright text smaller */
.footer-content-wrap .component-wrap {
  font-size: 0.85rem;      /* adjust: 0.8–0.9rem usually looks right */
  color: #cfd9df;          /* optional – softer text colour */
  font-weight: 400;        /* keep it light */
  line-height: 1.5;
}
/* ===== AIOSEO Breadcrumb Styling ===== */
.aioseo-breadcrumbs {
  width: 100%;
  font-size: 0.95rem;
  color: #4a5d66;
  margin-bottom: 1rem;
  background: #f7f9fc;       /* soft background highlight */
  padding: 10px 18px;
  border-radius: 6px;
  display: inline-block;
}

/* Breadcrumb links */
.aioseo-breadcrumbs a {
  color: #287491;            /* brand blue */
  text-decoration: none;
  font-weight: 600;
}

.aioseo-breadcrumbs a:hover {
  color: #3aae71;            /* brand green hover */
  text-decoration: underline;
}

/* Separator styling (the “»”) */
.aioseo-breadcrumb-separator {
  color: #7d8a8e;
  margin: 0 6px;
}

/* Current page (last breadcrumb, not linked) */
.aioseo-breadcrumbs .aioseo-breadcrumb:last-child {
  color: #1b3e4a;
  font-weight: 600;
}


/* Full-width archive title bar directly under the header */
.archive .nv-page-title-wrap {
  background: #eaf6f1;         /* same mint as your pages */
  border-bottom: 2px solid #dceee9;
  padding: 40px 0 28px;
  margin-bottom: 30px;
}

/* Title typography to match your page H1s */
.archive .nv-page-title h1 {
  font-size: 2.25rem;          /* ≈36px */
  line-height: 1.3;
  font-weight: 700;
  color: #1b3e4a;
  margin: 0;
  text-align: left;            /* change to center if you prefer */
  padding-left: 40px;
}

/* Remove any prior decorative underline if we added one earlier */
.archive .nv-page-title h1::after { content: none !important; }

/* Tidy spacing before the posts grid */
.archive .archive-container,
.archive .nv-index-posts { margin-top: 0; }

 /* Hide the quote section on mobile */
@media (max-width: 768px) {
 
  .hero-section blockquote,
  .hero-section .wp-block-quote {
    display: none !important;
  }
}


