/*
	Created by: Greg Hacic
	Last Update: 27 November 2026 by Greg Hacic
	Questions?: greg@ities.co
	Copyright (c) 2026 Interactive Ties LLC

	Notes:
		- styles for the product strip (incl/2026/product-strip.php)
		- every class starts with "its" so nothing here touches the Porto 4.4.0 theme styles
		- the card hover rule starts with "a." so it outranks Porto 13's a:not(.btn):hover underline
*/
.its { background: #f4f7fa; padding: 56px 0 60px; border-top: 1px solid #e3e8ee; clear: both; }
.its.its-compact { padding: 40px 0 48px; }

.its-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #0088cc; margin-bottom: 6px; }
.its-head { margin-bottom: 28px; max-width: 640px; }
.its-head h2 { font-size: 26px; font-weight: 700; letter-spacing: -.01em; line-height: 1.25; margin: 0 0 8px; color: #1d2a36; }
.its-head p { color: #5f6b7a; margin: 0; }
.its-head-compact h2 { font-size: 16px; font-weight: 700; letter-spacing: 0; line-height: 1.4; margin: 0 0 16px; color: #1d2a36; }

/* equal-height cards: Bootstrap 3 rows are floats, so turn this one into a flex row */
.its-row { display: flex; flex-wrap: wrap; }
.its-row:before, .its-row:after { display: none; }
.its-row > [class*="col-"] { display: flex; margin-bottom: 20px; }
.its-compact .its-row > [class*="col-"] { margin-bottom: 14px; }

.its-card { display: flex; flex-direction: column; width: 100%; background: #fff; border: 1px solid #e3e8ee; border-radius: 12px; padding: 24px;
	color: #1d2a36; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
a.its-card:hover, a.its-card:focus { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(16,42,67,.09); border-color: #c4dbe8; color: #1d2a36; text-decoration: none; }
.its-icon { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 16px; flex: none; }
.its-name { display: block; font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.its-blurb { display: block; color: #5f6b7a; font-size: 14px; line-height: 1.55; flex: 1; margin-bottom: 14px; }
.its-more { font-weight: 600; font-size: 14px; color: #0088cc; }
.its-more .fa, .its-btn .fa { margin-left: 4px; transition: transform .15s ease; }
.its-card:hover .its-more .fa, .its-btn:hover .fa { transform: translateX(3px); }
.its-free { display: inline-block; vertical-align: 2px; margin-left: 6px; font-size: 10px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
	background: #e7f6ec; color: #1f7a3d; border-radius: 20px; padding: 2px 8px; line-height: 1.5; }

/* compact cards: icon on the left, two lines of text */
.its-compact .its-card { flex-direction: row; align-items: flex-start; padding: 14px 16px; border-radius: 10px; }
.its-compact .its-icon { width: 38px; height: 38px; font-size: 17px; margin: 0 14px 0 0; }
.its-text strong { display: block; font-size: 14px; line-height: 1.4; }
.its-text > span { display: block; font-size: 13px; color: #5f6b7a; line-height: 1.45; }

/* one accent colour per product */
.its-acc-currency .its-icon    { background: #e3f5ee; color: #12936b; }
.its-acc-birthdays .its-icon   { background: #fbeae9; color: #d9534f; }
.its-acc-ipranges .its-icon    { background: #e3f2fa; color: #0088cc; }
.its-acc-idconverter .its-icon { background: #eeebfa; color: #6a55c9; }

/* related-tool box (blog posts) */
.its-related { display: flex; background: #fff; border: 1px solid #e3e8ee; border-left: 4px solid #0088cc; border-radius: 10px; overflow: hidden; margin-bottom: 32px; }
.its-related.its-acc-currency    { border-left-color: #12936b; }
.its-related.its-acc-birthdays   { border-left-color: #d9534f; }
.its-related.its-acc-ipranges    { border-left-color: #0088cc; }
.its-related.its-acc-idconverter { border-left-color: #6a55c9; }
.its-related-body { flex: 1 1 58%; padding: 22px 24px; }
.its-related-body h3 { font-size: 20px; font-weight: 700; letter-spacing: -.01em; line-height: 1.3; margin: 0 0 8px; color: #1d2a36; text-transform: none; }
.its-related-body p { color: #5f6b7a; font-size: 14px; margin: 0 0 14px; }
.its-acc-currency .its-eyebrow    { color: #12936b; }
.its-acc-birthdays .its-eyebrow   { color: #d9534f; }
.its-acc-idconverter .its-eyebrow { color: #6a55c9; }
.its-btn { display: inline-block; background: #fff; border: 1px solid #c9d6e2; border-radius: 4px; padding: 6px 12px; font-size: 14px; font-weight: 600; color: #1d2a36; text-decoration: none; } /* styled in full so it also works on Porto 13 pages, where Bootstrap 5 has no btn-default */
.its-btn:hover, .its-btn:focus { border-color: #0088cc; color: #0088cc; background: #fff; text-decoration: none; }
.its-related-shot { flex: 0 1 42%; display: flex; align-items: center; justify-content: center; padding: 16px; background: #eef3f7; }
.its-related-shot img { max-width: 100%; max-height: 220px; border-radius: 6px; box-shadow: 0 6px 18px rgba(16,42,67,.12); }

@media (max-width: 767px) {
	.its-row > [class*="col-"] { width: 100%; } /* phones: Bootstrap 3 gives these columns no width, so in a flex row they'd size to their text and overflow */
	.its { padding: 40px 0; }
	.its-head h2 { font-size: 22px; }
	.its-related { display: block; }
}
