/* Sana Ibrahim – Size Guide */
.sana-sg-wrap { margin: 14px 0 6px; }
.sana-sg-link {
	display: inline-flex; align-items: center; gap: 8px;
	background: none; border: 0; padding: 0; cursor: pointer;
	color: inherit; font: inherit; font-size: 13px;
	text-transform: uppercase; letter-spacing: .18em;
}
.sana-sg-link span { border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.sana-sg-link:hover, .sana-sg-link:focus { background: none; color: #7d7d7d; }

.sana-sg-modal[hidden] { display: none; }
.sana-sg-modal { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 20px; }
.sana-sg-backdrop { position: absolute; inset: 0; background: rgba(17, 17, 17, .55); }
.sana-sg-dialog {
	position: relative; background: #fff; width: 100%; max-width: 860px; max-height: calc(100vh - 40px);
	overflow-y: auto; padding: 48px 48px 36px; box-shadow: 0 30px 80px rgba(0, 0, 0, .25); outline: none;
}
.sana-sg-close {
	position: absolute; top: 14px; right: 16px; width: 40px; height: 40px; padding: 0;
	background: none; border: 0; font-size: 30px; line-height: 1; color: #111; cursor: pointer;
}
.sana-sg-close:hover, .sana-sg-close:focus { background: none; color: #7d7d7d; }
.sana-sg-title {
	margin: 0 0 24px; font-family: "Red Hat Display", sans-serif; font-weight: 400; font-size: 34px; line-height: 1.1;
}
.sana-sg-content p { margin: 26px 0 12px; font-size: 12px; text-transform: uppercase; letter-spacing: .22em; font-weight: 500; }
.sana-sg-content p:first-child { margin-top: 0; }
.sana-sg-content table { width: 100%; border-collapse: collapse; margin: 0 0 8px; font-size: 14px; }
.sana-sg-content td, .sana-sg-content th { border: 1px solid #e4e3e1; padding: 10px 12px; text-align: center; width: auto !important; }
.sana-sg-content tr:first-child td { background: #f4f3f1; font-weight: 500; }
.sana-sg-content td:first-child { text-align: left; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.sana-sg-content img { display: block; max-width: 100%; height: auto; margin: 0 auto; }
.sana-sg-content .wp-caption { max-width: 100% !important; margin: 0 auto; text-align: center; }
.sana-sg-content .wp-caption-text { margin-top: 10px; font-size: 13px; color: #7d7d7d; }
.sana-sg-note { margin: 22px 0 0; font-size: 13px; color: #7d7d7d; }
body.sana-sg-open { overflow: hidden; }

@media (max-width: 600px) {
	.sana-sg-modal { padding: 0; align-items: flex-end; }
	.sana-sg-dialog { max-height: 92vh; padding: 40px 18px 26px; }
	.sana-sg-content { overflow-x: auto; }
	.sana-sg-content td { padding: 8px 6px; font-size: 13px; }
	.sana-sg-content td:first-child { font-size: 11px; }
}

/* Neutralise theme button styles (e.g. Hello Elementor's bordered buttons). */
button.sana-sg-link, button.sana-sg-link:hover, button.sana-sg-link:focus,
button.sana-sg-close, button.sana-sg-close:hover, button.sana-sg-close:focus {
	border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important;
}
button.sana-sg-link { padding: 0 !important; color: #111; }
button.sana-sg-link:hover, button.sana-sg-link:focus-visible { color: #7d7d7d; }
button.sana-sg-close { color: #111; }
button.sana-sg-close:hover, button.sana-sg-close:focus-visible { color: #7d7d7d; }
button.sana-sg-link:focus-visible, button.sana-sg-close:focus-visible { outline: 1px solid #111111 !important; outline-offset: 3px; }
button.sana-sg-close { font-size: 30px !important; line-height: 1 !important; padding: 0 !important; }

/* v2 design */
.sana-sg-title { font-weight: 300; font-size: 26px; letter-spacing: .02em; }
.sana-sg-content p { font-size: 13px; letter-spacing: .1em; font-weight: 400; }
.sana-sg-content tr:first-child td { font-weight: 400; }
.sana-sg-content td:first-child { letter-spacing: 0; text-transform: none; font-size: 13px; }
.sana-sg-dialog { font-family: "Red Hat Display", sans-serif; }
