@charset "UTF-8";
/* GCVA Custom Field Link block – tweak wrapper, link, and arrow */
.gcva-post-meta-link {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
}
.gcva-post-meta-link .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  box-sizing: border-box;
  text-decoration: none;
  width: auto;
}
.gcva-post-meta-link {
  /* Core Buttons sets every link to width: 100%. That stretches "View"
     across the template preview note. Hug the label unless a width is chosen. */
}
.wp-block-buttons .gcva-post-meta-link:not(.has-custom-width), .gcva-post-meta-link:not(.has-custom-width) {
  width: fit-content;
  max-width: 100%;
  flex: 0 0 auto;
}
.wp-block-buttons .gcva-post-meta-link:not(.has-custom-width) .wp-block-button__link {
  width: auto;
}
.gcva-post-meta-link {
  /* Block editor canvas: core only shrink-wraps core/button. This block
     otherwise fills the Buttons row, so View looks full width. */
}
.editor-styles-wrapper .gcva-post-meta-link[data-type="gcva/post-meta-link"]:not(.has-custom-width), body.block-editor-iframe__body .gcva-post-meta-link[data-type="gcva/post-meta-link"]:not(.has-custom-width) {
  width: fit-content;
  max-width: 100%;
  flex: 0 0 auto;
}
.gcva-post-meta-link.is-style-link .wp-block-button__link:hover .gcva-post-meta-link__text, .gcva-post-meta-link.is-style-link .wp-block-button__link:focus .gcva-post-meta-link__text, .gcva-post-meta-link.is-style-link .wp-block-button__link:active .gcva-post-meta-link__text {
  text-decoration: underline;
}
.gcva-post-meta-link .gcva-link__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 0.75em;
  height: 0.75em;
  line-height: 1;
  opacity: 0.9;
  margin-left: 0.25em;
}
.gcva-post-meta-link .gcva-link__arrow-svg {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
}
.gcva-post-meta-link .gcva-link__arrow-svg svg {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
}
.gcva-post-meta-link.has-custom-width {
  max-width: none;
}
.gcva-post-meta-link.has-custom-width .wp-block-button__link {
  width: 100%;
  justify-content: center;
}
.gcva-post-meta-link.wp-block-button__width-25 {
  width: 25%;
}
.gcva-post-meta-link.wp-block-button__width-50 {
  width: 50%;
}
.gcva-post-meta-link.wp-block-button__width-75 {
  width: 75%;
}
.gcva-post-meta-link.wp-block-button__width-100 {
  width: 100%;
}
