/* Blog listing + article (Figma 222:6563, 225:6650, 228:6792, 230:6984). */

.ac-blog__hero { display: flex; flex-direction: column; gap: 24px; padding-top: 24px; padding-bottom: 32px; }
.ac-blog__intro { display: flex; flex-direction: column; gap: 10px; max-width: 900px; }
.ac-blog__intro p { font-size: 18px; line-height: 1.55; color: var(--ac-text-2); }
.ac-blog__filters { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 8px; }
.ac-blog__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ac-blog__search { position: relative; flex: 0 1 360px; }
.ac-blog__search .ac-icon { position: absolute; left: 14px; top: 50%; margin-top: -9px; color: var(--ac-mid); pointer-events: none; }
.ac-blog__search input { width: 100%; height: 44px; padding: 0 14px 0 42px; border: 1px solid var(--ac-grey-300); border-radius: 8px; background: var(--ac-white); font: inherit; font-size: 15px; }
.ac-blog__search input:focus { outline: 0; border-color: var(--ac-black); }

.ac-blog__featured { padding-bottom: 48px; }
.ac-blog__list { display: flex; flex-direction: column; gap: 24px; padding-bottom: 64px; }
.ac-blog__list-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.ac-blog__list-head h2 { font-size: 20px; font-weight: 600; line-height: 1.3; }
.ac-blog__sort { position: relative; }
.ac-blog__sort-btn { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; line-height: 1.4; }
.ac-blog__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.ac-blog__grid .is-new { animation: ac-fade 300ms ease; }
.ac-blog__more { display: flex; flex-direction: column; align-items: center; gap: 12px; padding-top: 24px; }
.ac-blog__more p { font-size: 13px; line-height: 1.45; color: var(--ac-text-2); }
.ac-blog__more .ac-btn { border-color: var(--ac-grey-300); }
.ac-blog__more .ac-btn.is-loading { opacity: .6; pointer-events: none; }

.ac-bcard { position: relative; display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.ac-bcard__media { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #efeff1; }
.ac-bcard__img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms var(--ac-ease-out); }
.ac-bcard:hover .ac-bcard__img { transform: scale(1.03); }
.ac-bcard__ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--ac-mid); }
.ac-bcard__text { display: flex; flex-direction: column; gap: 10px; }
.ac-bcard__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 13px; line-height: 1.45; color: var(--ac-text-2); }
.ac-bcard__tag { padding: 3px 8px; border-radius: 6px; background: var(--ac-light); color: var(--ac-dark); font-size: 13px; font-weight: 500; line-height: 1.4; }
.ac-bcard__tag.is-green { background: var(--ac-green-tint); color: var(--ac-green-text); }
.ac-bcard__tag.is-red { background: #fdecea; color: var(--ac-error); }
.ac-bcard__title { font-size: 20px; font-weight: 600; line-height: 1.3; letter-spacing: -.005em; }
.ac-bcard__title a::after { content: ""; position: absolute; inset: 0; }
.ac-bcard__title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ac-bcard__excerpt { font-size: 15px; line-height: 1.5; color: var(--ac-text-2); }
.ac-bcard__meta-m, .ac-bcard__chev { display: none; }
.ac-art__back { display: inline-flex; align-items: center; gap: 4px; align-self: flex-start; font-size: 13px; line-height: 1.45; color: var(--ac-text-2); }
.ac-bcard__more { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; line-height: 1.4; color: var(--ac-green-text); }
.ac-bcard--featured { display: grid; grid-template-columns: 800px minmax(0, 1fr); gap: 48px; align-items: center; border-radius: 16px; background: var(--ac-light); }
.ac-bcard--featured .ac-bcard__media { aspect-ratio: auto; height: 450px; }
.ac-bcard--featured .ac-bcard__text { gap: 16px; padding-right: 48px; }
.ac-bcard--featured .ac-bcard__title { font-size: 36px; font-weight: 700; line-height: 1.15; letter-spacing: -.02em; }
.ac-bcard--featured .ac-bcard__excerpt { font-size: 18px; line-height: 1.55; }
.ac-bcard__cta { position: relative; z-index: 1; align-self: flex-start; gap: 10px; margin-top: 8px; padding-inline: 24px; height: 52px; }

/* Article */
.ac-art__head { display: flex; flex-direction: column; gap: 24px; padding-top: 24px; padding-bottom: 32px; }
.ac-art__heading { display: flex; flex-direction: column; gap: 16px; max-width: 1040px; }
.ac-art__lead { font-size: 20px; line-height: 1.55; color: var(--ac-text-2); }
.ac-art__author { display: flex; align-items: center; gap: 12px; padding-top: 4px; }
.ac-art__avatar { flex: none; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 999px; background: var(--ac-green); }
.ac-art__author > span:last-child { display: flex; flex-direction: column; gap: 2px; font-size: 13px; line-height: 1.45; color: var(--ac-text-2); }
.ac-art__author strong { font-size: 15px; font-weight: 500; line-height: 1.5; color: var(--ac-black); }
.ac-art__hero { margin: 0 auto; padding-bottom: 48px; }
.ac-art__img { display: block; width: 100%; height: auto; max-height: 720px; object-fit: cover; border-radius: 16px; }
.ac-art__layout { display: grid; grid-template-columns: minmax(0, 1040fr) minmax(0, 512fr); gap: 48px; align-items: start; padding-bottom: 64px; }
.ac-art-toc--m { display: none; }

.ac-art__body { min-width: 0; font-size: 18px; line-height: 1.65; color: var(--ac-dark); }
.ac-art__body > * + * { margin-top: 24px; }
.ac-art__body h2 { margin-top: 48px; font-size: 28px; font-weight: 700; line-height: 1.2; letter-spacing: -.015em; color: var(--ac-black); scroll-margin-top: 24px; }
.ac-art__body h3 { margin-top: 32px; font-size: 22px; font-weight: 600; line-height: 1.3; color: var(--ac-black); }
.ac-art__body h2 + *, .ac-art__body h3 + * { margin-top: 16px; }
.ac-art__body a { color: var(--ac-green-text); text-decoration: underline; text-underline-offset: 3px; word-break: break-word; }
.ac-art__body img { max-width: 100%; height: auto; border-radius: 12px; }
.ac-art__body figure { margin-inline: 0; }
.ac-art__body figcaption { margin-top: 8px; font-size: 13px; color: var(--ac-text-2); }
.ac-art__body strong { font-weight: 600; color: var(--ac-black); }
.ac-art__body blockquote { margin-inline: 0; padding: 20px 24px; border-radius: 16px; background: var(--ac-green-tint); }
.ac-art__body table { width: 100%; border-collapse: collapse; font-size: 15px; }
.ac-art__body th, .ac-art__body td { padding: 10px 12px; border-bottom: 1px solid var(--ac-grey-200); text-align: left; }
.ac-art__body ol:not(.ac-art-steps) { padding-left: 24px; }
.ac-art-list { display: flex; flex-direction: column; gap: 12px; padding: 0; list-style: none; }
.ac-art-list li { position: relative; padding-left: 32px; }
.ac-art-list li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 999px; background: var(--ac-green-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%233d7a00' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") no-repeat center; }
.ac-art-steps { display: flex; flex-direction: column; gap: 12px; padding: 0; list-style: none; }
.ac-art-steps > li { display: flex; gap: 16px; padding: 20px 24px; border-radius: 16px; background: var(--ac-light); }
.ac-art-steps__num { flex: none; display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 999px; background: var(--ac-black); color: var(--ac-white); font-size: 14px; font-weight: 600; }
.ac-art-steps > li > div { display: flex; flex-direction: column; gap: 6px; font-size: 15px; line-height: 1.5; color: var(--ac-text-2); }
.ac-art-steps > li > div > strong { font-size: 20px; font-weight: 600; line-height: 1.3; color: var(--ac-black); }
.ac-art-steps > li p { margin: 0; }
.ac-art__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 48px !important; padding-top: 24px; border-top: 1px solid var(--ac-grey-200); }
.ac-art__tags, .ac-art__share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; line-height: 1.45; color: var(--ac-text-2); }
.ac-art__tags a { padding: 4px 10px; border: 1px solid var(--ac-grey-300); border-radius: 999px; color: var(--ac-black); font-weight: 500; text-decoration: none; }
.ac-art__share a, .ac-art__share button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 32px; height: 32px; padding: 0 8px; border: 1px solid var(--ac-grey-300); border-radius: 8px; color: var(--ac-black); font-size: 13px; font-weight: 500; text-decoration: none; }
.ac-art__share button.is-done { border-color: var(--ac-green-text); color: var(--ac-green-text); }

.ac-art__side { position: sticky; top: calc(24px + var(--ac-adminbar)); display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.ac-art-toc { padding: 16px 20px; border-radius: 16px; background: var(--ac-light); }
.ac-art-toc__head { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; }
.ac-art-toc__head > span { flex: 1 1 auto; display: flex; flex-direction: column; }
.ac-art-toc__head strong { font-size: 20px; font-weight: 600; line-height: 1.3; }
.ac-art-toc__head small { font-size: 12px; line-height: 1.3; color: var(--ac-text-2); }
.ac-art-toc__head .ac-icon:last-child { transition: transform var(--ac-fast) ease; }
.ac-art-toc__head[aria-expanded="false"] .ac-icon:last-child { transform: rotate(180deg); }
.ac-art-toc ol { display: flex; flex-direction: column; gap: 2px; margin: 12px 0 0; padding: 0; list-style: none; }
.ac-art-toc ol[hidden] { display: none; }
.ac-art-toc a { display: flex; gap: 10px; padding: 7px 10px; border-radius: 8px; font-size: 13px; line-height: 1.45; color: var(--ac-dark); transition: background-color var(--ac-fast) ease; }
.ac-art-toc a span { flex: none; color: var(--ac-mid); font-variant-numeric: tabular-nums; }
.ac-art-toc a:hover { background: rgba(255, 255, 255, .7); }
.ac-art-toc a.is-active { background: var(--ac-white); font-weight: 500; color: var(--ac-black); }
.ac-art-toc a.is-active span { color: var(--ac-green-text); }
.ac-art-cta { display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: 16px; background: var(--ac-graphite); color: var(--ac-white); }
.ac-art-cta__eyebrow { font-size: 12px; font-weight: 600; line-height: 1.3; letter-spacing: .06em; color: var(--ac-green); }
.ac-art-cta h2 { font-size: 20px; font-weight: 600; line-height: 1.3; }
.ac-art-cta > p:not([class]) { font-size: 15px; line-height: 1.5; color: var(--ac-on-dark-2); }
.ac-art-cta .ac-btn { gap: 10px; }
.ac-art-cta__phone { display: flex; align-items: center; gap: 8px; padding-top: 4px; font-size: 15px; font-weight: 500; }
.ac-art-cta__phone .ac-icon { color: var(--ac-green); }
.ac-art-cta__trust { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ac-on-dark-2); }
.ac-art-cta__trust .ac-icon { color: var(--ac-green); }
.ac-art-read { padding: 20px 20px 8px; border: 1px solid var(--ac-grey-200); border-radius: 16px; }
.ac-art-read h2 { font-size: 20px; font-weight: 600; line-height: 1.3; }
.ac-art-read ul { margin: 4px 0 0; padding: 0; list-style: none; }
.ac-art-read li + li { border-top: 1px solid var(--ac-grey-200); }
.ac-art-read a { display: flex; align-items: center; gap: 12px; padding: 12px 0; }
.ac-art-read__img { flex: none; display: flex; align-items: center; justify-content: center; width: 72px; height: 48px; border-radius: 8px; overflow: hidden; background: #efeff1; color: var(--ac-mid); }
.ac-art-read__img img { width: 100%; height: 100%; object-fit: cover; }
.ac-art-read a > span:nth-child(2) { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; font-size: 13px; line-height: 1.45; }
.ac-art-read strong { font-weight: 500; line-height: 1.4; }
.ac-art-read small { font-size: 12px; color: var(--ac-text-2); }
.ac-art__more { display: flex; flex-direction: column; gap: 24px; padding-top: 16px; padding-bottom: 96px; }
.ac-art__more .ac-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.ac-art__more .ac-section__heading { display: flex; flex-direction: column; gap: 6px; }
.ac-art__h2 { font-size: 36px; font-weight: 700; line-height: 1.15; letter-spacing: -.02em; }
.ac-pdp__link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; line-height: 1.4; }

@media (max-width: 1279px) {
	.ac-bcard--featured { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
	.ac-bcard--featured .ac-bcard__media { height: 360px; }
	.ac-bcard--featured .ac-bcard__text { padding-right: 32px; }
	.ac-bcard--featured .ac-bcard__title { font-size: 28px; }
	.ac-art__layout { grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; }
}
@media (max-width: 1023px) {
	.ac-blog__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
	.ac-art__layout { grid-template-columns: minmax(0, 1fr); }
	.ac-art__side { position: static; }
	.ac-art__side .ac-art-toc { display: none; }
	.ac-art-toc--m { display: block; }
}
@media (max-width: 767px) {
	.ac-blog__hero { gap: 16px; padding-top: 20px; padding-bottom: 20px; }
	.ac-blog__intro { gap: 8px; }
	.ac-blog__intro .ac-h1 { font-size: 34px; line-height: 37.4px; letter-spacing: -.025em; }
	.ac-blog__intro p { font-size: 16px; line-height: 24px; margin-right: -4px; } /* browser Inter runs ~1% wider than Figma's; keeps the design's two lines */
	.ac-blog__filters { flex-direction: column; align-items: stretch; gap: 12px; padding-top: 0; }
	.ac-blog__search { flex: none; }
	.ac-blog__search input { font-size: 16px; }
	.ac-blog__chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding-inline: 16px; scrollbar-width: none; }
	.ac-blog__chips .ac-choice { flex: none; }
	.ac-blog__featured { padding-bottom: 32px; }
	.ac-bcard--featured { grid-template-columns: minmax(0, 1fr); gap: 16px; background: none; border-radius: 0; }
	.ac-bcard--featured .ac-bcard__media { height: auto; aspect-ratio: 16 / 9; }
	.ac-bcard--featured .ac-bcard__text { gap: 10px; padding: 0; }
	.ac-bcard--featured .ac-bcard__title { font-size: 22px; line-height: 1.25; letter-spacing: -.01em; }
	.ac-bcard--featured .ac-bcard__excerpt { font-size: 15px; line-height: 1.5; }
	.ac-bcard__cta { width: 100%; }
	.ac-blog__list { gap: 16px; padding-bottom: 40px; }
	.ac-blog__grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
	.ac-blog__grid .ac-bcard { flex-direction: row; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--ac-grey-200); }
	.ac-blog__grid .ac-bcard:first-child { padding-top: 0; }
	.ac-blog__grid .ac-bcard__media { flex: none; width: 104px; height: 72px; aspect-ratio: auto; border-radius: 8px; }
	.ac-blog__grid .ac-bcard__ph .ac-icon { width: 20px; height: 20px; }
	.ac-blog__grid .ac-bcard__text { flex: 1 1 auto; min-width: 0; gap: 4px; }
	.ac-blog__grid .ac-bcard__meta, .ac-blog__grid .ac-bcard__excerpt, .ac-blog__grid .ac-bcard__more { display: none; }
	.ac-blog__grid .ac-bcard__meta-m { display: block; font-size: 13px; line-height: 1.45; color: var(--ac-text-2); }
	.ac-blog__grid .ac-bcard__title { font-size: 15px; font-weight: 500; line-height: 1.4; }
	.ac-blog__grid .ac-bcard__chev { display: block; flex: none; color: var(--ac-mid); }
	.ac-blog__more .ac-btn { width: 100%; }
	.ac-art__head { gap: 12px; padding-top: 12px; padding-bottom: 20px; }
	.ac-art__heading { gap: 12px; }
	.ac-art__heading .ac-h1 { font-size: 28px; line-height: 1.15; letter-spacing: -.02em; }
	.ac-art__lead { font-size: 16px; line-height: 1.55; }
	.ac-art__hero { padding-bottom: 24px; }
	.ac-art__layout { gap: 24px; padding-bottom: 40px; }
	.ac-art-toc--m { margin-bottom: -4px; }
	.ac-art__body { font-size: 16px; line-height: 1.6; }
	.ac-art__body > * + * { margin-top: 18px; }
	.ac-art__body h2 { margin-top: 36px; font-size: 22px; }
	.ac-art__body h3 { font-size: 18px; }
	.ac-art-steps > li { gap: 12px; padding: 16px; }
	.ac-art-steps > li > div > strong { font-size: 17px; }
	.ac-art__foot { flex-direction: column; align-items: flex-start; }
	.ac-art__more { padding-bottom: 48px; }
	.ac-art__h2 { font-size: 24px; letter-spacing: -.015em; }
}

/* Google preferred source (Figma 259:7691): card after an article, banner under the blog filters */
.ac-blog__gsrc:has(.ac-gsrc) { padding-bottom: 32px; }
.ac-gsrc { display: flex; align-items: center; gap: 24px; padding: 24px; border-radius: 16px; background: var(--ac-light); }
.ac-gsrc__logo { flex: none; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 1px solid var(--ac-grey-300); border-radius: 999px; background: var(--ac-white); }
.ac-gsrc__logo svg { width: 50%; height: 50%; }
.ac-gsrc__body { flex: 1 1 auto; display: flex; flex-direction: column; gap: 6px; min-width: 0; font-size: 15px; line-height: 23px; color: var(--ac-dark); }
.ac-gsrc__body strong { font-size: 20px; font-weight: 600; line-height: 26px; color: var(--ac-black); }
.ac-gsrc__btn { flex: none; padding-inline: 24px; border: 0; background: var(--ac-white); }
.ac-gsrc__btn:hover { background: var(--ac-white); box-shadow: var(--ac-shadow-sm); }
.ac-gsrc--banner { gap: 16px; padding: 14px 20px; border-radius: 12px; }
.ac-gsrc__head { flex: 1 1 auto; display: flex; align-items: center; gap: 16px; min-width: 0; }
.ac-gsrc--banner .ac-gsrc__logo { width: 32px; height: 32px; }
.ac-gsrc__text { font-size: 15px; font-weight: 500; line-height: 23px; color: var(--ac-dark); }
.ac-gsrc--banner .ac-gsrc__btn { height: 44px; padding-inline: 18px; font-size: 15px; }
.ac-art__body > .ac-gsrc { margin-top: 24px !important; }
@media (max-width: 767px) {
	.ac-blog__hero:has(+ .ac-blog__gsrc .ac-gsrc) { padding-bottom: 8px; }
	.ac-blog__gsrc:has(.ac-gsrc) { padding-bottom: 24px; }
	.ac-gsrc { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; padding: 20px; }
	.ac-gsrc__logo { width: 40px; height: 40px; }
	.ac-gsrc__body { display: contents; }
	.ac-gsrc__body strong { align-self: center; font-size: 18px; line-height: 23px; }
	.ac-gsrc__body > span { grid-column: 1 / -1; }
	.ac-gsrc__btn { grid-column: 1 / -1; width: 100%; }
	.ac-gsrc--banner { display: flex; flex-direction: column; align-items: stretch; gap: 12px; padding: 16px; }
	.ac-gsrc__head { gap: 10px; }
	.ac-gsrc--banner .ac-gsrc__logo { width: 28px; height: 28px; }
	.ac-gsrc__text { font-size: 14px; line-height: 20px; }
}
