/**
 * Aksa icon overrides — replace outdated brand icons with current logos.
 *
 * - Twitter bird → X mark
 * - Instagram (line) → Instagram (gradient camera)
 * - Threads (new utility class `.lni-threads`)
 *
 * Strategy: keep existing `.lni-twitter-*` and `.lni-instagram*` class names so we don't
 * have to edit dozens of templates. We hide the font-glyph (set `content:''` and
 * `font-family: inherit`) and paint the icon via CSS mask of an inline SVG. Color follows
 * `currentColor` so it adapts to the surrounding text color.
 */

/* ───── X (formerly Twitter) ─────
   Targets every Linearicons twitter variant. */
.lni-twitter::before,
.lni-twitter-fill::before,
.lni-twitter-filled::before,
.lni-twitter-original::before,
.lni-x::before {
    content: '' !important;
    display: inline-block;
    width: 1em;
    height: 1em;
    vertical-align: -0.125em;
    background-color: currentColor;
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z'/></svg>");
    mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z'/></svg>");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
}

/* ───── Instagram gradient (camera) ─────
   When wrapped in `.brand-color` we let currentColor win; otherwise paint with
   the official 4-stop gradient via background-clip on the icon itself. */
.lni-instagram::before,
.lni-instagram-fill::before,
.lni-instagram-original::before,
.lni-instagram-filled::before {
    content: '' !important;
    display: inline-block;
    width: 1em;
    height: 1em;
    vertical-align: -0.125em;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 2.163c3.204 0 3.584.012 4.85.07 1.366.062 2.633.336 3.608 1.311.975.975 1.249 2.242 1.311 3.608.058 1.266.07 1.646.07 4.849s-.012 3.583-.07 4.849c-.062 1.366-.336 2.633-1.311 3.608-.975.975-2.242 1.249-3.608 1.311-1.266.058-1.646.07-4.85.07s-3.584-.012-4.85-.07c-1.366-.062-2.633-.336-3.608-1.311-.975-.975-1.249-2.242-1.311-3.608C2.175 15.583 2.163 15.203 2.163 12s.012-3.583.07-4.849c.062-1.366.336-2.633 1.311-3.608.975-.975 2.242-1.249 3.608-1.311C8.416 2.175 8.796 2.163 12 2.163zm0 1.802c-3.146 0-3.502.012-4.738.068-.973.044-1.503.207-1.856.344-.466.181-.8.398-1.15.748-.35.35-.566.684-.748 1.15-.137.353-.3.882-.344 1.856-.056 1.236-.068 1.592-.068 4.738s.012 3.502.068 4.738c.044.973.207 1.503.344 1.856.181.466.398.8.748 1.15.35.35.684.566 1.15.748.353.137.882.3 1.856.344 1.236.056 1.592.068 4.738.068s3.502-.012 4.738-.068c.973-.044 1.503-.207 1.856-.344.466-.181.8-.398 1.15-.748.35-.35.566-.684.748-1.15.137-.353.3-.882.344-1.856.056-1.236.068-1.592.068-4.738s-.012-3.502-.068-4.738c-.044-.973-.207-1.503-.344-1.856-.181-.466-.398-.8-.748-1.15-.35-.35-.684-.566-1.15-.748-.353-.137-.882-.3-1.856-.344-1.236-.056-1.592-.068-4.738-.068zM12 6.865A5.135 5.135 0 1 0 12 17.135 5.135 5.135 0 0 0 12 6.865zm0 8.468a3.333 3.333 0 1 1 0-6.666 3.333 3.333 0 0 1 0 6.666zm5.338-9.87a1.2 1.2 0 1 0 0 2.4 1.2 1.2 0 0 0 0-2.4z'/></svg>");
    mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 2.163c3.204 0 3.584.012 4.85.07 1.366.062 2.633.336 3.608 1.311.975.975 1.249 2.242 1.311 3.608.058 1.266.07 1.646.07 4.849s-.012 3.583-.07 4.849c-.062 1.366-.336 2.633-1.311 3.608-.975.975-2.242 1.249-3.608 1.311-1.266.058-1.646.07-4.85.07s-3.584-.012-4.85-.07c-1.366-.062-2.633-.336-3.608-1.311-.975-.975-1.249-2.242-1.311-3.608C2.175 15.583 2.163 15.203 2.163 12s.012-3.583.07-4.849c.062-1.366.336-2.633 1.311-3.608.975-.975 2.242-1.249 3.608-1.311C8.416 2.175 8.796 2.163 12 2.163zm0 1.802c-3.146 0-3.502.012-4.738.068-.973.044-1.503.207-1.856.344-.466.181-.8.398-1.15.748-.35.35-.566.684-.748 1.15-.137.353-.3.882-.344 1.856-.056 1.236-.068 1.592-.068 4.738s.012 3.502.068 4.738c.044.973.207 1.503.344 1.856.181.466.398.8.748 1.15.35.35.684.566 1.15.748.353.137.882.3 1.856.344 1.236.056 1.592.068 4.738.068s3.502-.012 4.738-.068c.973-.044 1.503-.207 1.856-.344.466-.181.8-.398 1.15-.748.35-.35.566-.684.748-1.15.137-.353.3-.882.344-1.856.056-1.236.068-1.592.068-4.738s-.012-3.502-.068-4.738c-.044-.973-.207-1.503-.344-1.856-.181-.466-.398-.8-.748-1.15-.35-.35-.684-.566-1.15-.748-.353-.137-.882-.3-1.856-.344-1.236-.056-1.592-.068-4.738-.068zM12 6.865A5.135 5.135 0 1 0 12 17.135 5.135 5.135 0 0 0 12 6.865zm0 8.468a3.333 3.333 0 1 1 0-6.666 3.333 3.333 0 0 1 0 6.666zm5.338-9.87a1.2 1.2 0 1 0 0 2.4 1.2 1.2 0 0 0 0-2.4z'/></svg>");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
}
/* In contexts where the icon must inherit color (white on dark badge), opt out via .force-currentcolor */
.force-currentcolor .lni-instagram::before,
.force-currentcolor .lni-instagram-fill::before,
.force-currentcolor .lni-instagram-original::before,
.force-currentcolor .lni-instagram-filled::before {
    background: currentColor !important;
}

/* ───── Threads (Meta) ─────
   New utility class — usable as `<i class="lni lni-threads"></i>`. */
.lni-threads::before {
    content: '' !important;
    display: inline-block;
    width: 1em;
    height: 1em;
    vertical-align: -0.125em;
    background-color: currentColor;
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 192 192'><path d='M141.537 88.988a66.667 66.667 0 0 0-2.518-1.143c-1.482-27.307-16.403-42.94-41.457-43.1h-.34c-14.986 0-27.449 6.396-35.12 18.036l13.779 9.452c5.73-8.695 14.724-10.548 21.348-10.548h.229c8.249.053 14.474 2.452 18.503 7.129 2.932 3.405 4.892 8.111 5.864 14.05-7.327-1.246-15.253-1.63-23.733-1.144-23.892 1.375-39.255 15.31-38.224 34.673.523 9.823 5.408 18.273 13.755 23.792 7.057 4.666 16.142 6.947 25.621 6.422 12.524-.687 22.349-5.466 29.211-14.213 5.214-6.646 8.505-15.255 9.967-26.097 6.001 3.626 10.452 8.398 12.911 14.131 4.181 9.75 4.426 25.768-8.66 38.835-11.467 11.456-25.252 16.413-46.085 16.567-23.105-.169-40.578-7.583-51.94-22.04-10.643-13.538-16.142-33.122-16.348-58.197.206-25.075 5.705-44.658 16.348-58.196 11.362-14.458 28.834-21.872 51.94-22.04 23.273.17 41.05 7.621 52.836 22.137 5.78 7.118 10.139 16.07 13.013 26.504l16.578-4.382c-3.485-12.84-8.964-23.913-16.419-33.106C145.272 18.345 124.018 9.18 96.349 9H96.232c-27.612.181-48.621 9.383-62.448 27.348-12.302 15.984-18.647 38.222-18.86 66.092v.139c.213 27.87 6.558 50.108 18.86 66.092 13.827 17.965 34.836 27.167 62.448 27.348h.117c24.555-.161 41.86-6.508 56.115-20.582 18.649-18.4 18.09-41.45 11.945-55.575-4.407-10.131-12.807-18.359-24.276-23.79zm-43.502 23.703c-10.488.588-21.387-4.087-21.924-14.158-.398-7.466 5.317-15.797 22.567-16.78 1.975-.114 3.914-.169 5.818-.169 6.262 0 12.123.605 17.451 1.766-1.987 24.776-13.604 28.793-23.912 29.34z'/></svg>");
    mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 192 192'><path d='M141.537 88.988a66.667 66.667 0 0 0-2.518-1.143c-1.482-27.307-16.403-42.94-41.457-43.1h-.34c-14.986 0-27.449 6.396-35.12 18.036l13.779 9.452c5.73-8.695 14.724-10.548 21.348-10.548h.229c8.249.053 14.474 2.452 18.503 7.129 2.932 3.405 4.892 8.111 5.864 14.05-7.327-1.246-15.253-1.63-23.733-1.144-23.892 1.375-39.255 15.31-38.224 34.673.523 9.823 5.408 18.273 13.755 23.792 7.057 4.666 16.142 6.947 25.621 6.422 12.524-.687 22.349-5.466 29.211-14.213 5.214-6.646 8.505-15.255 9.967-26.097 6.001 3.626 10.452 8.398 12.911 14.131 4.181 9.75 4.426 25.768-8.66 38.835-11.467 11.456-25.252 16.413-46.085 16.567-23.105-.169-40.578-7.583-51.94-22.04-10.643-13.538-16.142-33.122-16.348-58.197.206-25.075 5.705-44.658 16.348-58.196 11.362-14.458 28.834-21.872 51.94-22.04 23.273.17 41.05 7.621 52.836 22.137 5.78 7.118 10.139 16.07 13.013 26.504l16.578-4.382c-3.485-12.84-8.964-23.913-16.419-33.106C145.272 18.345 124.018 9.18 96.349 9H96.232c-27.612.181-48.621 9.383-62.448 27.348-12.302 15.984-18.647 38.222-18.86 66.092v.139c.213 27.87 6.558 50.108 18.86 66.092 13.827 17.965 34.836 27.167 62.448 27.348h.117c24.555-.161 41.86-6.508 56.115-20.582 18.649-18.4 18.09-41.45 11.945-55.575-4.407-10.131-12.807-18.359-24.276-23.79zm-43.502 23.703c-10.488.588-21.387-4.087-21.924-14.158-.398-7.466 5.317-15.797 22.567-16.78 1.975-.114 3.914-.169 5.818-.169 6.262 0 12.123.605 17.451 1.766-1.987 24.776-13.604 28.793-23.912 29.34z'/></svg>");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
}
