<div class="contact-card">
  <dl>
    <% if (name = contact.name).present? %>
      <dt>Name:</dt>
      <dd><%= name %></dd>
    <% end %>
    <% if (postal_address = contact.postal_address).present? %>
      <dt>Postal address:</dt>
      <dd><%= format_postal_address postal_address %></dd>
    <% end %>
    <% if (email_address = contact.email_address).present? %>
      <dt>Email address:</dt>
      <dd><%= format_email_address email_address %></dd>
    <% end %>
    <% if (website_url = contact.website_url).present? %>
      <dt>Website URL:</dt>
      <dd><%= format_website_url website_url %></dd>
    <% end %>
    <% if (opening_hours = contact.opening_hours).present? %>
      <dt>Opening hours:</dt>
      <dd><%= format_opening_hours opening_hours %></dd>
    <% end %>
  </dl>
</div>

<div class="contact">
  <dl>
    <% if (name = contact.name).present? %>
      <dt>Name:</dt>
      <dd><%= name %></dd>
    <% end %>
    <% if (postal_address = contact.postal_address).present? %>
      <dt>Postal address:</dt>
      <dd><%= format_postal_address postal_address %></dd>
    <% end %>
    <% if (email_address = contact.email_address).present? %>
      <dt>Email address:</dt>
      <dd><%= format_email_address email_address %></dd>
    <% end %>
    <% if (website_url = contact.website_url).present? %>
      <dt>Website URL:</dt>
      <dd><%= format_website_url website_url %></dd>
    <% end %>
    <% if (opening_hours = contact.opening_hours).present? %>
      <dt>Opening hours:</dt>
      <dd><%= format_opening_hours opening_hours %></dd>
    <% end %>
  </dl>
</div>

Use core contact styling on contact details
Use core contact styling on contact details
