/*
Theme Name: GUFormPortal
Theme URI:  https://example.com/guformportal
Author: AI Generated
Description: Modern, responsive multipage theme for a WPForms-powered dashboard (cards-style).
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: guformportal
*/
:root{
  --brand-1: #771214; /* deep burgundy */
  --brand-2: #BF913B; /* gold */
  --brand-3: #D9C3A9; /* warm cream */
  --bg: #ffffff;
  --muted: #ccc;
  --accent: #0f172a;
  --card: #fbf8f6;
  --radius: 12px;
  --max-width: 1200px;
  --gap: 1rem;
  --shadow: 0 8px 28px rgba(15,23,42,0.06);
  --container-padding: 1.25rem;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:var(--font-sans);
  background:var(--bg);
  color:var(--accent);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  line-height:1.5;
}

/* Layout */

.wp-block-heading{
	color: var(--brand-2);
}


.site-title {font-weight:700; font-size:1.25rem; margin:0; color:var(--brand-1)}
.site-title a{color: var(--brand-1); text-decoration: none;}
.site-tagline {font-size:0.9rem; color:var(--muted)}
.site-info{
	    border-left: 1px solid #ccc;
    padding-left: 5px;
}
/* Header actions */
.header-actions {display:flex; gap:0.5rem; align-items:center}
.btn {
  display:inline-flex; align-items:center; gap:0.5rem;
  padding:0.5rem 0.9rem; border-radius:10px; border:0;
  cursor:pointer; font-weight:600;
  background:var(--brand-1); color:white;
  box-shadow: var(--shadow);
	text-decoration: none;
}
a.btn:hover{
	 background:var(--brand-3);
}

.btn.ghost {background:transparent; color:var(--brand-1); border:1px solid rgba(0,0,0,0.06)}

/* Page title */
.page-heading {margin:0 0 1rem 0; font-size:1.4rem; color:var(--brand-1)}

/* Filters row */
.filters {
  display:flex; gap:0.5rem; flex-wrap:wrap; margin-bottom:1rem;
}
.input, .select {
  padding:0.5rem 0.65rem; border-radius:10px; border:1px solid #e6e9ef;
  background:white; min-width:180px;
}

/* Grid */
.forms-grid {
  display:grid;
  grid-template-columns: repeat(1, 1fr);
  gap:1rem;
}
@media(min-width:720px){
  .forms-grid {grid-template-columns: repeat(2, 1fr);}
}
@media(min-width:1100px){
  .forms-grid {grid-template-columns: repeat(3, 1fr);}
}

/* Card */
.form-card {
  /*background: linear-gradient(180deg, var(--card), #fff);*/
  border-radius:var(--radius);
  padding:1rem;
  box-shadow: var(--shadow);
  display:flex;
  flex-direction:column;
  gap:0.5rem;
  min-height:140px;
  border-left:6px solid var(--brand-2);
	border-bottom:1px solid var(--brand-2);
}

.form-title {font-weight:700; margin:0; font-size:1.05rem; color:var(--brand-1)}
.form-title a, .form-title a:hover, .form-title a:visited {color:var(--brand-2); text-decoration: none;}
.form-desc {color:var(--muted); font-size:0.95rem; margin:0.25rem 0 0.6rem}
.form-meta {margin-top:auto; display:flex; justify-content:space-between; align-items:center; gap:0.5rem}
.kv {font-size:0.85rem; color:var(--muted)}

/* Embed wrapper */
.fpt-embed-wrapper {margin-top:0.75rem; padding:0.75rem; background:#fff; border-radius:8px; border:1px solid #f0ece8}

/* Footer */
.site-footer {margin-top:2rem; color:var(--muted); font-size:0.9rem; text-align:center}

/* Utilities */
.center {text-align:center}
.hidden {display:none}

/* Make WPForms full width when embedded */
.fpt-embed-wrapper .wpforms-container {width:100%}

/* ---------- Header & Nav Responsive ---------- */
/* Basic layout */


/* Header */


/* Branding */
.site-logo img { max-height:48px; width:auto; display:block; }
.site-title { font-weight:700; font-size:1.15rem; line-height:1; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.site-title a { color: inherit; text-decoration:none; }
.site-description { font-size:0.9rem; color:var(--muted, #6b7280); }

/* Primary nav (desktop) */
.primary-menu { list-style:none; margin:0; padding:0; display:flex; gap:0.5rem; align-items:center; }
.primary-menu li { margin:0; }
.primary-menu a {
  display:inline-block;
  padding:0.45rem 0.7rem;
  border-radius:8px;
  text-decoration:none;
  color:inherit;
  font-weight:600;
}
.primary-menu a:hover,
.primary-menu a:focus { background: rgba(0,0,0,0.03); outline: none; }

/* Menu toggle (mobile) */
.menu-toggle {
  display:none; /* hidden on desktop */
  align-items:center;
  justify-content:center;
  background:transparent;
  border:0;
  padding:0.25rem;
  cursor:pointer;
  width:44px;
  height:44px;
  border-radius:8px;
}
.menu-toggle:focus { outline:2px solid rgba(0,0,0,0.12); }

/* Hamburger svg styling */
.menu-toggle .hamburger rect {
  fill: var(--brand, #771214);
}

/* Mobile styles */


/* small tweaks so header content wraps nicely */
@media (max-width: 520px) {
  .site-title { font-size: 1rem; }
  /*.site-description { display:none; } *//* hide tagline on very small screens */
	

}

/* ====== Header Layout ====== */
.site-header {
  width: 100%;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 10px 20px;
  margin-bottom: 1.25rem;
  background: var(--bg, #fff);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  position: relative;
  z-index: 40;
}

.siteheader{
	display: flex;
	  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width:var(--max-width);
  padding: var(--container-padding);
  margin: 0 auto;
  /*max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;*/
  box-sizing: border-box;

}

.site {
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width:var(--max-width);
  padding: var(--container-padding);
  margin: 0 auto;
  /*max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;*/
  box-sizing: border-box;
}

.site-branding { display:flex; align-items:center; gap:5px; min-width: 0; }


.site-logo img {
  max-height: 60px;
  width: auto;
}

.site-title a {
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
  color: #222;
}

.site-description {
  font-size: 0.9rem;
  color: #666;
}



/* Hamburger toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle svg rect {
  fill: #333;
}

/* Primary menu */
.primary-nav { display:flex; align-items:center; }


.primary-menu {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;

}
.primary-menu li {
  position: relative;
	list-style: none;
}

/* Links */
.primary-menu li a {
  display: block;
  padding: 0.75rem 1rem;
  font-weight: 500;
  color: #333;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
  border-radius: 6px;
}

/* Hover Effects */
.primary-menu li a:hover,
.primary-menu li a:focus {
  background: rgba(119, 18, 20, 0.1); /* subtle highlight */
  color: #771214; /* primary color */
}

/* Current Page */
.primary-menu li.current-menu-item > a {
  background: #771214;
  color: #fff;
}

/* Dropdown Menu */
.primary-menu .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 200px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  border-radius: 6px;
  padding: 0.5rem 0;
  z-index: 99;
}

/* Dropdown Items */
.primary-menu .sub-menu li {
  width: 100%;
}

.primary-menu .sub-menu li a {
  padding: 0.6rem 1rem;
  font-weight: normal;
}

/* Show dropdown on hover */
.primary-menu li.menu-item-has-children:hover > .sub-menu,
.primary-menu li.menu-item-has-children:focus-within > .sub-menu {
  display: block;
}

/* Mobile Hamburger Toggle (hidden on desktop) */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

/* Responsive Nav for Mobile */
@media (max-width: 768px) {
  .primary-menu {
    flex-direction: column;
    display: none;
    gap: 0;
    width: 100%;
    background: #fff;
    border-top: 1px solid #ddd;
  }

  .primary-menu.active {
    display: flex;
  }

  .primary-menu li {
    width: 100%;
	  list-style: none;
  }

  .primary-menu li a {
    padding: 1rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
  }

  .primary-menu .sub-menu {
    position: static;
    box-shadow: none;
    padding-left: 1rem;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem;
    border-radius: 6px;
  }

  .menu-toggle svg rect {
    fill: #771214;
  }
}

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

@media (max-width: 720px) {
  .primary-nav { position: absolute; top:100%; right:0; left:0; background: var(--bg, #fff); box-shadow: 0 6px 18px rgba(15,23,42,0.08); transform-origin: top right; }
  .primary-nav .primary-menu { flex-direction: column; gap:0; padding: 0.5rem; display:flex; }
  .primary-menu a { width:100%; padding:0.9rem 1rem; }
  .menu-toggle { display:inline-flex; }

  /* collapsed by default */
  .primary-nav { max-height: 0; overflow: hidden; transition: max-height 300ms ease, opacity 250ms ease; opacity: 0; }
  .primary-nav.open { max-height: 60vh; opacity: 1; }

  /* improve hit area for branding when logo present on small screens */
  .site-branding { flex: 1 1 auto; min-width: 0; }


}

@media (max-width: 768px) {
  .site {
    flex-direction: column;
    align-items: center;
  }

			.site-info{
	    border-left: 0px solid #ccc;
    padding-left: auto;
	}
	
  .site-branding {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .site-logo {
    order: 1;
  }

  .site-title {
    order: 2;
  }

  .site-description {
    order: 3;
  }

  .menu-toggle {
    display: block;
    order: 4;
    margin-top: 10px;
  }

  .primary-nav {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: center;
  }

  .primary-nav.active {
    display: flex;
  }

  .primary-menu {
    flex-direction: column;
    gap: 10px;
  }
}


.top-bar{
    background: var(--brand-2);
    color: #fff;
    padding: 5px;
    font-size: small;
    text-align: right;
}

.top-bar .content{
		margin:auto;
	max-width: 1200px;
}

h3.elementor-heading-title{
	color: var(--brand-2) !important;
}