/* Architecture Studio — local Brown fonts and transparent logo variants. */
@font-face {
  font-family: 'Brown';
  src: url('fonts/Brown-Regular.woff2') format('woff2'), url('fonts/Brown-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Brown';
  src: url('fonts/Brown-Bold.woff2') format('woff2'), url('fonts/Brown-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
/* Legacy generated styles referring to Syne resolve to Brown as well. */
@font-face {
  font-family: 'Syne';
  src: url('fonts/Brown-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Syne';
  src: url('fonts/Brown-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
:root {
  --theme-font-h1_font-family: 'Brown', Arial, sans-serif !important;
  --theme-font-h2_font-family: 'Brown', Arial, sans-serif !important;
  --theme-font-h3_font-family: 'Brown', Arial, sans-serif !important;
  --theme-font-h4_font-family: 'Brown', Arial, sans-serif !important;
  --theme-font-h5_font-family: 'Brown', Arial, sans-serif !important;
  --theme-font-h6_font-family: 'Brown', Arial, sans-serif !important;
  --theme-font-menu_font-family: 'Brown', Arial, sans-serif !important;
  --theme-font-submenu_font-family: 'Brown', Arial, sans-serif !important;
  --theme-font-button_font-family: 'Brown', Arial, sans-serif !important;
  --theme-font-logo_font-family: 'Brown', Arial, sans-serif !important;
  --wp--preset--font-family--h-1-font: 'Brown', Arial, sans-serif !important;
}
h1, h2, h3, h4, h5, h6,
.elementor .elementor-heading-title,
.sc_item_title, .sc_item_subtitle, .sc_layouts_title_caption,
.post_title, .entry-title, .sc_blogger_item_title, .sc_icons_item_title,
.menu_main_nav, .menu_main_nav a, .menu_main_nav .menu-item > a,
.sc_layouts_menu_nav, .sc_layouts_menu_nav a,
.menu_mobile_nav, .menu_mobile_nav a, .menu_mobile .menu-item > a,
.menu_footer_nav, .menu_footer_nav a, .menu_footer_nav_area a,
.sc_button, .sc_button_text, .sc_button_title, .sc_button_subtitle,
.elementor .elementor-button, .elementor-button-text,
button, input[type='button'], input[type='submit'], input[type='reset'] {
  font-family: 'Brown', Arial, sans-serif !important;
}

/* Also handle old cached Elementor markup until its cache is regenerated. */
img[src*='/branding/architecture-studio-logo.jpg'],
img[src*='/logos/architecture-studio-noir.svg'] {
  content: url('logos/architecture-studio-noir-v3.svg');
}
img[src*='/logos/architecture-studio-blanc.svg'] {
  content: url('logos/architecture-studio-blanc-v3.svg');
}
img.gianna-as-logo,
img[src*='/branding/architecture-studio-logo.jpg'],
img[src*='/logos/architecture-studio-noir'],
img[src*='/logos/architecture-studio-blanc'] {
  width: 100%;
  max-width: 360px;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: 1887 / 318;
  object-fit: contain;
  image-rendering: auto !important;
  filter: none !important;
  background: transparent !important;
  box-shadow: none !important;
}
.footer_wrap img.gianna-as-logo,
footer img.gianna-as-logo,
.footer_wrap img[src*='/logos/architecture-studio-'],
footer img[src*='/logos/architecture-studio-'],
.footer_wrap img[src*='/branding/architecture-studio-logo.jpg'],
footer img[src*='/branding/architecture-studio-logo.jpg'],
.menu_mobile .sc_layouts_logo img {
  content: url('logos/architecture-studio-blanc-v3.svg') !important;
  filter: none !important;
}
@media (max-width: 767px) {
  img.gianna-as-logo,
  img[src*='/branding/architecture-studio-logo.jpg'],
  img[src*='/logos/architecture-studio-noir'],
  img[src*='/logos/architecture-studio-blanc'] { max-width: 240px; }
}

/* Keep the side-panel logo inside its column and away from the close button. */
.sc_layouts_panel_menu .elementor-widget-trx_sc_layouts_logo,
.sc_layouts_panel .elementor-widget-trx_sc_layouts_logo {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
}
.sc_layouts_panel_menu .sc_layouts_logo,
.sc_layouts_panel .sc_layouts_logo {
  display: block;
  width: 220px !important;
  min-width: 0 !important;
  max-width: 100% !important;
}
.sc_layouts_panel_menu .sc_layouts_logo img,
.sc_layouts_panel .sc_layouts_logo img {
  display: block;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  height: auto !important;
  object-fit: contain;
}
@media (max-width: 767px) {
  .sc_layouts_panel_menu .sc_layouts_logo,
  .sc_layouts_panel .sc_layouts_logo { width: 180px !important; }
}
