.roi-calc { font-family: 'Open Sans', sans-serif; max-width: 1190px; margin: 0 auto; padding: 20px; }

.calc-title { text-align: center; /* color: #2D72D9; */ }
/* .sub-calc-title { display: none; } */
.inner-calc-title { font-size: 1.5rem; margin-top: 35px; }
p.inner-calc-subtitle { margin-bottom: 20px; font-size: 0.95em; }
.case-value > .inner-calc-title { margin-top: 0; }

.note { background: #F3F7FC; border-left: 5px solid #0A2540; padding: 15px; margin-bottom: 20px; border-radius: 8px; }
.note p:first-of-type { margin-top: 12px; }
.note p:last-of-type { margin-bottom: 12px; }

.card { background: white; border-radius: 12px; padding: 25px; box-shadow: 0 4px 15px rgba(0,0,0,0.1); margin-bottom: 20px; }
h3 { color: #0A2540; margin-bottom: 15px; }
.grid { display: grid; gap: 15px; }
.inputs.grid { grid-template-columns: repeat(6, 1fr); /* grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); */ }
.input-row { display: flex; flex-direction: column; }
.input-row-close { margin-top: 10px; }
.input-row:first-of-type { grid-column: 1 / 4; }
.input-row:nth-of-type(2) { grid-column: 4 / 7; }
.input-row:nth-of-type(3) { grid-column: 1 / 3; }
.input-row:nth-of-type(4) { grid-column: 3 / 5; }
.input-row:nth-of-type(5) { grid-column: 5 / 7; }
.input-row label { font-weight: bold; margin-bottom: 5px; display: flex; align-items: center; gap: 5px; }
.input-row input { padding: 10px; border: 1px solid #ccc; border-radius: 8px; font-size: 16px; }
.static span { padding: 10px; background: #f5f5f5; border-radius: 8px; display: block; }

.results.grid { grid-template-columns: repeat(auto-fit, minmax(49%, 1fr)); gap: 20px; margin-top: 20px; }
.result-box { background: #F5F5F5; padding: 15px; border-radius: 8px; text-align: center; }
/* .result-box:first-of-type { display: none; } */
.result-box p { margin: 0; color: #757575; font-weight: bold; }
.result-box span { font-size: 1.15rem; font-weight: 600; }

.highlight { color: #4A90E2; animation: fadeIn 0.5s; }
.muted { color: #757575; font-size: 0.9em; }

.channels.grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.channel-tile { text-align: center; transition: transform 0.3s; }
.channel-tile:hover { transform: scale(1.05); }
.channel-img { width: 100%; height: 150px; object-fit: cover; margin-bottom: 10px; }
.channels .channel-img { border-radius: 10px; }
.channel-title { margin-block: 10px 20px; font-size: 26px; color: #0A2540; }
.channel-subtitle:first-of-type { margin-bottom: 5px; }
.channel-subtitle:last-of-type { margin-bottom: 18px; font-style: italic; }

.toggles { display: flex; flex-direction: column; gap: 10px; margin: 15px 0; }
.toggles label { display: flex; align-items: center; gap: 5px; text-align: left; cursor: pointer; }
.disabled { opacity: 0.5; }
.comparison p { margin: 5px 0; font-weight: bold; }
.with { color: #4A90E2; }

.tooltip { background: #eee; border-radius: 50%; width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; cursor: help; }
.hint { position: relative; }
.hint-text { display: none; position: absolute; top: 25px; left: -100px; width: 200px; font-weight: 400; background: #333; color: white; padding: 10px; border-radius: 8px; z-index: 10; }
.hint:hover .hint-text { display: block; }
.marketing-roi .tooltip.hint { display: none; } /* channel boost tooltips */

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

@media screen and (max-width: 768px) {
  .roi-calc { padding: 10px; }
  .inputs.grid { grid-template-columns: 1fr; }
  .inputs.grid .input-row { grid-column: auto; }
  .results.grid { grid-template-columns: 1fr; }
  .channel-img { height: 120px; }
  .toggles label { text-align: left; }
}
@media screen and (max-width: 767px) {
  .card { padding: 20px; }
}