interface FacilitiesPopupProps {
  title: string;
  caption: string;
  description: string;
}

function FacilityPopup({ title, caption, description }: FacilitiesPopupProps) {
  return (
    <div className="2xl:space-y-[1.111vw] space-y-4">
      <div className="2xl:space-y-[0.556vw] space-y-2">
        <p className="subheadline-m [font-family:New_York_Large]">{title}</p>
        <p className="caption font-medium text-[#A7A08E]">{caption}</p>
      </div>
      <hr className="border-[#ECE8DF] 2xl:border-[0.069vw] border-[1px]" />
      <p className="text-s">{description}</p>
    </div>
  );
}

export default FacilityPopup;
