/*
 * Site-wide corner radius.
 * Change --af-radius in one place to restyle every component:
 *   0 = fully square (current), 2px = the original near-square look, 6px = soft corners.
 * Loaded after the theme's main styles on every page.
 */
:root {
	--af-radius: 0;
	--bs-border-radius: var(--af-radius);
	--bs-border-radius-sm: var(--af-radius);
	--bs-border-radius-lg: var(--af-radius);
}

/* Buttons (Bootstrap sets these to 0 in this theme) */
.btn,
.btn-sm, .btn-group-sm > .btn,
.btn-lg, .btn-group-lg > .btn { --bs-btn-border-radius: var(--af-radius); }
.entry .entry-content .wp-block-button:not(.is-style-squared) .wp-block-button__link,
.wp-block-button__link { border-radius: var(--af-radius); }

/* Form fields: contact form, newsletter, spinners */
.form-control, .form-select,
input[type="text"], input[type="email"], input[type="tel"], input[type="url"],
input[type="number"], input[type="search"], input[type="password"], select, textarea,
.newsletter input[type="submit"], .newsletter button,
.spinner { border-radius: var(--af-radius); }

/* Homepage and landing-page boxes */
.logo-box,
.icon-box .icon,
.icon-btns .icon-btn .btn-content .icon,
.icon-btns .icon-btn:after,
.plan-box,
.accordionjs .acc_section,
.screen-img .full-img img,
.screen-img-feature .full-img img { border-radius: var(--af-radius); }
.accordionjs .acc_section { overflow: hidden; }

/* Footer social and contact icons */
.footer-top .social a,
.footer-top .info a i { border-radius: var(--af-radius); }

/* Homepage "latest articles" cards (content-blog.php) and related-post cards */
.post-item .title .d-flex { border-radius: var(--af-radius); }
.post-item .content { border-radius: 0 0 var(--af-radius) var(--af-radius); }
.post-item .post-img, .post-item .post-img img { border-radius: var(--af-radius) var(--af-radius) 0 0; overflow: hidden; }

/* Left square on purpose: the contact form (its corner-bracket graphics sit on the corners),
   slider arrows and dots (circles), and the mobile menu bars. */
