/*
Theme Name: 833 DSCR Loan
Theme URI: https://833dscrloan.com/
Description: Native Gutenberg child theme for the 833 DSCR Loan investor lending site.
Author: MTGFI
Template: twentytwentyfive
Version: 2.4.3.5
Requires at least: 6.7
Requires PHP: 8.1
Text Domain: 833dscrloan
*/

/* WordPress integration for the approved v2.4.3 design. */
.wp-site-blocks { padding:0; min-height:100svh; }
.wp-site-blocks > *, .wp-block-post-content, .wp-block-post-content > * { margin-block-start:0; }
.wp-block-post-content { max-width:none; }
.dscr-native-gutenberg .wp-block-group { margin-block-start:0; }
.dscr-native-gutenberg .wp-block-image { margin:0; }
.dscr-native-gutenberg .dscr-source-icon { width:100%; height:100%; }
.dscr-native-gutenberg :where(a,button,input,select,textarea,summary):focus-visible { outline:3px solid #d6a52d; outline-offset:3px; }
.dscr-native-gutenberg .wp-block-table { margin:0; }
.dscr-native-gutenberg .wp-block-table table { width:100%; }
.dscr-native-gutenberg .mtgfi-native-inline { display:contents; }
.dscr-native-gutenberg [hidden] { display:none!important; }
.dscr-native-gutenberg .bp-icon .dscr-source-icon { width:30px; height:30px; } .dscr-native-gutenberg .dscr-compact-bp-icon .dscr-source-icon { width:25px; height:25px; }

/* Preserve the standalone design defaults against parent theme globals. */
.dscr-native-gutenberg, .editor-styles-wrapper { font-size:16px; }
.hero h1, .media-card h3 { color:inherit; }
.hero h1 { margin:12px 0; }

.license-chip .dscr-source-icon { width:25px; height:25px; flex:0 0 auto; }

/* 833 marketing header only. Quote header, image asset, links and controls stay native.
 * Current mobile width is140px despite free horizontal room. Keep the existing
 * vertical sizing so this change does not alter the menu's vertical offset.
 * Append to 833dscrloan/style.css, already loaded by front end and editor.
 */
@media (max-width: 719px) {
  .site-header .logo-lockup img {
    width: min(205px, calc(100vw - 164px));
    max-width: none;
    object-fit: contain;
  }
}

/* The source's generic .call-step span copy color also matched native numeral spans.
 * Restore dark numerals on the existing green chips: contrast1.73:1 ->6.91:1.
 */
.call-step .num {
  color: #02140c;
  font-weight: 900;
}
