/* Akumulatoru atjaunošana (Figma "Raksts" 228:6792 / 230:6984). Builds on tech.css and blog.css. */

.ac-rs-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 13px; line-height: 19px; color: var(--ac-text-2); }
.ac-rs-meta__tag { padding: 3px 8px; border-radius: 6px; background: var(--ac-green-tint); color: var(--ac-green-text); font-weight: 500; line-height: 18px; }
.ac-rs__lead { line-height: 31px; }
.ac-rs__hero { margin: 0; }
/* Two columns: image and text on the left, the contents column spans both rows and stays sticky beside the image. */
@media (min-width: 1024px) {
	.ac-rs__layout { row-gap: 32px; }
	.ac-rs__layout > .ac-rs__hero, .ac-rs__layout > .ac-rs__body { grid-column: 1; }
	.ac-rs__layout > .ac-rs__side { grid-column: 2; grid-row: 1 / span 2; }
}
.ac-rs__img { display: block; width: 100%; height: auto; aspect-ratio: 1600 / 720; object-fit: cover; object-position: 50% 100%; border-radius: 16px; }

.ac-rs__body { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.ac-rs-p { font-size: 18px; line-height: 30px; color: var(--ac-dark); }

.ac-rs-devices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.ac-rs-devices li { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1px solid var(--ac-grey-200); border-radius: 12px; }
.ac-rs-devices .ac-ti-ico { width: 44px; height: 44px; border-radius: 10px; }
.ac-rs-devices li > span:last-child { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: 13px; line-height: 19px; color: var(--ac-text-2); }
.ac-rs-devices strong { font-size: 15px; font-weight: 500; line-height: 23px; color: var(--ac-black); }

.ac-rs-cta { display: flex; align-items: center; gap: 24px; padding: 24px; border-radius: 16px; background: var(--ac-green-tint); }
.ac-rs-cta > div { 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-rs-cta__title { font-size: 20px; font-weight: 600; line-height: 26px; color: var(--ac-black); }
.ac-rs-cta .ac-btn { flex: none; gap: 10px; }

.ac-rs__foot { margin-top: 0 !important; }
.ac-rs__foot .ac-art__share a, .ac-rs__foot .ac-art__share button { min-width: 36px; height: 36px; }
.ac-rs__foot .ac-art__share button { padding-inline: 12px; }

/* Contents: numbers 13/500, items in the body colour */
.ac-rs-toc a { color: var(--ac-dark); }
.ac-rs-toc a.is-active { color: var(--ac-black); }
.ac-rs-toc a > span:first-child { font-size: 13px; font-weight: 500; line-height: 18px; }

/* Lasi arī */
.ac-rs-read { gap: 4px; display: flex; flex-direction: column; }
.ac-rs-read__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ac-rs-read__head a { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 500; line-height: 18px; color: var(--ac-green-text); }
.ac-rs-read ul { display: flex; flex-direction: column; gap: 4px; margin: 0; }
.ac-rs-read li + li { border-top: 0; }
.ac-rs-read li:not(:last-child) { border-bottom: 1px solid var(--ac-grey-200); }
.ac-rs-read .ac-art-read__img { width: 80px; height: 56px; }
.ac-rs-read a > span:nth-child(2) { gap: 4px; }
.ac-rs-read strong { font-size: 14px; font-weight: 600; line-height: 19.6px; }
.ac-rs-read small { font-size: 13px; line-height: 19px; }
.ac-rs-read li a > .ac-icon:last-child { flex: none; color: var(--ac-mid); }

@media (max-width: 1279px) {
	.ac-rs-cta { flex-direction: column; align-items: stretch; }
}
@media (max-width: 1023px) {
	.ac-rs-devices { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 767px) {
	.ac-rs__head { gap: 12px; padding-top: 16px; padding-bottom: 16px; }
	.ac-rs__head .ac-ti__heading { gap: 12px; }
	.ac-rs__head .ac-h1 { font-size: 30px; line-height: 34.5px; letter-spacing: -.02em; }
	.ac-rs__lead { font-size: 16px; line-height: 24px; }
	.ac-rs-meta { gap: 10px; }
	.ac-rs-meta__dot { margin-inline: -6px; }
	.ac-rs__head .ac-ti__author { gap: 10px; }
	.ac-rs__head .ac-ti__avatar { width: 32px; height: 32px; }
	.ac-rs__head .ac-ti__avatar .ac-icon { width: 16px; height: 16px; }
	.ac-rs__head .ac-ti__author > span:last-child { gap: 1px; }
	.ac-rs__head .ac-ti__author strong { font-size: 13px; line-height: 18px; }
	.ac-rs__hero { padding-bottom: 20px; }
	.ac-rs__img { aspect-ratio: auto; height: 220px; border-radius: 14px; }

	.ac-rs-toc.ac-ti-toc--m ol { gap: 2px; }
	.ac-rs__body { gap: 16px; padding-bottom: 24px; }
	.ac-rs-p { font-size: 16px; line-height: 25.6px; }

	.ac-rs-steps li { padding: 14px; gap: 12px; }
	.ac-rs-steps .ac-ti-steps__num { width: 28px; height: 28px; }
	.ac-rs-steps .ac-ti-steps__text { gap: 2px; font-size: 13px; line-height: 19px; }
	.ac-rs-steps .ac-ti-steps__text strong { font-size: 15px; line-height: 23px; }

	.ac-rs-devices { gap: 8px; }
	.ac-rs-devices li { gap: 12px; padding: 12px; }
	.ac-rs-devices .ac-ti-ico { width: 40px; height: 40px; }
	.ac-rs-devices .ac-ti-ico .ac-icon { width: 20px; height: 20px; }

	.ac-rs-cta { gap: 10px; padding: 18px; border-radius: 14px; }
	.ac-rs-cta .ac-btn { width: 100%; }

	.ac-rs-check li { font-size: 16px; line-height: 23px; }

	.ac-rs__foot { flex-direction: column; align-items: flex-start; gap: 12px; padding-top: 16px; }
	.ac-rs__foot .ac-art__tags { gap: 6px; }

	.ac-rs__side .ac-ti-cta { margin-bottom: 24px; gap: 10px; }
	.ac-rs-side-cta__call { gap: 10px; border: 1px solid var(--ac-grey-700); color: var(--ac-white); background: none; }
	.ac-rs-read { padding: 0 0 32px; border: 0; border-radius: 0; }
	.ac-rs-read ul { gap: 0; }
	.ac-rs-read a { gap: 14px; padding: 14px 0; }
	.ac-rs-read .ac-art-read__img { width: 104px; height: 72px; border-radius: 10px; }
	.ac-rs-read a > span:nth-child(2) { gap: 6px; }
}
