/*
 Theme Name:   Neve Child
 Theme URI:    https://example.com/
 Description:  Child theme for Neve theme
 Author:       Haluk Aka
 Author URI:   https://turkishtranslation.net/
 Template:     neve
 Version:      1.0.0
*/


/* ============================
   GLOBAL LINK STYLING (patched for text links only)
   ============================ */

/* Default text link look */
a:not(:has(img)):not(.wp-block-button__link):not(.ff-btn):not(.wp-element-button) {
  color: #222; /* dark gray */
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid #f6c443; /* subtle yellow underline */
  transition: color 0.2s ease, border-color 0.2s ease;
}

/* Hover state for text links */
a:not(:has(img)):hover {
  color: #000; /* black text for contrast */
  border-color: #f6c443; /* underline turns yellow */
}

/* Exclude Navigation Menu Links */
#site-navigation .nav-menu li a,
header .nav-ul li a {
  border: none !important;
  box-shadow: none !important;
  color: inherit !important;
}



/* ============================
   NAVIGATION MENU (Neve specific)
   ============================ */

/* Default menu items (lighter than global links) */
#site-navigation .nav-menu li a,
header .nav-ul li a {
  font-weight: 500 !important; /* medium weight */
  color: #222 !important;      /* dark gray/black by default */
}

/* Hover + active menu item */
#site-navigation .nav-menu li a:hover,
#site-navigation .nav-menu li.current-menu-item > a,
#site-navigation .nav-menu li.current_page_item > a,
header .nav-ul li a:hover,
header .nav-ul li.current-menu-item > a,
header .nav-ul li.current_page_item > a {
  color: #000 !important;      /* black instead of yellow */
  font-weight: 700 !important; /* bold */
}

/*********************************************************
 * BACKGROUND IMAGE (Hero cover tweaks – CLS safe)
 *********************************************************/
.hero-otter {
  min-height: 46vh;                 /* reserve space to prevent CLS */
  position: relative;               /* ensure background can be positioned */
}

.hero-otter .wp-block-cover__image-background,
.hero-otter .wp-block-cover__video-background {
  position: absolute;               /* cover the reserved hero area */
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  object-fit: cover !important;     /* fill the box, crop if needed */
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  /* opacity removed — now controlled in block settings */
}
.hero-otter .wp-block-group.hero-text {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 12px;
  padding: 18px 22px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  display: inline-block;
}


/* ✅ Portrait background for mobile */
@media (max-width: 768px) {
  .hero-otter .wp-block-cover__image-background {
    background-image: url('https://turkishtranslation.net/wp-content/uploads/2025/09/Ingilizce-Turkce-Tercuman-Londra-Portrait.webp') !important;
    background-position: top center !important;
    background-size: cover !important;
  }
}

.nv-content-wrap .alignfull {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  width: 100vw;
  max-width: 100vw;
}

/*********************************************************
 * HERO TEXT CONTAINER (3rd column logos etc.) – FINAL FIX
 *********************************************************/
.hero-otter .wp-block-columns > .wp-block-column:last-child {
  display: flex;
  flex-direction: column;
  align-items: center;     /* center all child blocks */
  justify-content: center;
  text-align: center;
}

.hero-otter .wp-block-columns > .wp-block-column:last-child figure.wp-block-image {
  margin: 10px auto !important;  /* force center horizontally */
  display: block !important;
}

.hero-otter .wp-block-columns > .wp-block-column:last-child img {
  display: block;
  margin: 0 auto;                /* double safety */
  max-width: 120px;
  height: auto;
}



/*********************************************************
 * RESPONSIVE TWEAKS
 *********************************************************/

/* Tablet and below */
@media (max-width: 1024px) {
  .hero-otter { 
    min-height: 42vh !important; 
  }
}

/* Mobile adjustments */
@media (max-width: 782px) {
  .hero-otter {
    min-height: unset !important;
    padding-block: 24px;
  }
  .hero-otter .wp-block-columns {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-otter .wp-block-columns > .wp-block-column {
    flex-basis: 100%;
  }
  .hero-otter .hero-text {
    max-width: 100%;
    padding-inline: 12px;
    text-align: center; /* ✅ center-align text on mobile */
  }
  .hero-otter .hero-form {
    max-width: 100%;
    margin-inline: 12px;
    padding: 18px;
  }
  .hero-otter h1 {
    font-size: clamp(22px, 6vw, 28px);
  }
  .hero-otter p {
    font-size: 16.5px;
  }
}

/*********************************************************
 * HEADER & FOOTER LINKS — no yellow underline
 *********************************************************/
header a,
footer a,
.site-footer a,
.header a {
  border: none !important;
  box-shadow: none !important;
}

header a:hover,
footer a:hover,
.site-footer a:hover,
.header a:hover {
  color: #000 !important;
  font-weight: 600;
}

/*********************************************************
 * HERO SECTION CLEANUP (Envelope + Otter)
 *********************************************************/

/* Outer wrapper */
.hero-envelope-group {
  min-height: 28vh !important;
  padding-block: 12px !important;
  margin-bottom: 6px !important;
}

/* Cover */
.hero-otter {
  min-height: 38vh !important;
  padding-block: 20px;
  padding-top: 30px !important;
  background-size: cover;
  background-position: center;
  position: relative;
}

/* Overlay */
.hero-otter .wp-block-cover__background {
  background-color: rgba(255, 255, 255, 0.20) !important;
}

/* Headings */
.hero-otter h1,
.hero-otter h2 {
  color: #111 !important;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0,0,0,0.25);
  margin-bottom: 10px;
}
.hero-otter h2 {
  border-left: 4px solid #f6c443;
  padding-left: 8px;
  font-size: clamp(22px, 2.4vw, 30px);
}

/* Paragraphs */
.hero-otter p {
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 10px;
  color: #222;
}

/* Text column box */
.hero-text-box {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 12px;
  padding: 18px 22px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  display: inline-block;
}

/* Form column */
.hero-form-col {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 12px;
  padding: 18px 22px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

/* Form fields */
.hero-form-col .ff-el-group { margin-bottom: 8px !important; }
.hero-form-col .ff-el-input--label label { font-size: 13px !important; color: #333; }
.hero-form-col .ff-el-input--content input,
.hero-form-col .ff-el-input--content select {
  height: 42px;
  padding: 8px 10px !important;
  border-radius: 4px;
}
.hero-form-col .ff-el-input--content textarea {
  min-height: 90px !important;
  resize: vertical;
  border-radius: 4px;
}

/* Badges column */
.hero-badge-col .wp-block-image img {
  display: block;
  margin: 0 auto 10px;
  max-width: 120px;
  height: auto;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
}

/* Layout tweaks */
.hero-otter .wp-block-columns {
  gap: 24px;
  align-items: flex-start !important;
}

/* Responsive */
@media (max-width: 781px) {
  .hero-otter { min-height: auto !important; padding: 24px 12px; }
  .hero-otter .wp-block-columns { gap: 16px; }
  .hero-form-col { padding: 14px 16px; }
  .hero-badge-col img { max-width: 100px; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .hero-badge-col {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 10px;
    padding: 12px 16px;
  }
  .hero-badge-col .wp-block-image { margin: 0; }
  .hero-badge-col img { max-width: 90px; }
}

@media (max-width: 480px) {
  .hero-otter {
    background-image: url('https://turkishtranslation.net/wp-content/uploads/2023/12/Ingilizce-Turkce-Tercuman-Londra-Portrait.webp');
    background-position: top center;
  }
}


/* ============================
   PRICING CARDS (core blocks)
   ============================ */
.pricing-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;   /* keeps all cards centered */
  gap: 24px;
  margin: 0 auto;
  max-width: 1200px;         /* optional: contain within page width */
  box-sizing: border-box;
}

/* Individual card */
.pricing-cards .wp-block-column {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  flex: 0 1 340px;           /* each card ~340px wide, no forced shrinkage */
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  background: #fff;
  padding: 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Hover lift */
.pricing-cards .wp-block-column:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}

/* Price text – keep it large */
.pricing-cards .price {
  font-size: 2rem;
  margin: 0.5em 0;
  color: #111;
  text-align: center;
}

/* Checklist styling */
.pricing-cards .check-list {
  list-style: none;
  margin: 1em 0;
  padding: 0;
  flex-grow: 1; /* stretch checklist so button stays bottom */
}
.pricing-cards .check-list li {
  margin-bottom: 0.6em;
  padding-left: 1.4em;
  position: relative;
}
.pricing-cards .check-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #28a745;
  font-weight: bold;
}

/* Buttons aligned bottom */
.pricing-cards .wp-block-buttons {
  margin-top: auto;
}
.pricing-cards .wp-block-button__link {
  width: 100%;
  text-align: center;
}

/* ============================
   DISCOUNT OFFER BOX
   ============================ */
.discount-offer {
  background: #fff;
  border-radius: 14px;
  padding: 28px 32px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  margin-block: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Headings inside (extra breathing space) */
.discount-offer h2, 
.discount-offer h3 {
  margin-top: 16px;
  margin-bottom: 12px;
}

/* ============================
   ADDITIONAL INFO CARD (Final)
   ============================ */
.additional-info-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.08);
  padding: 24px 28px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  margin-block: 32px;
}

.additional-info-card h2,
.additional-info-card h3 {
  margin-top: 28px;
  margin-bottom: 14px;
  border-left: 4px solid #f6c443;
  padding-left: 10px;
}

.additional-info-card > *:last-child {
  margin-bottom: 0 !important;
}

/* ✅ Mobile overrides (merged here) */
@media (max-width: 768px) {
  .additional-info-card {
    padding: 20px;
  }
  .additional-info-card .wp-block-columns {
    flex-direction: column;
    gap: 20px;
  }
  .additional-info-card .wp-block-column {
    flex: 1 !important;
    max-width: 100% !important;
  }
}

/* ============================
   CLIENT INFO CARD
   ============================ */
.client-info-card {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  padding: 32px;
  margin-block: 40px;
}
.client-info-card .wp-block-column:first-child {
  flex: 1.2;
  color: #222;
  font-size: 0.95rem;
  line-height: 1.65;
}
.client-info-card h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 16px;
  border-left: 4px solid #f6c443;
  padding-left: 10px;
}
.client-info-card ul { margin-top: 16px; padding-left: 20px; }
.client-info-card li { margin-bottom: 6px; }
.client-info-card .wp-block-column:last-child {
  flex: 0.8;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.client-info-card img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 0 auto;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}
.client-info-card p {
  color: #333;
  font-size: 0.92rem;
  margin: 0;
  line-height: 1.55;
}
.client-info-card p:has(👉) {
  font-weight: 600;
  color: #222;
  margin-top: 6px;
}
@media (max-width: 768px) {
  .client-info-card {
    flex-direction: column;
    padding: 24px;
  }
  .client-info-card .wp-block-column {
    flex: 1 !important;
    max-width: 100% !important;
  }
  .client-info-card .wp-block-column:last-child {
    margin-top: 20px;
    align-items: flex-start;
    text-align: left;
  }
}
/* Style bullet points inside client-info-card */
.client-info-card ul {
  list-style: none;              /* remove default bullets */
  padding-left: 0;               /* align with text */
  margin-left: 0;
}

.client-info-card ul li {
  position: relative;
  margin-bottom: 8px;            /* spacing between items */
  padding-left: 20px;            /* space for custom icon */
  font-size: 15px;               /* slightly refined size */
  line-height: 1.5;
  color: #222;                   /* clean dark gray */
}

.client-info-card ul li::before {
  content: "✔";                  /* subtle checkmark */
  position: absolute;
  left: 0;
  top: 0;
  color: #f6c443;                /* your brand’s yellow accent */
  font-weight: bold;
  font-size: 14px;
}

/* ============================
   SERVICE CARDS – Final Clean Version
   ============================ */

/* Grid wrapper (optional if using Gutenberg columns) */
.service-cards-grid,
.service-cards-wrapper .wp-block-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  align-items: stretch;   /* equal row height */
  margin-bottom: 24px;    /* spacing between rows */
}

/* Card container */
.service-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
  padding: 22px 20px;
  border: 2px solid #f6c443;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(246,196,67,0.25);
  box-sizing: border-box;
}

/* Headings */
.service-card h2,
.service-card h3,
.service-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 12px 0 16px;
  min-height: 2.6em;    /* equalise heading height */
  text-align: center;
}

/* Responsive SVG icons */
.service-card svg.flag-icon {
  width: 64px;          /* base desktop size */
  height: auto;
  display: block;
  margin: 0 auto 12px;  /* center + spacing */
  max-width: 100%;
}

@media (max-width: 768px) {
  .service-card svg.flag-icon {
    width: 48px;
    margin-bottom: 10px;
  }
}

@media (max-width: 480px) {
  .service-card svg.flag-icon {
    width: 40px;
    margin-bottom: 8px;
  }
}

/* Paragraphs flex to fill */
.service-card p {
  flex-grow: 1;
  margin-bottom: 16px;
}

/* Button wrapper pinned to bottom */
.service-card .wp-block-buttons {
  margin-top: auto;
  display: flex;
  justify-content: center;
}

.service-card .wp-block-button__link {
  min-width: 220px;
  text-align: center;
  display: inline-block;
}

/* Responsive spacing */
@media (max-width: 768px) {
  .service-cards-grid,
  .service-cards-wrapper .wp-block-columns {
    gap: 16px;
    margin-bottom: 16px;
  }

  .service-card {
    min-width: 100%;
  }
}
/* ============================
   SERVICE CARDS – SVG Pairing
   ============================ */
.service-card .flag-row {
  display: flex;                 /* flex centers content */
  justify-content: center;       /* center contents inside */
  align-items: center;           /* vertical centering */
  gap: 8px;                      /* spacing between icons */
  margin: 0 auto 16px;           /* center the row block itself */
  width: fit-content;            /* ✅ shrink to content width */
}

.service-card .flag-row svg {
  width: 42px;
  height: auto;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
}

.service-card .flag-row span {
  font-size: 2.2rem;
  font-weight: bold;
  line-height: 1;
  margin: 0 2px;
}

/* Center headings only inside service cards */
.service-card h2,
.service-card h3,
.service-card h4 {
	border-left: none !important;
  padding-left: 0 !important;
  text-align: center;
}

@media (max-width: 768px) {
  .service-card .flag-row svg {
    width: 36px;
  }
  .service-card .flag-row span {
    font-size: 1.8rem;
  }
}


/* ============================
   CTA Section (Final, Clean)
   ============================ */
.cta-section {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  padding: clamp(20px, 3vw, 32px);
  margin-block: 40px;
}

/* Columns wrapper */
.cta-section .wp-block-columns {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap; /* ✅ prevents overflow on smaller widths */
}

/* Each column */
.cta-section .wp-block-column {
  flex: 0 0 45%;
  max-width: 45%;
  padding-inline: 20px;
}

/* Left column (text + button) */
.cta-section .wp-block-column:first-child {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

/* Right column (image + checklist) */
.cta-section .wp-block-column:last-child {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: left;
  gap: 14px;
}

/* Checklist */
.cta-section ul {
  list-style: none;
  margin: 16px 0 0 0;
  padding: 0;
}
.cta-section li {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #222;
  position: relative;
  padding-left: 26px;
  margin-bottom: 8px;
}
.cta-section li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0.9rem;
  color: var(--brand-yellow, #f6c443);
  font-weight: bold;
}

/* Image tweaks */
.cta-section img {
  max-width: 260px;
  height: auto;
  display: block;
  margin: 0 auto 10px;
}

/* Responsive tweaks */
@media (max-width: 782px) {
  .cta-section {
    padding: 20px 16px;
    margin-block: 28px;
  }
  .cta-section .wp-block-columns {
    flex-direction: column;
    gap: 20px;
  }
  .cta-section .wp-block-column {
    max-width: 100%;
    flex: 1 1 100%;
    align-items: center;
    text-align: center;
    padding-inline: 0;
  }
  .cta-section img {
    max-width: 160px;
    margin-bottom: 10px;
  }
  .cta-section li {
    font-size: 0.9rem;
  }
}


/* TRUSTINDEX PADDING */
.trustindex-wrapper {
  padding-bottom: 50px; /* adjust as needed */
}

/* ============================
   UNIVERSAL BUTTON STYLE
   ============================ */
button,
input[type="submit"],
.wp-block-button .wp-block-button__link,
.is-style-primary .wp-block-button__link,
.ff-btn,
.ff_submit_btn_wrapper input[type="submit"],
.ff_submit_btn_wrapper button[type="submit"],
.wp-element-button,
.wp-element-button:where(:not(.has-text-color)) {
  background: #f6c443 !important;          /* brand yellow */
  color: #000 !important;                  /* black text */
  border: 1px solid #000 !important;       /* black border */
  border-radius: 6px;                      /* rounded corners */
  font-size: 15px;
  font-weight: 600;
  padding: 10px 18px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15) !important; /* subtle shadow */
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  display: inline-block;
  text-align: center;
}

/* Hover state */
button:hover,
input[type="submit"]:hover,
.wp-block-button .wp-block-button__link:hover,
.is-style-primary .wp-block-button__link:hover,
.ff-btn:hover,
.wp-element-button:hover {
  background: #e0b53b !important;          /* darker yellow */
  color: #000 !important;
  transform: translateY(-2px);             /* raised look */
  box-shadow: 0 4px 10px rgba(0,0,0,0.18) !important;
}

/* ============================
   BUTTON CONTAINER RESET
   ============================ */
.wp-block-buttons,
.wp-block-button,
.ff_submit_btn_wrapper {
  background: transparent !important; 
  box-shadow: none !important;        
  padding: 0 !important;              
  margin: 0 !important;
  border: none !important;
}

/* ============================
   FOOTER LOGO ROW
   ============================ */

/* Logo Row Styling */
.logo-row {
  display: flex;
  justify-content: space-evenly; /* equal spacing */
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
  margin: 20px 0;
}

.logo-item {
  flex: 1 1 150px;   /* evenly share width */
  display: flex;
  justify-content: center;
}

.logo-item img {
  max-height: 80px;
  max-width: 150px;
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter 0.3s ease, transform 0.3s ease;
}

.logo-item img:hover {
  filter: grayscale(0%);
  transform: scale(1.05);
}

/* ============================
   FOOTER CONTACT SECTION
   ============================ */
.nv-footer-content .footer-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
  text-align: center;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.nv-footer-content .footer-contact .footer-icon svg {
  width: 64px;
  height: 64px;
  fill: #fff;              /* white icons */
  stroke: #fff;            /* white stroke if available */
  stroke-width: 2px;       /* make lines look thicker */
}

.nv-footer-content .footer-contact .footer-text {
  color: #fff;             /* white text */
  font-weight: 700;        /* bold */
  font-size: 1rem;
  line-height: 1.4;
}

/* Grid layout for all footer-contact blocks */
.nv-footer-content .widget-area {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  justify-items: center;
  align-items: start;
  gap: 20px;
}

/* Reduce space above footer menu */
.site-footer,
.footer-bottom,
.footer-credits {
  padding-bottom: 8px !important;
  margin-bottom: 0 !important;
}

/* FOOTER MENU */
/* Footer menu links – force white */
.nav-menu-footer .footer-menu a {
  color: #ffffff !important;
}

/* Optional: change hover color (e.g. light gray) */
.nav-menu-footer .footer-menu a:hover {
  color: #cccccc !important;
}

/* Footer bottom menu refinement */
.footer--row.footer-bottom .footer-menu a {
  font-size: 13px;        /* Slightly smaller text */
  letter-spacing: 0.5px;  /* Add a touch of spacing */
  text-transform: uppercase; /* Optional: gives a corporate feel */
}

/* ============================
   MAIN NAVIGATION FIX
   ============================ */

/* Desktop only: top-level menu container aligned in a row */
@media (min-width: 769px) {
  #site-navigation > .nav-menu,
  header > .nav-ul {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 18px;
  }

  /* Top-level items only */
  #site-navigation > .nav-menu > li,
  header > .nav-ul > li {
    position: relative; /* needed for submenu positioning */
    white-space: nowrap;
  }
}

/* Submenu container */
#site-navigation .sub-menu,
header .nav-ul .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  z-index: 9999;

  width: max-content;     /* auto width for longest item */
  min-width: 100%;        /* never smaller than parent */
  padding: 2px 0;
}

/* Show submenu on hover (desktop) */
@media (min-width: 769px) {
  #site-navigation li:hover > .sub-menu,
  header .nav-ul li:hover > .sub-menu {
    display: block;
  }
}

/* Submenu items */
#site-navigation .sub-menu li,
header .nav-ul .sub-menu li {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  line-height: 1.1;
}

/* Submenu links */
#site-navigation .sub-menu li a,
header .nav-ul .sub-menu li a {
  display: block;
  padding: 3px 10px;
  color: #222 !important;
  font-weight: 500;
  text-decoration: none;
  font-size: 15px;
  line-height: 1.2;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}

/* Hover effect (desktop) */
#site-navigation .sub-menu li a:hover {
  background: #f6c443;
  color: #000 !important;
}



/* ============================
   CONTACT LINKS IN SITE HEADER
   ============================ */

.custom-contact {
  display: flex;
  gap: 20px;              /* space between email + phone */
  align-items: center;
  flex-wrap: nowrap;      /* prevent items from breaking into separate lines */
}

.custom-contact .contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;        /* make whole block feel interactive */
  flex: 0 1 auto;         /* allow shrinking */
  white-space: nowrap;    /* keep icon + text together */
}

.custom-contact .flag-icon {
  width: 22px;
  height: 22px;
  display: inline-block;
}

/* SVG inherits currentColor = link text color */
.custom-contact .flag-icon path {
  fill: currentColor;           /* keep shapes visible */
  stroke: currentColor;         /* add outlines */
  stroke-width: 1.5;            /* adjust thickness */
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: fill 0.2s ease-in-out, stroke 0.2s ease-in-out;
}

/* default link style */
.custom-contact a {
  color: #ffffff !important;    /* force white */
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease-in-out;
}

/* hover effect applies to both text and icon */
.custom-contact .contact-item:hover a,
.custom-contact .contact-item:hover .flag-icon path {
  color: #FFD700 !important;    /* text */
  stroke: #FFD700;              /* icon outline */
  fill: #FFD700;                /* icon fill */
}

/* Optional: tighter spacing on very small screens */
@media (max-width: 480px) {
  .custom-contact {
    gap: 12px;                  /* reduce space between phone/email */
  }

  .custom-contact .contact-item a {
    font-size: 14px;            /* slightly smaller text */
  }

  .custom-contact .flag-icon {
    width: 18px;
    height: 18px;
  }
}

/* CONTACT PAGE CONTACT COLUMN STYLING */
/* Contact column global styling */
.contact-column figure svg {
  width: 48px;
  height: 48px;
  display: block;
  margin: 0 auto 8px;
}

.contact-column h3 {
  font-size: 15px;
  margin: 4px 0;
  border-left: none !important; /* override hero styles */
  padding-left: 0 !important;
}

.contact-column p {
  font-size: 14px;
  margin: 0;
}

.contact-column a {
  color: inherit;
  text-decoration: none;
}

.contact-column a:hover {
  color: #f6c443; /* yellow accent hover */
}

/* CONTACT COLUMN: Heading & Paragraph tweaks */
.contact-column h2 {
  border-left: none !important;
  padding-left: 0 !important;
}

.contact-column .ticss-1b5a54a2 {
  margin-bottom: 30px !important; /* force spacing below */
  padding-bottom: 50px !important; /* fallback if margin collapses */
  display: block; /* enforce block layout */
}

/* CONTACT COLUMN: Group spacing */
.contact-column .wp-block-group.aligncenter {
  margin-bottom: 20px;
}

/* CONTACT COLUMN: Headings */
.contact-column h3 {
  font-weight: 700;       /* strong bold */
  font-size: 1.5em;       /* larger, closer to screenshot */
  margin-top: 6px !important;
  margin-bottom: 6px !important;
  text-align: center;     /* centre text */
  border-left: none !important;
  padding-left: 0 !important;
}

/* Mugshot image on Contact page */
.mugshot-img img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  margin-top: 20px;
  margin-bottom: 30px; /* extra breathing space below */
  display: block;
  margin-left: auto;
  margin-right: auto;
}

