/* Partners page «استانداردها و الزامات همکاری» — Figma 702:3079. Button on the right, the title beside it, the big file icon on the left. */
.wp-block-post-content > .scico-partner-standards { margin-block-start: 0; }

.scico-partner-standards { box-sizing: border-box; margin-block-start: 0; padding: 8px 96px 104px; background: #fff; }
.scico-partner-standards__bar { display: flex; box-sizing: border-box; width: min(100%, var(--partner-standards-contentWidth, 1248px)); align-items: center; gap: 72px; margin-inline: auto; padding: 32px; border-radius: 8px; background: var(--partner-standards-background, #4c504a); }

.scico-partner-standards__text { display: flex; flex: 1 1 auto; min-width: 0; flex-direction: column; gap: 8px; text-align: right; }
.scico-partner-standards__title { margin: 0; color: var(--partner-standards-titleColor, #fff); font-size: var(--partner-standards-titleSize, 22px); font-weight: var(--partner-standards-titleWeight, 700); line-height: 1.4; }
.scico-partner-standards__description { margin: 0; color: var(--partner-standards-textColor, #fff); font-size: var(--partner-standards-textSize, 17px); font-weight: var(--partner-standards-textWeight, 400); line-height: 1.6; }

/* First in the row (rightmost in RTL) while it stays after the text for screen readers and the Tab key. */
.scico-partner-standards__button { display: inline-flex; box-sizing: border-box; flex: 0 0 auto; order: -1; min-height: 56px; align-items: center; justify-content: center; gap: 10px; padding: 0 28px; border: 1px solid var(--partner-standards-buttonBorder, #cecece); border-radius: 8px; background: var(--partner-standards-buttonBackground, #f3efe5); color: var(--partner-standards-buttonColor, #000); font-size: var(--partner-standards-buttonSize, 15px); font-weight: var(--partner-standards-buttonWeight, 500); line-height: 1.4; text-decoration: none; white-space: nowrap; transition: background-color 200ms ease, border-color 200ms ease; }
.scico-partner-standards__button img { display: block; flex: 0 0 auto; max-width: 24px; max-height: 24px; object-fit: contain; transition: transform 200ms ease; }
.scico-partner-standards__button:focus-visible { outline: 2px solid var(--partner-standards-titleColor, #fff); outline-offset: 3px; }

.scico-partner-standards__icon { display: flex; flex: 0 0 64px; width: 64px; height: 64px; align-items: center; justify-content: center; }
.scico-partner-standards__icon img { display: block; max-width: 100%; max-height: 100%; object-fit: contain; }

/* Editor: the button without a document. */
.scico-partner-standards__button.is-empty { border-style: dashed; opacity: .6; }

@media (hover: hover) {
	.scico-partner-standards__button:hover { border-color: #fff; background: #fff; }
	.scico-partner-standards__button:hover img { transform: translateY(2px); }
}

@media (prefers-reduced-motion: reduce) {
	.scico-partner-standards__button,
	.scico-partner-standards__button img { transition: none; }
	.scico-partner-standards__button:hover img { transform: none; }
}

@media (max-width: 1100px) {
	.scico-partner-standards { padding: 0 32px 88px; }
	.scico-partner-standards__bar { gap: 32px; padding: 28px; }
}

/* Narrow: title and icon on one line, the button full width under them. */
@media (max-width: 760px) {
	.scico-partner-standards__bar { flex-wrap: wrap; gap: 20px 16px; }
	.scico-partner-standards__text { flex: 1 1 0; }
	.scico-partner-standards__icon { flex-basis: 48px; width: 48px; height: 48px; }
	.scico-partner-standards__button { flex: 1 1 100%; order: 2; }
}

@media (max-width: 600px) {
	.scico-partner-standards { padding: 0 16px 64px; }
	.scico-partner-standards__bar { padding: 20px; }
	.scico-partner-standards__title { font-size: min(var(--partner-standards-titleSize, 22px), 19px); }
	.scico-partner-standards__description { font-size: min(var(--partner-standards-textSize, 17px), 15px); }
	.scico-partner-standards__icon { flex-basis: 40px; width: 40px; height: 40px; }
	.scico-partner-standards__button { min-height: 52px; }
}
