/**
 * Plugins - Third-Party Plugin Overrides
 *
 * Custom styling for WordPress plugins.
 * Footer-Links: seit v2.0.0 in links.css (#303).
 *
 * @package Abisko Werkstatt
 * @version 1.5.0
 * @build "Footer-nach-links.css"
 * @changed 2026-04-02
 */

/* ========================================
   RELATED POSTS BY TAXONOMY
   ======================================== */

.rpbt_shortcode {
  font-size: var(--wp--preset--font-size--tiny);
}

.rpbt_shortcode h3 {
  font-size: inherit;
  margin: 0;
}

.rpbt_shortcode ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.rpbt_shortcode a {
  color: var(--wp--preset--color--background);
  text-decoration: none;
}

.rpbt_shortcode a:hover {
  background-color: var(--wp--preset--color--background);
  color: var(--wp--preset--color--footer-bg);
}

/* Hide on archive pages, blog index, home */
.blog .rpbt_shortcode,
.archive .rpbt_shortcode,
.home .rpbt_shortcode,
.search .rpbt_shortcode {
  display: none;
}

/* FOOTER LINKS: verschoben nach links.css v2.0.0 (#303) */

/* ========================================
   WP GLOSSARY
   ======================================== */

/**
 * Glossary list block heading
 */

h3.wpg-list-block-heading {
  text-align: center !important;
  background: transparent;
}

/**
 * .tooltipstered: wird von jQuery Tooltipster beim Init zur .wpg-tooltip-Klasse
 * addiert. Styling via links.css (a.wpg-tooltip) — Vertiefungs-Stil, kein Brutalist.
 * Kein separates Styling nötig (v1.6.0).
 */

/* ========================================
   CONTACT FORM 7
   ======================================== */

/**
 * Contact Form 7 specific overrides
 * Add as needed
 */

/* Example:
.wpcf7-form {
  max-width: 600px;
  margin: 0 auto;
}

.wpcf7-not-valid-tip {
  color: red;
  font-size: 0.9em;
}
*/

/* ========================================
   YOAST SEO
   ======================================== */

/**
 * Hide Yoast breadcrumbs if not needed
 */

/* Example:
.yoast-breadcrumbs {
  display: none;
}
*/

/* ========================================
   ADD MORE PLUGINS HERE
   ======================================== */

/**
 * Keep plugin-specific styles organized here
 * One section per plugin
 * 
 * Format:
 * 
 * PLUGIN NAME
 * 
 * Description of what you're overriding
 * 
 * .plugin-class {
 *   // styles
 * }
 */

/* ========================================
   WERKSTATT SEARCH FORM
   Ergänzungen zu Abisko wp-block-search
   ======================================== */

/* Icon + Text im Button */
.wp-block-search__button {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
}

.wp-block-search__button svg {
  flex-shrink: 0;
}

/* ========================================
   404 PAGE LAYOUT
   ======================================== */

/* Mehr Abstand zwischen Spalten auf 404 */
body.error404 .wp-block-columns {
  gap: var(--wp--preset--spacing--60, 3rem);
}
