/* Page styles for /calculators/ajman-property-roi.html — external so the site CSP (style-src 'self') allows them */
.calc-page { max-width: 760px; margin: 0 auto; padding: 2rem 1.25rem 4rem; }
.calc-page h1 { font-family: 'Fraunces', Georgia, serif; font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 600; line-height: 1.2; margin-bottom: .5rem; }
.calc-page .dek { font-size: 1.05rem; color: #555; margin-bottom: 2rem; }
.calc-card { background: #fff; border: 1px solid #e0e0e0; border-radius: 12px; padding: 1.75rem; margin-bottom: 1.5rem; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.calc-card h2 { font-size: 1.1rem; font-weight: 700; margin: 0 0 1.25rem; color: #1a1a1a; }
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 580px) { .calc-grid { grid-template-columns: 1fr; } }
.calc-field { display: flex; flex-direction: column; gap: .35rem; }
.calc-field label { font-size: .85rem; font-weight: 600; color: #444; }
.calc-field .field-hint { font-size: .78rem; color: #888; }
.calc-field input { border: 1.5px solid #d0d0d0; border-radius: 7px; padding: .55rem .75rem; font-size: 1rem; font-family: inherit; transition: border-color .15s; }
.calc-field input:focus { outline: none; border-color: #c31432; }
.calc-field .input-prefix { position: relative; }
.calc-field .input-prefix span { position: absolute; left: .75rem; top: 50%; transform: translateY(-50%); color: #777; font-size: .95rem; pointer-events: none; }
.calc-field .input-prefix input { padding-left: 2.5rem; }
.calc-results { background: linear-gradient(135deg, #c31432 0%, #8b0e22 100%); color: #fff; border-radius: 12px; padding: 1.75rem; margin-bottom: 1.5rem; }
.calc-results h2 { font-size: 1.1rem; font-weight: 700; margin: 0 0 1.25rem; color: #fff; opacity: .9; }
.results-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (max-width: 480px) { .results-grid { grid-template-columns: 1fr; } }
.result-item { background: rgba(255,255,255,.12); border-radius: 8px; padding: 1rem; }
.result-item .result-label { font-size: .78rem; font-weight: 600; opacity: .8; text-transform: uppercase; letter-spacing: .04em; margin-bottom: .35rem; }
.result-item .result-value { font-size: 1.6rem; font-weight: 700; line-height: 1; }
.result-item .result-sub { font-size: .82rem; opacity: .75; margin-top: .25rem; }
.result-item.result-highlight { background: rgba(255,255,255,.22); }
.calc-btn { width: 100%; background: #c31432; color: #fff; border: none; border-radius: 8px; padding: .85rem 1rem; font-size: 1rem; font-weight: 700; cursor: pointer; font-family: inherit; transition: background .15s; margin-top: 1rem; }
.calc-btn:hover { background: #a01028; }
.calc-disclaimer { font-size: .82rem; color: #888; line-height: 1.5; padding: 1rem 1.25rem; border: 1px solid #ececec; border-radius: 8px; }
.how-it-works { margin-top: 2.5rem; }
.how-it-works h2 { font-family: 'Fraunces', Georgia, serif; font-size: 1.4rem; font-weight: 600; margin-bottom: 1rem; }
.formula-block { background: #f8f8f8; border-left: 3px solid #c31432; border-radius: 0 8px 8px 0; padding: .9rem 1.1rem; font-size: .95rem; margin: 1rem 0; }
.formula-block code { font-family: 'Courier New', monospace; background: none; font-size: .92em; }
.compare-table { width: 100%; border-collapse: collapse; margin: 1.25rem 0; font-size: .92rem; }
.compare-table th, .compare-table td { padding: .6rem .85rem; border-bottom: 1px solid #ececec; text-align: left; }
.compare-table thead th { background: #f5f5f5; font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; }
.compare-table tbody tr:last-child td { border-bottom: none; }
.breadcrumb-nav { font-size: .82rem; color: #888; margin-bottom: 1.5rem; }
.breadcrumb-nav a { color: #888; text-decoration: none; }
.breadcrumb-nav a:hover { color: #c31432; }
.calc-cta { margin-top: 2.5rem; }
.calc-grid-spaced { margin-top: 1rem; }
