/*
 * Advant 2026: blog post template (design/articolo.html, TEMPLATE-BLOG.md point 11).
 * Loaded on posts, the blog and category archives (inc/article.php).
 * The part between PROSE START and PROSE END is also loaded in the block editor,
 * with ".adv-prose" replaced by the editor root.
 */

/* ---------- Header "B": light, text on the left, 4:3 photo on the right ---------- */
.adv-ahero { background: #f3f2f2; padding: 56px 0 80px; overflow: hidden; }
.adv-ahero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.adv-ahero__grid--solo { grid-template-columns: minmax(0, 860px); }
.adv-ahero__text { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.adv-ahero__crumb { margin: 0; font-size: 14px; color: #57524f; }
.adv-ahero__crumb a { color: #57524f; text-decoration: none; }
.adv-ahero__crumb a:hover { color: #b51f19; }
.adv-ahero__crumb [aria-current] { color: #1d1a1b; }
.adv-ahero__title { margin: 0; font-family: "Inter Tight", "Inter", sans-serif; font-weight: 900; letter-spacing: -.035em; font-size: clamp(34px, 3.9vw, 56px); line-height: 1.03; color: #1d1a1b; }
.adv-ahero__sum { margin: 0; font-size: 19px; line-height: 1.55; color: #3b3738; }
.adv-ahero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; font-size: 14px; color: #57524f; }
.adv-ahero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.adv-ahero__ph { position: relative; }
.adv-ahero__ph::before { content: ""; position: absolute; right: -22px; bottom: -22px; width: 46%; height: 52%; border-radius: 28px; background: #b51f19; }
.adv-ahero__ph .adv-frame { aspect-ratio: 4 / 3; border-radius: 28px; box-shadow: 0 30px 60px -36px rgba(29, 26, 27, .38); }

/* Category pill and tags */
.adv-apill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: #fbeceb; color: #b51f19; font-size: 13px; font-weight: 700; line-height: 1.3; text-decoration: none; }
a.adv-apill:hover { background: #b51f19; color: #fff; }
.adv-atag { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px; background: #f3f2f2; color: #3b3738; font-size: 13px; font-weight: 600; text-decoration: none; transition: background-color .2s ease, color .2s ease; }
.adv-atag:hover { background: #fbeceb; color: #b51f19; }
.adv-mono { margin: 0 0 12px; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #57524f; }

/* Photo frames: the frame decides the shape, the photo fills it */
.adv-frame { position: relative; overflow: hidden; background: #dedad7; }
.adv-frame > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.adv-frame--empty { background: #1d1a1b; display: flex; align-items: center; justify-content: center; }
.adv-frame--empty::before { content: ""; position: absolute; right: -30%; top: -40%; width: 90%; height: 150%; background: radial-gradient(circle, rgba(181, 31, 25, .7), rgba(181, 31, 25, 0) 62%); }
.adv-frame--empty::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: linear-gradient(90deg, #ff5a61 0%, #e8433f 45%, #ff8a3c 100%); }
.adv-frame__ico { position: relative; width: 68px; height: 68px; border-radius: 20px; background: #b51f19; color: #fff; display: flex; align-items: center; justify-content: center; transform: rotate(-6deg); }

/* ---------- Body: side column + 720 px text ---------- */
.adv-abody { display: grid; grid-template-columns: 220px minmax(0, 720px) 1fr; gap: 56px; padding: 72px 0 40px; }
.adv-aside { position: sticky; top: calc(var(--header-h, 84px) + 24px); align-self: start; display: flex; flex-direction: column; gap: 28px; }
.admin-bar .adv-aside { top: calc(var(--header-h, 84px) + 56px); }
.adv-toc { display: flex; flex-direction: column; gap: 2px; border-left: 2px solid #ebe8e6; }
.adv-toc a { display: block; padding: 8px 0 8px 16px; margin-left: -2px; border-left: 2px solid transparent; color: #57524f; text-decoration: none; font-size: 14px; line-height: 1.4; transition: color .2s ease, border-color .2s ease; }
.adv-toc a:hover, .adv-toc a.is-on { color: #1d1a1b; border-left-color: #b51f19; }
.adv-share { display: flex; gap: 8px; }
.adv-share a, .adv-share button { position: relative; width: 42px; height: 42px; padding: 0; border-radius: 50%; border: 1px solid #ebe8e6; background: #fff; color: #1d1a1b; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background-color .2s ease, border-color .2s ease, color .2s ease; }
.adv-share a:hover, .adv-share button:hover, .adv-share button.is-done { background: #b51f19; border-color: #b51f19; color: #fff; }
.adv-share svg { width: 18px; height: 18px; }
.adv-share button.is-done::after { content: attr(data-done); position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%); white-space: nowrap; background: #1d1a1b; color: #fff; font-size: 12px; font-weight: 600; padding: 5px 9px; border-radius: 8px; }

/* End of the article: tags and share */
.adv-aend { border-top: 1px solid #ebe8e6; margin-top: 56px !important; padding-top: 28px; display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; }
.adv-aend__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.adv-aend__share { display: flex; align-items: center; gap: 12px; }
.adv-aend__share .adv-mono { margin: 0; }

/* PROSE START */
/* Text of the article: normal editor elements */
.adv-prose { font-size: 18px; line-height: 1.75; color: #3b3738; }
.adv-prose > * { margin-top: 0; margin-bottom: 0; }
.adv-prose > * + * { margin-top: 1.15em; }
.adv-prose > p { color: #3b3738; }
.adv-prose > h2 { font-family: "Inter Tight", "Inter", sans-serif; font-weight: 900; letter-spacing: -.03em; font-size: 34px; line-height: 1.1; color: #1d1a1b; margin-top: 2.1em; scroll-margin-top: calc(var(--header-h, 84px) + 24px); }
.adv-prose > h2:first-child { margin-top: 0; }
.adv-prose > h3 { font-family: "Inter", sans-serif; font-size: 22px; line-height: 1.3; font-weight: 800; letter-spacing: -.01em; color: #1d1a1b; margin-top: 1.8em; }
.adv-prose > h4 { font-size: 18px; line-height: 1.4; font-weight: 800; color: #1d1a1b; margin-top: 1.6em; }
.adv-prose strong, .adv-prose b { color: #1d1a1b; font-weight: 700; }
.adv-prose > p a, .adv-prose > ul:not(.adv-ab) a, .adv-prose > ol:not(.adv-ab) a, .adv-prose figcaption a, .adv-prose td a { color: #b51f19; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.adv-prose > p a:hover, .adv-prose > ul:not(.adv-ab) a:hover, .adv-prose > ol:not(.adv-ab) a:hover { color: #8f150f; }
.adv-prose > ul:not(.adv-ab), .adv-prose > ol:not(.adv-ab) { padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.adv-prose > ul:not(.adv-ab) > li, .adv-prose > ol:not(.adv-ab) > li { position: relative; margin: 0; color: #3b3738; }
.adv-prose > ul:not(.adv-ab) > li { padding-left: 30px; }
.adv-prose > ul:not(.adv-ab) > li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 9px; height: 9px; border-radius: 3px; background: #b51f19; transform: rotate(45deg); }
.adv-prose > ol:not(.adv-ab) { counter-reset: advn; }
.adv-prose > ol:not(.adv-ab) > li { padding-left: 44px; counter-increment: advn; }
.adv-prose > ol:not(.adv-ab) > li::before { content: counter(advn); position: absolute; left: 0; top: .1em; width: 30px; height: 30px; border-radius: 50%; background: #fbeceb; color: #b51f19; font-weight: 800; font-size: 14px; line-height: 1; display: flex; align-items: center; justify-content: center; }
.adv-prose > ul:not(.adv-ab) > li::marker, .adv-prose > ol:not(.adv-ab) > li::marker { content: none; }
.adv-prose > ul:not(.adv-ab) ul, .adv-prose > ol:not(.adv-ab) ol, .adv-prose > ul:not(.adv-ab) ol, .adv-prose > ol:not(.adv-ab) ul { margin-top: 10px; padding-left: 1.2em; }
.adv-prose > blockquote:not([class*="adv-"]), .adv-prose > .wp-block-quote { margin: 2.4em 0; padding: 8px 0 8px 36px; border-left: 4px solid #b51f19; background: none; border-radius: 0; }
.adv-prose > blockquote:not([class*="adv-"]) p, .adv-prose > .wp-block-quote p { margin: 0; font-family: "Inter Tight", "Inter", sans-serif; font-weight: 800; letter-spacing: -.02em; font-size: 26px; line-height: 1.3; color: #1d1a1b; }
.adv-prose > blockquote cite, .adv-prose > .wp-block-quote cite { display: block; margin-top: 14px; font-size: 15px; font-style: normal; color: #57524f; }
/* Image with caption: the frame decides the shape (16:10), the photo fills it */
.adv-prose > figure.wp-block-image, .adv-prose > .wp-block-image { margin: 2em 0; }
.adv-prose > .wp-block-image img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 22px; }
.adv-prose > .wp-block-image figcaption, .adv-prose > figure figcaption { font-size: 14px; line-height: 1.5; color: #57524f; margin: 10px 0 0; text-align: left; }
/* Table */
.adv-prose > .wp-block-table { margin: 2em 0; overflow-x: auto; }
.adv-prose > .wp-block-table table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15px; line-height: 1.5; border: 1px solid #ebe8e6; border-radius: 18px; overflow: hidden; }
.adv-prose > .wp-block-table th { background: #f3f2f2; color: #1d1a1b; text-align: left; font-weight: 700; padding: 14px 16px; border: 0; font-size: 15px; text-transform: none; letter-spacing: 0; }
.adv-prose > .wp-block-table td { padding: 14px 16px; border: 0; border-top: 1px solid #ebe8e6; vertical-align: top; text-align: left; }
.adv-prose > .wp-block-table thead + tbody tr:first-child td { border-top: 1px solid #ebe8e6; }
.adv-prose > .wp-block-table figcaption { font-size: 14px; color: #57524f; margin-top: 10px; }
.adv-prose > .wp-block-separator { border: 0; border-top: 1px solid #ebe8e6; margin: 2.4em 0; }
.adv-prose > .adv-ab, .adv-prose > [data-type^="advant/a-"] { margin-top: 2.2em; margin-bottom: 2.2em; }
.adv-prose > .adv-ab-quote, .adv-prose > [data-type="advant/a-citazione"] { margin-top: 2.4em; margin-bottom: 2.4em; }
.adv-prose > .adv-ab-wide, .adv-prose > [data-type="advant/a-immagine"] { margin-top: 2.6em; margin-bottom: 2.6em; }
/* PROSE END */

@media (max-width: 640px) {
	.adv-prose { font-size: 17px; }
	.adv-prose > h2 { font-size: 28px; }
	.adv-prose > blockquote:not([class*="adv-"]) p, .adv-prose > .wp-block-quote p { font-size: 22px; }
	.adv-prose > blockquote:not([class*="adv-"]), .adv-prose > .wp-block-quote { padding-left: 22px; }
}

/* ---------- Related posts ---------- */
.adv-related { background: #f3f2f2; padding: 88px 0; }
.adv-related__head { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; justify-content: space-between; margin-bottom: 32px; }
.adv-related__head > div { display: flex; flex-direction: column; gap: 14px; }
.adv-related__title { margin: 0; font-family: "Inter Tight", "Inter", sans-serif; font-weight: 900; letter-spacing: -.035em; font-size: clamp(32px, 4vw, 52px); line-height: 1; color: #1d1a1b; }
.adv-btn--ghost { background: #fff; color: #1d1a1b; border: 1px solid #ebe8e6; }
.adv-btn--ghost:hover { background: #fff; color: #1d1a1b; border-color: #1d1a1b; }
.adv-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }

/* Post card */
.adv-pcard { display: flex; flex-direction: column; background: #fff; border-radius: 26px; overflow: hidden; text-decoration: none; color: #1d1a1b; box-shadow: 0 16px 32px -22px rgba(29, 26, 27, .4); transition: transform .25s ease, box-shadow .25s ease; }
.adv-pcard:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -36px rgba(29, 26, 27, .38); color: #1d1a1b; }
.adv-pcard__media { aspect-ratio: 16 / 10; }
.adv-pcard__body { padding: 22px 24px 26px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; flex: 1; }
.adv-pcard__title { margin: 0; font-family: "Inter", sans-serif; font-size: 20px; line-height: 1.3; font-weight: 800; letter-spacing: -.01em; color: #1d1a1b; }
.adv-pcard__excerpt { margin: 0; font-size: 15px; line-height: 1.55; color: #57524f; }
.adv-pcard__meta { margin-top: auto; padding-top: 10px; align-self: stretch; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; color: #57524f; }
.adv-pcard__go { flex: none; width: 38px; height: 38px; border-radius: 50%; background: #f3f2f2; display: flex; align-items: center; justify-content: center; color: #b51f19; transition: background-color .2s ease, color .2s ease; }
.adv-pcard:hover .adv-pcard__go { background: #b51f19; color: #fff; }

/* Closing call to action: same spacing as the design */
.adv-aendcta { padding-top: 88px; padding-bottom: 88px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.adv-abody { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.adv-abody > .adv-prose { max-width: 720px; }
	.adv-aside { position: static; flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: center; }
	.adv-aside__toc { display: none; }
	.adv-aside__share { display: flex; align-items: center; gap: 12px; }
	.adv-aside__share .adv-mono { margin: 0; }
}
@media (max-width: 900px) {
	.adv-ahero__grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
	.adv-cards { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
	.adv-ahero { padding: 36px 0 56px; }
	.adv-ahero__sum { font-size: 17px; }
	.adv-ahero__ph .adv-frame { border-radius: 20px; }
	.adv-ahero__ph::before { right: -10px; bottom: -10px; border-radius: 20px; }
	.adv-abody { padding-top: 40px; }
	.adv-related, .adv-aendcta { padding-top: 56px; padding-bottom: 56px; }
}
@media (prefers-reduced-motion: reduce) {
	.adv-pcard, .adv-pcard:hover { transition: none; transform: none; }
}

/* ---------- Article blocks (blocks/a-*) ---------- */
.adv-ab { font-family: "Inter", system-ui, sans-serif; color: #3b3738; }
.adv-ab p { margin: 0; }
.adv-ab-missing { padding: 16px; border: 2px dashed #d6d1cf; border-radius: 14px; font-size: 15px; }

/* Riquadro in evidenza */
.adv-ab-callout { display: flex; gap: 18px; background: #fbeceb; border-radius: 22px; padding: 26px 28px; }
.adv-ab-callout__ico { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 14px; background: #b51f19; color: #fff; display: flex; align-items: center; justify-content: center; }
.adv-ab-callout__title { margin: 0 0 6px !important; font-size: 17px; font-weight: 700; line-height: 1.4; color: #1d1a1b; }
.adv-ab-callout__text { font-size: 16px; line-height: 1.65; color: #3b3738; }
.adv-ab-callout__text p + p { margin-top: .8em; }
.adv-ab-callout__text strong { color: #1d1a1b; }

/* Citazione grande */
.adv-ab-quote { margin: 0; padding: 8px 0 8px 36px; border-left: 4px solid #b51f19; }
.adv-ab-quote__text { margin: 0; padding: 0; border: 0; background: none; }
.adv-ab-quote__text p { margin: 0; font-family: "Inter Tight", "Inter", sans-serif; font-weight: 800; letter-spacing: -.02em; font-size: 30px; line-height: 1.25; color: #1d1a1b; }
.adv-ab-quote__who { margin-top: 16px; font-size: 15px; line-height: 1.5; color: #57524f; }
.adv-ab-quote__who strong { color: #1d1a1b; font-weight: 700; }

/* Numeri chiave */
.adv-ab-stats__title { margin: 0 0 14px !important; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #b51f19; }
.adv-ab-stats__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.adv-ab-stats--2 .adv-ab-stats__grid, .adv-ab-stats--4 .adv-ab-stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.adv-ab-stat { background: #fff; border: 1px solid #ebe8e6; border-radius: 22px; padding: 22px; box-shadow: 0 16px 32px -22px rgba(29, 26, 27, .4); }
.adv-ab-stat__num { display: block; font-family: "Inter Tight", "Inter", sans-serif; font-weight: 900; letter-spacing: -.05em; font-size: 48px; line-height: 1; color: #1d1a1b; }
.adv-ab-stat__num em { font-style: normal; color: #b51f19; }
.adv-ab-stat__label { display: block; margin-top: 8px; font-size: 14px; line-height: 1.4; color: #57524f; }

/* Immagine a larghezza piena */
.adv-ab-wide { margin: 0; }
.adv-ab-wide__frame { aspect-ratio: 21 / 9; border-radius: 28px; }
.adv-ab-wide__frame > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.adv-ab-wide__cap { display: flex; justify-content: space-between; gap: 16px; margin-top: 12px; font-size: 14px; line-height: 1.5; color: #57524f; }
.adv-ab-wide__cap span:last-child:not(:first-child) { flex: none; }

/* Passaggi numerati */
.adv-ab-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; counter-reset: advstep; }
.adv-ab-step { position: relative; margin: 0; padding: 22px 24px 22px 98px; min-height: 76px; background: #f3f2f2; border-radius: 22px; counter-increment: advstep; }
.adv-ab-step::before { content: counter(advstep, decimal-leading-zero); position: absolute; left: 24px; top: 22px; width: 56px; font-family: "Inter Tight", "Inter", sans-serif; font-weight: 900; font-size: 30px; letter-spacing: -.04em; color: #b51f19; line-height: 1; }
.adv-ab-step__title { margin: 0 0 6px !important; font-size: 18px; font-weight: 700; line-height: 1.35; color: #1d1a1b; }
.adv-ab-step__text { font-size: 16px; line-height: 1.6; color: #3b3738; }
.adv-ab-step__text p + p { margin-top: .6em; }

/* Invito a metà articolo */
.adv-ab-midcta { position: relative; overflow: hidden; background: #1d1a1b; color: #fff; border-radius: 26px; padding: 34px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.adv-ab-midcta::before { content: ""; position: absolute; right: -60px; top: -80px; width: 260px; height: 260px; background: radial-gradient(circle, rgba(181, 31, 25, .55), rgba(181, 31, 25, 0) 65%); pointer-events: none; }
.adv-ab-midcta__text { position: relative; }
.adv-ab-midcta__title { margin: 0 0 6px !important; font-family: "Inter Tight", "Inter", sans-serif; font-weight: 900; font-size: 26px; letter-spacing: -.03em; line-height: 1.1; color: #fff; }
.adv-ab-midcta__sub { font-size: 16px; line-height: 1.55; color: rgba(247, 243, 239, .78); max-width: 28em; }
.adv-ab-midcta .adv-btn { position: relative; color: #fff; text-decoration: none; }

/* Rimando a una soluzione */
.adv-ab-sol { display: grid; grid-template-columns: 72px 1fr auto; gap: 20px; align-items: center; text-decoration: none; color: #1d1a1b; background: #fff; border: 1px solid #ebe8e6; border-radius: 22px; padding: 20px 22px; box-shadow: 0 16px 32px -22px rgba(29, 26, 27, .4); transition: transform .25s ease, box-shadow .25s ease; }
.adv-ab-sol:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -36px rgba(29, 26, 27, .38); color: #1d1a1b; }
.adv-ab-sol__tile { width: 72px; height: 72px; border-radius: 20px; background: #b51f19; color: #fff; display: flex; align-items: center; justify-content: center; transform: rotate(-6deg); }
.adv-ab-sol__body { display: block; }
.adv-ab-sol__body small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #b51f19; }
.adv-ab-sol__body strong { display: block; margin: 4px 0; font-size: 19px; line-height: 1.3; color: #1d1a1b; }
.adv-ab-sol__body span { display: block; font-size: 15px; line-height: 1.5; color: #57524f; }
.adv-ab-sol__go { width: 46px; height: 46px; border-radius: 50%; background: #f3f2f2; display: flex; align-items: center; justify-content: center; color: #b51f19; transition: background-color .2s ease, color .2s ease; }
.adv-ab-sol:hover .adv-ab-sol__go { background: #b51f19; color: #fff; }

/* Prima e dopo */
.adv-ab-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.adv-ab-compare__col { border-radius: 22px; padding: 22px 24px; background: #f3f2f2; }
.adv-ab-compare__col--after { background: #fbeceb; }
.adv-ab-compare__title { margin: 0 0 10px !important; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #1d1a1b; }
.adv-ab-compare__col--after .adv-ab-compare__title { color: #b51f19; }
.adv-ab-compare ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 16px; line-height: 1.5; }
.adv-ab-compare li { margin: 0; padding: 0; color: #3b3738; }
.adv-ab-compare li::before { content: none; }

@media (max-width: 900px) {
	.adv-ab-stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.adv-ab-compare { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	.adv-ab-quote { padding-left: 22px; }
	.adv-ab-quote__text p { font-size: 24px; }
	.adv-ab-stats__grid, .adv-ab-stats--2 .adv-ab-stats__grid, .adv-ab-stats--4 .adv-ab-stats__grid { grid-template-columns: 1fr; }
	.adv-ab-stat__num { font-size: 42px; }
	.adv-ab-wide__frame { aspect-ratio: 4 / 3; border-radius: 20px; }
	.adv-ab-step { padding: 22px 24px; }
	.adv-ab-step::before { position: static; display: block; margin-bottom: 8px; }
	.adv-ab-sol { grid-template-columns: 56px 1fr; }
	.adv-ab-sol__tile { width: 56px; height: 56px; }
	.adv-ab-sol__go { display: none; }
	.adv-ab-callout { flex-direction: column; gap: 12px; padding: 22px; }
	.adv-ab-midcta { padding: 28px 24px; }
}
@media (prefers-reduced-motion: reduce) {
	.adv-ab-sol, .adv-ab-sol:hover { transition: none; transform: none; }
}

/* ---------- Case study: project sheet (design/caso-studio.html, .facts) ---------- */
.adv-facts { display: grid; grid-template-columns: 1fr 1fr 1.6fr; margin-top: 48px; background: #fff; border: 1px solid #ebe8e6; border-radius: 24px; box-shadow: 0 16px 32px -22px rgba(29, 26, 27, .4); overflow: hidden; }
.adv-facts > div { padding: 22px 26px; display: flex; flex-direction: column; gap: 10px; }
.adv-facts > div + div { border-left: 1px solid #ebe8e6; }
.adv-facts__label { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #57524f; }
.adv-facts strong { font-size: 18px; line-height: 1.3; color: #1d1a1b; }
.adv-facts__area { display: flex; align-items: center; gap: 12px; }
.adv-facts__tile { width: 40px; height: 40px; border-radius: 12px; background: #b51f19; color: #fff; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.adv-facts__techs { display: flex; flex-wrap: wrap; gap: 8px; }
.adv-facts__tech { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 12px; background: #f3f2f2; font-size: 14px; font-weight: 600; line-height: 1.3; color: #1d1a1b; }
.adv-facts__tech::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: #b51f19; transform: rotate(45deg); flex: none; }
.adv-facts-wrap + .adv-wrap .adv-abody { padding-top: 56px; }

/* Il cliente (blocks/a-cliente) */
.adv-ab-client { display: flex; gap: 16px; align-items: flex-start; background: #f3f2f2; border-radius: 22px; padding: 22px 24px; }
.adv-ab-client__ico { width: 44px; height: 44px; border-radius: 14px; background: #fff; color: #b51f19; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.adv-ab-client__title { font-size: 17px; font-weight: 700; line-height: 1.4; color: #1d1a1b; }
.adv-ab-client__text { margin-top: 4px; font-size: 16px; line-height: 1.6; color: #3b3738; }
.adv-ab-client__text p + p { margin-top: .6em; }

@media (max-width: 900px) {
	.adv-facts { grid-template-columns: 1fr 1fr; }
	.adv-facts > div:last-child { grid-column: 1 / -1; border-left: 0; border-top: 1px solid #ebe8e6; }
}
@media (max-width: 640px) {
	.adv-facts { grid-template-columns: 1fr; margin-top: 32px; }
	.adv-facts > div + div { border-left: 0; border-top: 1px solid #ebe8e6; }
	.adv-ab-client { padding: 20px; }
}

/* ---------- Job posting (single-advant_job.php, design/annuncio.html) ---------- */
.adv-jhero { position: relative; background: #f3f2f2; overflow: hidden; padding: 56px 0 72px; }
.adv-jhero::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 22%; background: #b51f19; clip-path: polygon(58% 0, 100% 0, 100% 100%, 0 100%); }
.adv-jhero__inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.adv-jhero__title { margin: 0; max-width: 13em; font-family: "Inter Tight", "Inter", sans-serif; font-weight: 900; letter-spacing: -.035em; font-size: clamp(40px, 5.4vw, 76px); line-height: 1; color: #1d1a1b; }
.adv-jchips { display: flex; flex-wrap: wrap; gap: 10px; }
.adv-jchip { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 12px; border-radius: 14px; background: #fff; box-shadow: 0 16px 32px -22px rgba(29, 26, 27, .4); font-size: 15px; font-weight: 600; line-height: 1.3; color: #1d1a1b; }
.adv-jchip__i { width: 30px; height: 30px; border-radius: 9px; background: #fbeceb; color: #b51f19; display: flex; align-items: center; justify-content: center; flex: none; }
.adv-jchip small { display: block; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: #57524f; font-weight: 600; }
.adv-jhero__actions { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; margin-top: 6px; }
.adv-jhero__date { font-size: 14px; color: #57524f; }

.adv-jgrid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 64px; padding: 72px 0 24px; }
.adv-jmain { display: flex; flex-direction: column; gap: 56px; min-width: 0; }
.adv-jsec__title { margin: 0 0 18px; font-family: "Inter Tight", "Inter", sans-serif; font-weight: 900; letter-spacing: -.035em; font-size: 32px; line-height: 1.1; color: #1d1a1b; }
.adv-jsec__body { font-size: 18px; line-height: 1.75; color: #3b3738; }
.adv-jsec__body > * { margin: 0; }
.adv-jsec__body > * + * { margin-top: 1em; }
.adv-jsec__body strong, .adv-jsec__body b { color: #1d1a1b; }
.adv-jsec__body a { color: #b51f19; text-decoration: underline; text-underline-offset: 3px; }
.adv-jsec__body h3, .adv-jsec__body h4 { font-size: 19px; line-height: 1.35; font-weight: 800; color: #1d1a1b; margin-top: 1.6em; }
.adv-jsec__body ul, .adv-jsec__body ol { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 17px; line-height: 1.6; }
.adv-jsec__body li { position: relative; padding-left: 36px; margin: 0; }
.adv-jsec__body ul > li::before { content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 7px; background: #fbeceb url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b51f19' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 13px no-repeat; }
.adv-jsec__body ol { counter-reset: advjn; }
.adv-jsec__body ol > li { counter-increment: advjn; }
.adv-jsec__body ol > li::before { content: counter(advjn); position: absolute; left: 0; top: .05em; width: 26px; height: 26px; border-radius: 50%; background: #fbeceb; color: #b51f19; font-weight: 800; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.adv-jreq { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.adv-jreq > div { border-radius: 22px; padding: 24px; }
.adv-jreq > div:first-child { background: #f3f2f2; }
.adv-jreq > div:last-child { border: 1px dashed #d3cdc9; }
.adv-jreq__title { margin: 0 0 14px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #1d1a1b; }
.adv-jreq > div:first-child .adv-jreq__title { color: #b51f19; }
.adv-jreq .adv-jsec__body { font-size: 16px; }
.adv-jreq .adv-jsec__body ul { font-size: 16px; }
.adv-jnotes { margin: 0; padding: 18px 22px; border-radius: 18px; background: #f3f2f2; font-size: 15px; line-height: 1.6; color: #3b3738; }

.adv-jside { position: sticky; top: calc(var(--header-h, 84px) + 24px); align-self: start; display: flex; flex-direction: column; gap: 16px; }
.admin-bar .adv-jside { top: calc(var(--header-h, 84px) + 56px); }
.adv-jsum { position: relative; overflow: hidden; background: #1d1a1b; color: #fff; border-radius: 28px; padding: 28px; }
.adv-jsum::before { content: ""; position: absolute; right: -80px; top: -90px; width: 240px; height: 240px; background: radial-gradient(circle, rgba(181, 31, 25, .6), rgba(181, 31, 25, 0) 65%); pointer-events: none; }
.adv-jsum > * { position: relative; }
.adv-jsum__title { margin: 0 0 18px; font-family: "Inter Tight", "Inter", sans-serif; font-weight: 900; font-size: 22px; letter-spacing: -.02em; line-height: 1.2; color: #fff; }
.adv-jsum dl { margin: 0 0 22px; display: flex; flex-direction: column; font-size: 15px; line-height: 1.45; }
.adv-jsum dt { color: rgba(247, 243, 239, .6); font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.adv-jsum dt:not(:first-child) { margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .1); }
.adv-jsum dd { margin: 4px 0 0; font-weight: 600; color: #fff; }
.adv-jsum .adv-btn { width: 100%; justify-content: center; }
.adv-jshare { background: #f3f2f2; border-radius: 22px; padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.adv-jshare .adv-mono { margin: 0; }

/* Application form of Advant Suite, restyled */
.adv-japply { background: #f3f2f2; padding: 96px 0; margin-top: 72px; scroll-margin-top: var(--header-h, 84px); }
.adv-japply__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.adv-japply__title { margin: 16px 0 14px; font-family: "Inter Tight", "Inter", sans-serif; font-weight: 900; letter-spacing: -.035em; font-size: clamp(34px, 4vw, 56px); line-height: 1; color: #1d1a1b; }
.adv-japply__intro p:not(.adv-eyebrow) { margin: 0 0 14px; font-size: 17px; line-height: 1.65; color: #3b3738; }
.adv-japply__form .as-apply { margin: 0; }
.adv-japply__form .as-card { background: #fff; border: 0; border-radius: 30px; padding: 40px; box-shadow: 0 30px 60px -36px rgba(29, 26, 27, .38); }
.adv-japply__form .as-card__head { margin-bottom: 22px; }
.adv-japply__form .as-card__head h3 { margin: 0; font-size: 20px; font-weight: 800; color: #1d1a1b; }
.adv-japply__form .as-card__head .as-muted { margin: 4px 0 0; font-size: 15px; color: #57524f; }
.adv-japply__form .as-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; margin-bottom: 18px; }
.adv-japply__form .as-field { display: flex; flex-direction: column; gap: 8px; margin: 0 0 18px; }
.adv-japply__form .as-grid .as-field { margin: 0; }
.adv-japply__form .as-field label { font-size: 14px; font-weight: 700; color: #1d1a1b; }
.adv-japply__form .as-req { color: #b51f19; }
.adv-japply__form input[type="text"], .adv-japply__form input:not([type]), .adv-japply__form input[type="email"], .adv-japply__form input[type="tel"], .adv-japply__form input[type="url"], .adv-japply__form select, .adv-japply__form textarea { font: inherit; font-size: 16px; color: #1d1a1b; background: #fff; border: 1px solid #dcd7d4; border-radius: 14px; height: 52px; padding: 0 16px; width: 100%; box-shadow: none; transition: border-color .2s ease, box-shadow .2s ease; }
.adv-japply__form textarea { height: 140px; padding: 14px 16px; resize: vertical; line-height: 1.55; }
.adv-japply__form input:focus, .adv-japply__form select:focus, .adv-japply__form textarea:focus { outline: 0; border-color: #b51f19; box-shadow: 0 0 0 4px rgba(181, 31, 25, .12); }
.adv-japply__form .as-file input[type="file"] { border: 1.5px dashed #cfc8c4; border-radius: 20px; padding: 22px; background: #f3f2f2; font-size: 15px; cursor: pointer; width: 100%; }
.adv-japply__form .as-file input[type="file"]:hover { border-color: #b51f19; background: #fbeceb; }
.adv-japply__form .as-file input[type="file"]::file-selector-button { margin-right: 14px; border: 0; border-radius: 999px; padding: 10px 18px; background: #fff; color: #b51f19; font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; box-shadow: 0 8px 18px -12px rgba(29, 26, 27, .5); }
.adv-japply__form .as-help { margin: 0; font-size: 13px; color: #57524f; }
.adv-japply__form .as-check { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 14px; font-size: 14px; line-height: 1.55; color: #3b3738; cursor: pointer; }
.adv-japply__form .as-check input { appearance: none; -webkit-appearance: none; flex: 0 0 auto; width: 22px; height: 22px; margin: 1px 0 0; border: 1.5px solid #cfc8c4; border-radius: 7px; background: #fff; cursor: pointer; }
.adv-japply__form .as-check input:checked { background: #b51f19 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 14px no-repeat; border-color: #b51f19; }
.adv-japply__form .as-check a { color: #b51f19; }
.adv-japply__form .as-actions { margin-top: 8px; }
.adv-japply__form .as-btn--primary { display: inline-flex; align-items: center; gap: 10px; border: 0; cursor: pointer; background: #b51f19; color: #fff; border-radius: 999px; padding: 16px 28px; font: inherit; font-weight: 700; font-size: 16px; transition: background-color .2s ease, transform .2s ease; }
.adv-japply__form .as-btn--primary:hover { background: #8f150f; transform: translateY(-2px); }
.adv-japply__form .as-card--success { text-align: center; }

.adv-jothers { padding: 88px 0 0; }
.adv-jcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.adv-jcard { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; background: #fff; border: 1px solid #ebe8e6; border-radius: 24px; padding: 24px; text-decoration: none; color: #1d1a1b; box-shadow: 0 16px 32px -22px rgba(29, 26, 27, .4); transition: transform .25s ease, box-shadow .25s ease; }
.adv-jcard:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -36px rgba(29, 26, 27, .38); color: #1d1a1b; }
.adv-jcard__title { margin: 0; font-size: 20px; line-height: 1.25; font-weight: 800; color: #1d1a1b; }
.adv-jcard__meta { display: flex; flex-wrap: wrap; gap: 6px; }
.adv-jcard .adv-pcard__go { margin-top: auto; align-self: flex-end; }
.adv-jcard:hover .adv-pcard__go { background: #b51f19; color: #fff; }

@media (max-width: 1100px) {
	.adv-jgrid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
	.adv-jside { position: static; }
	.adv-japply__grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 900px) {
	.adv-jhero::after { top: auto; left: 0; width: 100%; height: 90px; clip-path: polygon(0 70%, 100% 0, 100% 100%, 0 100%); }
	.adv-jhero { padding-bottom: 110px; }
	.adv-jreq, .adv-jcards { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	.adv-jhero { padding-top: 36px; }
	.adv-jchip { font-size: 14px; }
	.adv-jsec__title { font-size: 26px; }
	.adv-jsec__body { font-size: 17px; }
	.adv-jgrid { padding-top: 48px; }
	.adv-japply { padding: 56px 0; }
	.adv-japply__form .as-card { padding: 24px 18px; border-radius: 24px; }
	.adv-japply__form .as-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
	.adv-jcard, .adv-jcard:hover { transition: none; transform: none; }
}

/* ---------- Career Path "The Newbie Journey" (template-parts/career-path.php) ---------- */
.adv-jsum__career { display: block; margin-top: 14px; text-align: center; font-size: 14px; font-weight: 600; color: rgba(247, 243, 239, .8); text-decoration: underline; text-underline-offset: 3px; }
.adv-jsum__career:hover { color: #fff; }
.adv-career { padding: 96px 0; margin-top: 72px; scroll-margin-top: var(--header-h, 84px); }
.adv-japply--after-career { margin-top: 0; }
.adv-career__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; margin-bottom: 48px; }
.adv-career__head > div { display: flex; flex-direction: column; gap: 14px; }
.adv-career__title { margin: 0; font-family: "Inter Tight", "Inter", sans-serif; font-weight: 900; letter-spacing: -.035em; font-size: clamp(36px, 4.6vw, 64px); line-height: 1; color: #1d1a1b; }
.adv-career__lead { margin: 0; font-size: 19px; line-height: 1.6; color: #3b3738; max-width: 30em; }
.adv-career__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: advcareer; }
.adv-career__step { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 12px; background: #fff; border: 1px solid #ebe8e6; border-radius: 24px; padding: 28px 26px; box-shadow: 0 16px 32px -22px rgba(29, 26, 27, .4); counter-increment: advcareer; transition: transform .25s ease, box-shadow .25s ease; }
.adv-career__step:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -36px rgba(29, 26, 27, .38); }
.adv-career__step::after { content: counter(advcareer, decimal-leading-zero); position: absolute; right: -6px; top: -14px; font-family: "Inter Tight", "Inter", sans-serif; font-weight: 900; font-size: 88px; letter-spacing: -.06em; line-height: 1; color: #f3f2f2; pointer-events: none; }
.adv-career__ico { position: relative; z-index: 1; width: 52px; height: 52px; border-radius: 16px; background: #b51f19; color: #fff; display: flex; align-items: center; justify-content: center; transform: rotate(-6deg); }
.adv-career__step-title { position: relative; z-index: 1; margin: 6px 0 0; font-size: 19px; line-height: 1.3; font-weight: 800; color: #1d1a1b; }
.adv-career__step-text { position: relative; z-index: 1; margin: 0; font-size: 15px; line-height: 1.6; color: #57524f; }
.adv-career__go { position: relative; overflow: hidden; margin-top: 16px; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px 56px; align-items: center; background: #1d1a1b; color: #fff; border-radius: 28px; padding: 40px; }
.adv-career__go::before { content: ""; position: absolute; right: -90px; top: -110px; width: 320px; height: 320px; background: radial-gradient(circle, rgba(181, 31, 25, .6), rgba(181, 31, 25, 0) 65%); pointer-events: none; }
.adv-career__go > * { position: relative; }
.adv-career__stages { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.adv-career__stage { position: relative; display: flex; flex-direction: column; gap: 6px; }
.adv-career__stage:not(:last-child)::after { content: ""; position: absolute; left: 60px; right: -4px; top: 24px; height: 2px; background: linear-gradient(90deg, #ff5a61 0%, #e8433f 45%, #ff8a3c 100%); opacity: .7; }
.adv-career__dot { width: 48px; height: 48px; border-radius: 50%; background: #b51f19; color: #fff; display: flex; align-items: center; justify-content: center; margin-bottom: 8px; box-shadow: 0 0 0 6px rgba(181, 31, 25, .25); }
.adv-career__stage:last-child .adv-career__dot { background: #fff; color: #b51f19; }
.adv-career__stage strong { font-size: 17px; font-weight: 800; line-height: 1.25; color: #fff; }
.adv-career__stage span:not(.adv-career__dot) { font-size: 14px; color: rgba(247, 243, 239, .7); }
.adv-career__ready-title { margin: 0 0 8px; font-family: "Inter Tight", "Inter", sans-serif; font-weight: 900; letter-spacing: -.03em; font-size: clamp(28px, 3vw, 40px); line-height: 1.05; background: linear-gradient(90deg, #ff5a61 0%, #e8433f 45%, #ff8a3c 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .1em; }
.adv-career__ready p:not(.adv-career__ready-title) { margin: 0; font-size: 16px; line-height: 1.6; color: rgba(247, 243, 239, .8); }

@media (max-width: 1000px) {
	.adv-career__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.adv-career__go { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
	.adv-career__head { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	.adv-career { padding: 56px 0; }
	.adv-career__steps { grid-template-columns: 1fr; }
	.adv-career__go { padding: 28px 22px; }
	.adv-career__stages { grid-template-columns: 1fr; gap: 18px; }
	.adv-career__stage { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 14px; }
	.adv-career__stage .adv-career__dot { margin: 0; }
	.adv-career__stage span:not(.adv-career__dot) { flex-basis: 100%; padding-left: 62px; margin-top: -6px; }
	.adv-career__stage:not(:last-child)::after { left: 23px; right: auto; top: 54px; width: 2px; height: 18px; }
}
@media (prefers-reduced-motion: reduce) {
	.adv-career__step, .adv-career__step:hover { transition: none; transform: none; }
}

/* ---------- Blog list (template-parts/blog-list.php, design/blog.html) ---------- */
.adv-lhero__title { margin: 0; max-width: 12em; font-family: "Inter Tight", "Inter", sans-serif; font-weight: 900; letter-spacing: -.035em; font-size: clamp(42px, 5.6vw, 80px); line-height: 1; color: #1d1a1b; }
.adv-lhero__lead { margin: 0; max-width: 38em; font-size: 20px; line-height: 1.55; color: #3b3738; }
.adv-lfilters { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; padding-top: 56px; }
.adv-lfilters__cats { display: flex; flex-wrap: wrap; gap: 8px; }
.adv-fbtn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; background: #fff; border: 1px solid #ebe8e6; color: #1d1a1b; font-size: 14px; font-weight: 600; line-height: 1.2; text-decoration: none; transition: border-color .2s ease, background-color .2s ease, color .2s ease; }
.adv-fbtn:hover { border-color: #1d1a1b; color: #1d1a1b; }
.adv-fbtn.is-on { background: #1d1a1b; border-color: #1d1a1b; color: #fff; }
.adv-fbtn em { font-style: normal; font-size: 12px; opacity: .6; }
.adv-lsearch { margin-left: auto; display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid #ebe8e6; border-radius: 999px; padding: 0 18px; height: 44px; min-width: 260px; color: #57524f; transition: border-color .2s ease, box-shadow .2s ease; }
.adv-lsearch:focus-within { border-color: #b51f19; box-shadow: 0 0 0 4px rgba(181, 31, 25, .12); }
.adv-lsearch input[type="search"] { flex: 1; min-width: 0; height: 100%; border: 0; padding: 0; background: transparent; font: inherit; font-size: 14px; color: #1d1a1b; outline: 0; box-shadow: none; }
.adv-feat { display: grid; grid-template-columns: 1.25fr 1fr; margin-top: 32px; background: #fff; border-radius: 30px; overflow: hidden; box-shadow: 0 30px 60px -36px rgba(29, 26, 27, .38); text-decoration: none; color: #1d1a1b; transition: transform .25s ease; }
.adv-feat:hover { transform: translateY(-4px); color: #1d1a1b; }
.adv-feat__media { min-height: 440px; }
.adv-feat__body { padding: 44px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; justify-content: center; }
.adv-feat__title { margin: 0; font-family: "Inter Tight", "Inter", sans-serif; font-weight: 900; letter-spacing: -.035em; font-size: clamp(28px, 3vw, 40px); line-height: 1.08; color: #1d1a1b; }
.adv-feat__excerpt { margin: 0; font-size: 17px; line-height: 1.6; color: #57524f; }
.adv-feat__meta { font-size: 14px; color: #57524f; }
.adv-feat__btn { margin-top: 8px; }
.adv-lgrid-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin: 64px 0 24px; }
.adv-lgrid-head__title { margin: 0; font-family: "Inter Tight", "Inter", sans-serif; font-weight: 900; letter-spacing: -.035em; font-size: 32px; line-height: 1; color: #1d1a1b; }
.adv-lgrid-head span { font-size: 14px; color: #57524f; }
.adv-pager { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px; padding: 48px 0 16px; }
.adv-pager .page-numbers { min-width: 46px; height: 46px; padding: 0 14px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; font-size: 15px; text-decoration: none; color: #1d1a1b; background: #fff; border: 1px solid #ebe8e6; transition: border-color .2s ease; }
.adv-pager a.page-numbers:hover { border-color: #1d1a1b; }
.adv-pager .page-numbers.current { background: #b51f19; border-color: #b51f19; color: #fff; }
.adv-pager .page-numbers.dots { border: 0; background: none; min-width: auto; }
.adv-pager .prev svg { transform: rotate(180deg); }
.adv-lempty { margin: 56px 0 0; padding: 40px; border-radius: 28px; background: #f3f2f2; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.adv-lempty p { margin: 0; font-size: 18px; color: #3b3738; }
@media (max-width: 1100px) {
	.adv-lsearch { margin-left: 0; min-width: 0; flex: 1 1 100%; }
}
@media (max-width: 900px) {
	.adv-feat { grid-template-columns: 1fr; }
	.adv-feat__media { min-height: 0; aspect-ratio: 16 / 10; }
	.adv-feat__body { padding: 28px 24px; }
}
@media (max-width: 640px) {
	.adv-lhero__lead { font-size: 17px; }
	.adv-lfilters { padding-top: 36px; }
	.adv-lfilters__cats { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px 6px; scrollbar-width: none; width: calc(100% + 32px); }
	.adv-fbtn { flex: 0 0 auto; }
	.adv-lgrid-head { margin-top: 44px; }
	.adv-lgrid-head__title { font-size: 26px; }
	.adv-pager .prev span, .adv-pager .next span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.adv-feat, .adv-feat:hover { transition: none; transform: none; }
}

/* Job page: form preview in drafts, closed position box (2.10.2) */
.adv-jpreview { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; padding: 14px 18px; border-radius: 16px; background: #fbeceb; color: #8f150f; font-size: 15px; font-weight: 600; line-height: 1.45; }
.adv-jpreview svg { flex: none; }
.adv-jpreview__form { opacity: .85; }
.adv-jpreview__form button, .adv-jpreview__form input, .adv-jpreview__form select, .adv-jpreview__form textarea { cursor: not-allowed; }
.adv-jclosed { background: #fff; border-radius: 30px; padding: 40px; box-shadow: 0 30px 60px -36px rgba(29, 26, 27, .38); display: flex; flex-direction: column; gap: 14px; }
.adv-jclosed__title { margin: 0; font-family: "Inter Tight", "Inter", sans-serif; font-weight: 900; letter-spacing: -.03em; font-size: 28px; line-height: 1.1; color: #1d1a1b; }
.adv-jclosed__text { margin: 0; font-size: 17px; line-height: 1.6; color: #3b3738; }
.adv-jclosed__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.adv-jclosed .adv-casi__btn { display: inline-flex; align-items: center; padding: 14px 24px; border: 2px solid rgba(29, 26, 27, .2); border-radius: 999px; color: #1d1a1b; font-weight: 600; text-decoration: none; }
.adv-jclosed .adv-casi__btn:hover { border-color: #b51f19; background: #b51f19; color: #fff; }
#candidatura-spontanea { scroll-margin-top: calc(var(--header-h, 84px) + 16px); }
@media (max-width: 640px) { .adv-jclosed { padding: 24px 18px; border-radius: 24px; } }
