/**
 * Heading Block Layout Styles
 * 
 * This file will be automatically loaded when this layout is rendered on the front-end.
 */

.heading-block {
    font-family: system-ui, sans-serif;
    
}

/* Base heading styles */
.heading-block__title {
  margin: 0;
  font-weight: 600;
}

/* Specific H2 styling from Figma design */
.heading-block--h2 {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  padding-top: 32px;
}

.heading-block--h2 .heading-block__content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  align-self: stretch;
}

.heading-block--h2 .heading-block__title {
  font-weight: 590;
  font-size: 28px;
  line-height: 1.14;
  color: #2F3239;
  margin: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* Link icon styling */
.heading-block__link {
  display: inline-block;
  width: 24px;
  height: 24px;
  margin-left: auto;
  background-image: url('images/link-icon.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  vertical-align: middle;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.heading-block__link:hover {
  opacity: 1;
}

.heading-block--h2 .heading-block__divider {
  padding-top: 24px;
}

.heading-block--h2 .heading-block__divider hr {
  border: 0;
  height: 1px;
  background-color: #D8DEE8;
  margin: 0;
}
