/* Webdesigns Resource Center */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.wdg-rc-anchor { scroll-margin-top: 110px; }

/* Responsive 3 / 2 / 1 grids */
.wdg-rc-grid, .wdg-rc-steps {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}
.wdg-rc-steps { align-items: start; }
@media (max-width: 1024px) { .wdg-rc-grid, .wdg-rc-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px)  { .wdg-rc-grid, .wdg-rc-steps { grid-template-columns: 1fr; gap: 18px; } }

/* Alternating pale blue / green / cream cards */
.wdg-rc-grid > .e-con:nth-child(3n+1), .wdg-rc-steps > .wdg-rc-step:nth-child(3n+1) { background-color: #EAF6FD; }
.wdg-rc-grid > .e-con:nth-child(3n+2), .wdg-rc-steps > .wdg-rc-step:nth-child(3n+2) { background-color: #EDF7EF; }
.wdg-rc-grid > .e-con:nth-child(3n),   .wdg-rc-steps > .wdg-rc-step:nth-child(3n)   { background-color: #FFF6E8; }

/* Menu cards */
.wdg-rc-card { border-radius: 16px; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; box-shadow: 0 4px 18px rgba(8, 35, 62, .08); position: relative; }
.wdg-rc-card:hover, .wdg-rc-card:focus-within { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(8, 35, 62, .16); }
.wdg-rc-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 25%; display: block; }
.wdg-rc-card .elementor-heading-title a::after { content: ""; position: absolute; inset: 0; } /* whole card clickable */
.wdg-rc-card .elementor-heading-title a:focus-visible { outline: 3px solid #0066FF; outline-offset: 3px; }

/* Resource hero image */
.wdg-rc-hero-img img { width: 100%; max-height: 340px; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 25%; border-radius: 14px; }

/* Step cards */
.wdg-rc-step { border-radius: 14px; padding: 0; box-shadow: 0 2px 10px rgba(8, 35, 62, .06); }
.wdg-rc-step > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 20px 22px; font-weight: 700; font-size: 18px; line-height: 1.3; color: #08233E; border-radius: 14px; }
.wdg-rc-step > summary::-webkit-details-marker { display: none; }
.wdg-rc-step > summary:focus-visible { outline: 3px solid #0066FF; outline-offset: 2px; }
.wdg-rc-step .wdg-rc-num { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; background: #0066FF; color: #fff; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; }
.wdg-rc-step .wdg-rc-ico { flex: 0 0 auto; width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; font-size: 22px; color: #08233E; }
.wdg-rc-step .wdg-rc-ico svg { width: 22px; height: 22px; fill: #08233E; }
.wdg-rc-step .wdg-rc-t { flex: 1 1 auto; text-align: left; }
.wdg-rc-step > summary::after { content: "+"; flex: 0 0 auto; font-size: 24px; font-weight: 400; color: #0066FF; line-height: 1; }
.wdg-rc-step[open] > summary::after { content: "\2212"; }
.wdg-rc-step .wdg-rc-ans { padding: 0 22px 20px 70px; color: #203044; font-size: 16px; line-height: 1.6; }
.wdg-rc-step .wdg-rc-ans p { margin: 0 0 10px; white-space: pre-line; }
@media (max-width: 767px) { .wdg-rc-step .wdg-rc-ans { padding-left: 22px; } }

.wdg-rc-steps button.wdg-rc-copy, .wdg-rc-copy { background: #fff; color: #08233E; border: 1px solid #08233E; border-radius: 6px; padding: 6px 14px; font-size: 14px; font-weight: 700; cursor: pointer; }
.wdg-rc-steps button.wdg-rc-copy:hover, .wdg-rc-steps button.wdg-rc-copy:focus-visible { background: #08233E; color: #fff; }

/* Useful links */
.wdg-rc-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 14px; }
.wdg-rc-links a { display: inline-block; padding: 8px 16px; border: 1px solid #bed2e5; border-radius: 999px; color: #0057D9; text-decoration: none; font-weight: 600; background: #fff; }
.wdg-rc-links a:hover, .wdg-rc-links a:focus-visible { border-color: #0066FF; text-decoration: underline; }

/* Download buttons (full width, red) */
.wdg-rc-download .elementor-button { width: 100%; }
.wdg-rc-download .elementor-button:focus-visible { outline: 3px solid #08233E; outline-offset: 3px; }

/* Dialog */
.wdg-rc-dialog { border: 0; border-radius: 18px; padding: 34px 32px 28px; width: min(520px, calc(100vw - 32px)); color: #08233E; box-shadow: 0 24px 60px rgba(0, 0, 0, .3); font-family: Oxygen, Arial, sans-serif; }
.wdg-rc-dialog::backdrop { background: rgba(8, 35, 62, .6); }
.wdg-rc-dialog h2 { font-size: 24px; line-height: 1.25; margin: 0 0 12px; color: #08233E; }
.wdg-rc-dialog p { font-size: 15px; line-height: 1.55; margin: 0 0 14px; }
.wdg-rc-eyebrow { font-size: 12px !important; font-weight: 700; letter-spacing: .08em; color: #0066FF; margin-bottom: 6px !important; }
.wdg-rc-dialog button.wdg-rc-close { position: absolute; top: 10px; right: 12px; background: transparent; border: 0; font-size: 30px; line-height: 1; color: #08233E; cursor: pointer; padding: 6px 10px; }
.wdg-rc-form label { display: block; font-weight: 700; margin: 6px 0; }
.wdg-rc-form input[type=email] { width: 100%; padding: 12px 14px; font-size: 16px; border: 1px solid #8aa1b8; border-radius: 8px; box-sizing: border-box; }
.wdg-rc-form input[aria-invalid=true] { border-color: #b32d2e; }
.wdg-rc-consent { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 400 !important; font-size: 14px; line-height: 1.45; margin: 16px 0 !important; }
.wdg-rc-consent input { margin-top: 3px; width: 18px; height: 18px; flex: 0 0 auto; }
.wdg-rc-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.wdg-rc-dialog .wdg-rc-primary, .wdg-rc-dialog button.wdg-rc-primary, .wdg-rc-dialog a.wdg-rc-primary { display: block; width: 100%; text-align: center; background: #C8102E; color: #fff !important; border: 0; border-radius: 8px; padding: 15px 20px; font-size: 17px; font-weight: 700; text-decoration: none; cursor: pointer; box-sizing: border-box; }
.wdg-rc-dialog .wdg-rc-primary:hover, .wdg-rc-dialog button.wdg-rc-primary:hover { background: #A50D26; }
.wdg-rc-dialog .wdg-rc-primary:focus-visible, .wdg-rc-dialog .wdg-rc-link:focus-visible, .wdg-rc-dialog .wdg-rc-close:focus-visible { outline: 3px solid #0066FF; outline-offset: 2px; }
.wdg-rc-dialog button.wdg-rc-primary[disabled] { opacity: .65; cursor: wait; }
.wdg-rc-status { min-height: 1.4em; margin-top: 12px !important; font-size: 15px; }
.wdg-rc-status.is-error { color: #b32d2e; font-weight: 700; }
.wdg-rc-small { font-size: 14px !important; text-align: center; }
.wdg-rc-dialog button.wdg-rc-link { background: none; border: 0; padding: 0; color: #0057D9; text-decoration: underline; cursor: pointer; font: inherit; }

.wdg-rc-steps .screen-reader-text, .wdg-rc-links .screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }

.wdg-rc-anchor .elementor-widget-text-editor a { color: #0057D9; text-decoration: underline; }
#get-help .elementor-widget-text-editor a { color: #ffffff !important; }
.wdg-rc-dialog button.wdg-rc-primary, .wdg-rc-dialog button.wdg-rc-close, .wdg-rc-dialog button.wdg-rc-dialog button.wdg-rc-link { border-color: transparent; }
.wdg-rc-dialog button.wdg-rc-primary:hover, .wdg-rc-dialog button.wdg-rc-primary:focus { background: #A50D26; color: #fff; }
.wdg-rc-dialog button.wdg-rc-link, .wdg-rc-dialog button.wdg-rc-link:hover, .wdg-rc-dialog button.wdg-rc-close:hover { background: none; color: #0057D9; }
.wdg-rc-dialog button.wdg-rc-close:hover { color: #08233E; }

.wdg-rc-dialog a { color: #0057D9; }
.wdg-rc-dialog a.wdg-rc-primary { color: #fff; }
