/* ==========================================================
   🧭 FILTER FORM — Modern Real Estate UI
   ========================================================== */
#archivalFilterForm {
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  padding: 25px 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  margin-bottom: 40px;
  transition: box-shadow 0.3s ease;
}

#archivalFilterForm:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

#archivalFilterForm > div {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  align-items: flex-end;
}

#archivalFilterForm label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #2e2f42;
  margin-bottom: 6px;
}

#archivalFilterForm input[type="text"],
#archivalFilterForm select {
  width: 100%;
  padding: 10px 12px;
  font-size: 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: #fafafa;
  transition: all 0.2s ease;
}

#archivalFilterForm input[type="text"]:focus,
#archivalFilterForm select:focus {
  border-color: #0073aa;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0,115,170,0.15);
  outline: none;
}

#archivalFilterForm select {
  background: #fff url("data:image/svg+xml;utf8,<svg fill='%230073aa' height='16' viewBox='0 0 24 24' width='16' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>") no-repeat right 12px center/12px auto;
  appearance: none;
  padding-right: 35px;
}

#archivalFilterForm input::placeholder {
  color: #999;
  font-style: italic;
}

/* Responsive layout */
@media (max-width: 992px) {
  #archivalFilterForm > div { gap: 20px; }
}

@media (max-width: 768px) {
  #archivalFilterForm > div { flex-direction: column; }
}

/* ==========================================================
   💰 PRICE RANGE SLIDER
   ========================================================== */
#price-range-container {
  position: relative;
  width: 100%;
  height: 40px;
  margin-top: 5px;
}

#price-range-track {
  position: relative;
  width: 100%;
  height: 6px;
  background: #e0e0e0;
  border-radius: 3px;
  overflow: hidden;
}

#price-range-track .active-range {
  position: absolute;
  top: 0;
  height: 6px;
  background: linear-gradient(90deg, #0073aa, #00a2e8);
  border-radius: 3px;
  transition: all 0.25s ease;
  z-index: 2;
}

#price-range-container input[type="range"] {
  position: absolute;
  width: 100%;
  height: 6px;
  background: transparent;
  pointer-events: none;
  appearance: none;
  z-index: 3;
}

#price-range-container input[type="range"]::-webkit-slider-thumb {
  pointer-events: auto;
  height: 18px;
  width: 18px;
  border-radius: 50%;
  background: #0073aa;
  border: 3px solid #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

#price-range-container input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.1);
  background: #005b8c;
}

#price-range-container + div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: #333;
  font-weight: 500;
  margin-top: 8px;
}

#price-range-container + div span {
  color: #0073aa;
  font-weight: 600;
}

/* ==========================================================
   🧱 GRID LAYOUT
   ========================================================== */
.archival-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
}

@media (max-width: 992px) {
  .archival-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .archival-grid { grid-template-columns: 1fr; }
}

/* ==========================================================
   🏠 CARD DESIGN
   ========================================================== */
.archival-item {
  background: #ffffff;
  border-radius: 14px;
  padding: 30px 25px 35px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
   justify-content: space-between;
  border: 1px solid #eaeaea;
}

.archival-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
  border-color: #d8d8d8;
}

/* ==========================================================
   ✨ TITLE
   ========================================================== */
.archival-title {
  font-size: 28px;
  color: #2e2f42;
  line-height: 36px;
  text-align: left;
  font-weight: 700;
  margin-bottom: 15px;
}

.archival-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.archival-title a:hover {
  color: #0073aa;
}

/* ==========================================================
   🏷 META INFORMATION (Builder / Location / Price)
   ========================================================== */
.archival-meta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 20px 0;
    padding-top: 12px;
    padding-bottom: 12px;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
}
.archival-meta,
.archival-meta * {
  margin: 0 !important;
  text-align: left !important;
}
.archival-meta-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: #333;
  line-height: 1.6;
}

.archival-meta-item .meta-icon {
  color: #0073aa;
  font-size: 18px;
  background: rgba(0,115,170,0.08);
  border-radius: 50%;
  padding: 6px;
  width: 30px;
  height: 30px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.archival-meta-item .meta-label {
  font-weight: 700;
  color: #000;
  margin-right: 6px;
  display: inline-block;
}

.archival-meta-item .meta-value {
  color: #444;
  font-weight: 500;
}

/* ==========================================================
   📝 DESCRIPTION
   ========================================================== */
.archival-description {
  font-size: 15.5px;
  color: #444;
  margin-top: 15px;
  line-height: 1.8;
  text-align: left;

  /* ✂️ Two-line ellipsis */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
	    margin-bottom: 20px;
}


/* ==========================================================
   🔘 BUTTON
   ========================================================== */
.view-more-btn123 {
  background: linear-gradient(to left, #a14000 0%, #e07b39 100%);
  border: none !important;
  border-radius: 0px 20px !important;
  color: #fff;
  padding: 14px 24px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  align-self: flex-start;
}

.view-more-btn123:hover {
  background: linear-gradient(to left, #3A6FB6 0%, #212357 100%) !important;
  color: #fff;
  transform: translateY(-2px);
}

/* ==========================================================
   🔹 PAGINATION
   ========================================================== */
.archival-pagination {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.archival-pagination .page-btn {
  background: #fff;
  border: 1px solid #ccc;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.archival-pagination .page-btn:hover {
  background: #0073aa;
  color: #fff;
  border-color: #0073aa;
}

.archival-pagination .page-btn.current {
  background: #111;
  color: #fff;
  border-color: #111;
}

/* ==========================================================
   🔹 LEGACY SUPPORT (for older elements)
   ========================================================== */
.metacustom23 { padding-top: 15px; }
.vbvbbv { position: relative; border: 1px solid #ddd; padding: 15px; margin-bottom: 20px; }
.iconmf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #fff;
  font-size: 24px;
  float: right;
  color: var(--primary);
}


/* ==========================================================
   🏗 PROJECT INFO SECTION
========================================================== */
.project-info {
  margin-bottom: 40px;
}

.desp_clssss {
  display: flex;
  align-items: baseline;
  border-bottom: 1px solid #eee;
  margin-bottom: 10px;
  padding-bottom: 8px;
}

.desp_clssss .title {
  width: 160px;
  font-weight: 600;
  color: #111;
  font-size: 16px;
}
.form-control {
    display: block;
    width: 100%;
	height: 45px!important;}
input.wpcf7-form-control.wpcf7-submit.has-spinner.btn-submit {
    border-radius: 0px 20px !important;
    color: #fff;
}
.desp_clssss .disp {
  flex: 1;
  color: #444;
  font-size: 15px;
  line-height: 1.6;
}

/* ==========================================================
   📝 DESCRIPTION SECTION
========================================================== */
.mmm {
  margin-top: 25px;
}

.mmm .title {
  font-size: 18px;
  color: #2e2f42;
}

.mmm .disp {
  color: #444;
  font-size: 15.5px;
  line-height: 1.8;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* ✨ 2-line ellipsis */
  -webkit-box-orient: vertical;
}

/* ==========================================================
   🖼 GALLERY SECTION
========================================================== */
.archival-gallery-section {
  margin-top: 40px;
}

.archival-gallery-section h2 {
  border-left: 4px solid #e07b39;
  padding-left: 10px;
  margin-bottom: 15px;
}

.archival-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}

.archival-gallery-grid img {
  width: 100%;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.archival-gallery-grid img:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* ==========================================================
   📎 ATTACHMENT FILES
========================================================== */
.attachment-file {
  margin-top: 40px;
  background: #fafafa;
  border-radius: 10px;
  padding: 25px;
}

.attachment-file .title {
  font-size: 20px;
  margin-bottom: 15px;
}

.ovaattachment {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ovaattachment li {
  display: flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 10px;
  transition: all 0.3s ease;
}

.ovaattachment li:hover {
  border-color: #e07b39;
  background: #fff8f2;
}

.icon-attachment {
  margin-right: 12px;
  color: #e07b39;
  font-size: 22px;
}

.ova-file-name-size {
  flex: 1;
}

.ova-file-name {
  font-weight: 600;
  color: #222;
}

.ova-file-size {
  display: block;
  font-size: 13px;
  color: #666;
}

.ova-download {
  display: flex;
  gap: 10px;
}

.ova-download a {
  color: #333;
  transition: color 0.2s ease;
}

.ova-download a:hover {
  color: #e07b39;
}

/* ==========================================================
   🎥 VIDEO GALLERY
========================================================== */
.archival-video-section {
  margin-top: 60px;
}

.archival-video-section h2 {
  border-left: 4px solid #e07b39;
  padding-left: 10px;
  margin-bottom: 20px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.video-card video {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

.video-card video:hover {
  transform: scale(1.01);
}

/* ==========================================================
   💬 CONTACT FORM SECTION
========================================================== */
.contact-form-section {
  margin-top: 60px;
  background: #fff;
  border-radius: 10px;
  padding: 40px 30px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.06);
}

.contact-form-section h2 {
  font-size: 24px;
  margin-bottom: 25px;
  color: #2e2f42;
}

.contact-form-section form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-form-section .form-row {
  width: 100%;
}

.contact-form-section input,
.contact-form-section textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
  color: #333;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form-section input:focus,
.contact-form-section textarea:focus {
  border-color: #e07b39;
  box-shadow: 0 0 0 3px rgba(224, 123, 57, 0.2);
  outline: none;
}

.contact-form-section textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-submit {
  background: linear-gradient(to left, #a14000, #e07b39);
  color: #fff;
  border: none;
  padding: 14px 18px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.btn-submit:hover {
  background: linear-gradient(to left, #3A6FB6, #212357);
  transform: translateY(-2px);
}

.cf-response {
  margin-top: 10px;
  font-size: 14px;
}

/* ==========================================================
   📱 RESPONSIVE DESIGN
========================================================== */
@media (max-width: 768px) {
  .desp_clssss {
    flex-direction: column;
  }

  .desp_clssss .title {
    width: auto;
    margin-bottom: 4px;
  }

  .contact-form-section {
    padding: 30px 20px;
  }

  .archival-gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}
/* ==============================
   Project Info List Layout
   ============================== */
.amf-project-info {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 32px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.amf-info-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.amf-info-list li {
  font-size: 15.5px;
  color: #374151;
  line-height: 1.8;
  margin-bottom: 10px;
}

.amf-info-list li:last-child {
  margin-bottom: 0;
}

.amf-info-list i {
  color: #2563eb;
  margin-right: 8px;
  font-size: 16px;
}

.amf-info-list .fa-building { color: #16a34a; }
.amf-info-list .fa-map-marker { color: #dc2626; }
.amf-info-list .fa-map-pin { color: #7c3aed; }

.amf-info-list strong {
  color: #111827;
  font-weight: 600;
  margin-right: 4px;
}

/* Small screen adjustments */
@media (max-width: 768px) {
  .amf-project-info {
    padding: 18px;
  }

  .amf-info-list li {
    font-size: 14.5px;
  }

  .amf-info-list i {
    font-size: 15px;
  }
}





