/*==================================================================
🎨 MASTER MULTI-GALLERY CARD AND TWO-COLUMN GRID LOCK STYLES
==================================================================*/

/* TWO-COLUMN SPLIT ROW WRAPPERS (INDEX STYLE WITH AUTOMATIC CENTERING) */
.gallery_left_column {
  display: block !important;
  float: left !important;
  width: 540px !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-bottom: 24px !important;
  box-sizing: border-box !important;
}

.gallery_right_column {
  display: block !important;
  float: right !important;
  width: 540px !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-bottom: 24px !important;
  box-sizing: border-box !important;
}

/*==================================================================
 ⏳ SAFE HISTORICAL BACKUP: OLD TWO-COLUMN FLOAT TRACKS (GREYED OUT)
==================================================================*/
/* 
.gallery_left_column { 
  display: block !important; 
  float: left !important; 
  width: 540px !important; 
  max-width: 100% !important; 
  margin-left: auto !important; 
  margin-right: auto !important; 
  margin-bottom: 24px !important; 
  box-sizing: border-box !important; 
} 

.gallery_right_column { 
  display: block !important; 
  float: right !important; 
  width: 540px !important; 
  max-width: 100% !important; 
  margin-left: auto !important; 
  margin-right: auto !important; 
  margin-bottom: 24px !important; 
  box-sizing: border-box !important; 
} 

.mgallery_card { 
  background: linear-gradient(to bottom, #ffffff 0%, #fcfcfc 40%, #f5f5f5 100%) !important; 
  border: 1px solid #dcdcdc !important; 
  border-radius: 4px !important; 
  margin-top: 45px !important; 
  margin-bottom: 24px !important; 
  padding: 15px !important; 
  box-shadow: 0px 6px 16px rgba(0, 0, 0, 0.09), 0px 1px 3px rgba(0, 0, 0, 0.04) !important; 
  box-sizing: border-box !important; 
  width: 100% !important; 
  display: block !important; 
  position: relative !important; 
  clear: none !important; 
} 

.mgallery_card_title { 
  margin: 0 !important; 
  padding: 0 !important; 
  position: absolute !important; 
  top: -22px !important; 
  left: 0px !important; 
  width: 100% !important; 
  text-align: center !important; 
} 

.mgallery_card_title a { 
  font-family: 'Roboto', sans-serif !important; 
  font-size: 14px !important; 
  font-weight: bold !important; 
  text-decoration: none !important; 
  display: inline-block !important; 
  color: #222222 !important; 
} 

.mgallery_card_title a:hover { 
  color: #ed6b0e !important; 
  text-decoration: underline !important; 
} 

.mgallery_image_link { 
  display: block !important; 
  width: 100% !important; 
  overflow: hidden !important; 
  margin-bottom: 12px !important; 
} 

.mgallery_image_link img, .mgallery_img, div.mgallery_card img { 
  width: 100% !important; 
  max-width: 100% !important; 
  height: auto !important; 
  display: block !important; 
  margin: 0 auto !important; 
  border-radius: 2px !important; 
} 

.mgallery_card_text { 
  font-family: 'Roboto', sans-serif !important; 
  font-size: 15px !important; 
  line-height: 1.5 !important; 
  margin: 0 !important; 
  padding: 0 !important; 
  text-align: left !important; 
  color: #333333 !important; 
  display: inline-block !important; 
  width: 100% !important; 
} 
*/


/* FINE ART PLACE CARD BOX CONTAINERS (LIGHT & SOFT GRADIENT THEME) */ 
.mgallery_card { 
  background: linear-gradient(to bottom, #ffffff 0%, #fcfcfc 40%, #f5f5f5 100%) !important; 
  border: 1px solid #dcdcdc !important; 
  border-radius: 4px !important; 
  
  /* 🛠️ THE GRID SPACING FIX: Shrunk from 45px to 20px to eliminate the empty air space gap */
  margin-top: 30px !important; 
  margin-bottom: 24px !important; 
  
  /* CARD CONTAINER RE-PADDING: Set to ZERO padding on top, left, and right sides so images touch the absolute edges */ 
  padding: 0px 0px 20px 0px !important; 
  box-shadow: 0px 6px 16px rgba(0, 0, 0, 0.09), 0px 1px 3px rgba(0, 0, 0, 0.04) !important; 
  box-sizing: border-box !important; 
  width: 100% !important; 
  position: relative !important; 
  clear: none !important; 
  
  /* Clips the top image corners cleanly to match the card border radius */
  overflow: hidden !important; 
  
  /* 🛠️ FLEX POSITION REORDERING ENGINE: FORCES ELEMENTS TO SWAP SPOTS WITHOUT TOUCHING THE HTML */ 
  display: flex !important; 
  flex-direction: column !important; 
}


/* RESPONSIVE FULL-WIDTH IMAGE RE-CONTAINMENT CLAMP */ 
.mgallery_image_link { 
  /* 🛠️ ORDER 1: MOVES THE IMAGE SEAMLESSLY TO THE ABSOLUTE TOP OF THE CARD ROW */
  order: 1 !important; 
  
  display: block !important; 
  width: 100% !important; 
  overflow: hidden !important; 
  margin-top: 0 !important;
  margin-bottom: 18px !important; /* Generous breathing cushion below the full-bleed image before title text loads */
} 

.mgallery_image_link img, .mgallery_img, div.mgallery_card img { 
  width: 100% !important; 
  max-width: 100% !important; 
  height: auto !important; 
  display: block !important; 
  margin: 0 auto !important; 
  border-radius: 0px !important; /* Locks left/right flush to edge walls underneath title */
} 

/* CARD TITLE STYLES (DOWNSCALED AND TIGHTENED UNIFORMLY) */ 
.mgallery_card_title { 
  order: 2 !important; 
  font-family: 'Roboto', sans-serif !important; 
  position: relative !important;       
  top: 0 !important; 
  left: 0 !important; 
  width: 100% !important; 
  text-align: left !important;         
  box-sizing: border-box !important;
  padding: 0 15px !important;          
  
  /* 🛠️ THE MARGIN UPDATE: Drops the gap down to 6px to keep text tight below the title */
  margin: 0 auto 6px auto !important; 
} 

/* CORE TYPOGRAPHY AND ANCHOR COLORS FOR THE TITLE LINK */ 
.mgallery_card_title a { 
  font-family: 'Roboto', sans-serif !important; 
  font-weight: bold !important; 
  text-decoration: none !important; 
  display: inline-block !important; 
  color: #111111 !important;           
  
  /* 🛠️ THE FONT SIZES UPDATE: Shrunk down to a clean, tight 17px profile */
  font-size: 17px !important;          
} 


/* CONTROLS THE ANIMATED COLOR SHIFT HOVER STATE FOR INDIVIDUAL CARD TITLES */ 
.mgallery_card_title a:hover { 
  color: #ed6b0e !important; 
  text-decoration: underline !important; 
} 

/* CARD DESCRIPTION TEXT STYLES (🛠️ ORDER 3: SIT AT THE ABSOLUTE BOTTOM BASE LAYER FLOW) */ 
.mgallery_card_text { 
  order: 3 !important; 
  
  font-family: 'Roboto', sans-serif !important; 
  font-size: 15px !important; 
  line-height: 1.5 !important; 
  margin: 0 !important; 
  padding: 0 15px !important;          /* Beautiful clean 15px indentation cushion keeps text away from plastic border lines */
  text-align: left !important;         /* Left-justified text flow */
  color: #333333 !important; 
  display: inline-block !important; 
  width: 100% !important; 
  box-sizing: border-box !important;
}


/*================================================================== 
🧱 PAGE-TO-PAGE PAGINATION NAVIGATION CONTROLS (SYNCHRONIZED THEME)
==================================================================*/ 
.mgallery_pagination { 
  clear: both !important; 
  display: block !important; 
  width: 100% !important; 
  text-align: center !important; 
  
  /* 🛠️ THE BASE SPACING FIX: Shrunk the top margin gap down from 40px to 15px */
  margin: 15px auto 30px auto !important; 
  padding: 0 !important; 
} 

/* 🎨 SLATE GREY THEME PASS: MATCHES THE MAIN CARD PURCHASE BUTTON LOOK */
.mgallery_pagination a, 
.mgallery_pagination span { 
  display: inline-block !important; 
  padding: 8px 16px !important; 
  margin: 0 4px !important; 
  font-family: 'Roboto', sans-serif !important; 
  font-size: 14px !important; /* Refined to match your button font scale */
  font-weight: bold !important; 
  text-transform: uppercase !important; /* All-caps keeps branding tight */
  text-decoration: none !important; 
  
  /* 🛠️ SLATE DESIGN BLOCK: Matches your purchase button border, background fill, and text colors */
  border: 1px solid #dcdcdc !important; 
  background-color: #f6f3f3 !important; 
  color: #111111 !important; 
  
  border-radius: 4px !important; 
  box-sizing: border-box !important;
  transition: all 0.2s ease !important; /* Smooth color cross-fades on desktop hover events */
} 

/* 🛠️ ACTIVE PAGE TRACKER OVERRIDE: LOOKS LIKE A SOLID MATTE BLACK BLOCK */
.mgallery_pagination span.current_page { 
  background-color: #111111 !important; 
  color: #ffffff !important; 
  border-color: #111111 !important; 
} 

/* 🔄 MOUSE CURSOR HOVER INVERSION ENGINE */
/* FORCES A LUXURIOUS HOVER FLIP: SOLID BLACK BACKGROUND WITH WHITE TEXT */
.mgallery_pagination a:hover { 
  background-color: #111111 !important; 
  border-color: #111111 !important; 
  color: #ffffff !important; 
  text-decoration: none !important; 
}

/*==================================================================
🎨 MASTER PORTRAIT CANVASES OVERRIDE (DEDICATED VERTICAL PAGE)
==================================================================*/
.vertical_page_layout .gallery_left_column,
.vertical_page_layout .gallery_right_column {
  width: 460px !important;
  max-width: 100% !important;
  margin-left: 25px !important;
  margin-right: 25px !important;
  margin-bottom: 24px !important;
  float: none !important;
  display: inline-block !important;
  vertical-align: top !important;
}

.vertical_page_layout #normalWrapper {
  text-align: center !important;
  max-width: 1200px !important;
}

.vertical_page_layout .mgallery_card {
  text-align: left !important;
}



/*================================================================== 
📢 MASTER GALLERY INFO BILLBOARD BANNER STYLES (COMPACT FORMAT) 
==================================================================*/ 
.info_billboard { 
  display: block !important; 
  width: 100% !important; 
  max-width: 1100px !important; 
  
  /* 🛠️ THE DESKTOP SPACING FIX: Pulls your grid up by dropping the bottom gap from 20px to 5px */ 
  margin: 0px auto 0px auto !important; 
  
  /* THE FIX: SHRINKS INTERNAL AIR SPACE CUSHIONS TO SQUEEZE THE BOX THIN */ 
  padding: 8px 15px !important; 
  background-color: #ffffff !important; 
  border: 1px solid #dcdcdc !important; 
  border-radius: 4px !important; 
  box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.03) !important; 
  box-sizing: border-box !important; 
  text-align: center !important; 
  clear: both !important; 
} 

/* Base structural row alignment */ 
.info_billboard_txt { 
  margin: 0 !important; 
  padding: 0 !important; 
  line-height: 1.3 !important; 
} 

/* LINE 1: BOLD PRIMARY MAIN HEADER - INTENTIONAL COMPACTING VERTICAL LINES */ 
.info_billboard_title { 
  font-family: 'Roboto', sans-serif !important; 
  font-size: 22px !important; /* Optimized down to balance the tighter box footprint */ 
  font-weight: bold !important; 
  color: #ed6b0e !important; 
  letter-spacing: 0.5px !important; 
  display: inline-block !important; 
  
  /* THE FIX: REDUCES THE SPACE COUPLING BETWEEN LINE 1 AND LINE 2 */ 
  margin-bottom: 2px !important; 
} 

/* LINE 2: SMALLER, REFINED SUB-TEXT DESCRIPTOR PROFILE */ 
.info_billboard_sub { 
  font-family: Arial, sans-serif !important; 
  font-size: 13px !important; 
  font-weight: normal !important; 
  color: #555555 !important; 
  display: inline-block !important; 
}














/*==================================================================
🛒 THE MINIMALIST LIGHT-GREY MATCHING FINE-ART SHOPPING BUTTON ENGINE
==================================================================*/
/* 🛠️ INCLUDES BOTH THE MAIN PAGE CARD LINKS AND THE DESKTOP POPUP LINKS UNIFORMLY */
.mgallery_card_text .mgallery_buy_link, 
a.mgallery_buy_link, 
.mgallery_card a.mgallery_buy_link,
.pp_description a, 
.pp_pic_holder .pp_description a { 
  /* 🎨 THE HARMONIZED COLOR SCHEME: Slate background, matching light grey border, black text */ 
  background-color: #a9a8a8 !important; 
  color: #111111 !important; 
  border: 1px solid #dcdcdc !important; /* 🛠️ MATCHING PROFILE: Locks border to the exact same light grey as the line */ 
  
  display: block !important; 
  width: 100% !important; 
  max-width: 250px !important; /* Restores your sleek, compact 250px length */ 
  margin: 30px auto 5px auto !important; /* Perfect 30px breathing room below your description sentences */ 
  padding: 6px 15px !important; /* 6px top/bottom compensates for the border to keep it thin */ 
  text-align: center !important; /* Locks the text directly down the middle center */ 
  
  /* CORE INTERFACE TYPOGRAPHY MARKS */ 
  font-family: 'Roboto', sans-serif !important; 
  font-size: 13px !important; 
  font-weight: bold !important; 
  text-transform: uppercase !important; 
  text-decoration: none !important; 
  letter-spacing: 0.5px !important; 
  border-radius: 4px !important; 
  box-sizing: border-box !important; 
  position: relative !important; 
  transition: all 0.2s ease !important; /* Smoothly animates colors on desktop mouse hovers */ 
} 

/* 🔄 DESKTOP LAPTOP MOUSE HOVER REACTION STATE */ 
/* FORCES A LUXURIOUS FLIP INVERSION: SOLID BLACK BACKGROUND WITH WHITE TEXT */ 
.mgallery_card_text .mgallery_buy_link:hover, 
a.mgallery_buy_link:hover,
.pp_description a:hover, 
.pp_pic_holder .pp_description a:hover { 
  background-color: #111111 !important; /* Becomes solid matte black on hover */ 
  border-color: #111111 !important; /* Darkens the border color to match the black fill */ 
  color: #ffffff !important; /* Text flips to crisp white */ 
  text-decoration: none !important; 
}

/*==================================================================
📏 THE MULTI-DEVICE SEPARATOR LINE TRACKER (AUTOSWAPS FOR PHONE VS DESKTOP)
==================================================================*/
/* CONDITION A (THE DEFAULT SIZING): FORCES THE WIDESCREEN DESKTOP LINE TO 340px */
.mgallery_card_text .mgallery_buy_link::before,
a.mgallery_buy_link::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  
  /* PLACEMENT SHIELD: Pushes the line out into the white space ABOVE the button */
  top: -18px !important; 
  left: 50% !important;
  transform: translateX(-50%) !important; /* Perfect horizontal centering alignment */
  
  /* 📐 DESKTOP LENGTH MATRIX: Stretches the line out to 340px across your desktop text cards */
  width: 340px !important;                 
  
  height: 1px !important;                  /* Paper-thin 1px profile thickness */
  background-color: #dcdcdc !important;    /* Thin gallery light-grey line color */
}

/* CONDITION B (THE ELSE BREAKPOINT): SNARES SMARTPHONES & SNAPS THE PHONE LINE TO 200px */
@media screen and (max-width: 768px) {
  .mgallery_card_text .mgallery_buy_link::before,
  a.mgallery_buy_link::before {
    /* 📐 PHONE LENGTH MATRIX: Reflows the line down to a clean 200px so it never hits device edges */
    width: 200px !important;
  }
}








/*================================================================== 
🧱 LAPTOP RESPONSIVENESS SAFETY SHIELD (STACKS COLUMNS CLEANLY) 
==================================================================*/ 
@media screen and (max-width: 1200px) { 
  .gallery_left_column, .gallery_right_column { 
    width: 100% !important; 
    float: none !important; 
    margin: 0 auto 24px auto !important; 
    max-width: 550px !important; 
  } 
} 

/*================================================================== 
📱 INTERACTIVE MOBILE GALLERY ENGINE (EDGE PHOTOGRAPHY / PADDED TEXT) 
==================================================================*/ 
@media screen and (max-width: 768px) { 

  body, html, #containerforgalleries, div#containerforgalleries { 
    float: none !important; 
    margin: 0 auto !important; 
    padding: 0 !important; 
    width: 100% !important; 
    max-width: 100% !important; 
    display: block !important; 
    box-sizing: border-box !important;
  } 

  #normalWrapper, div#normalWrapper { 
    padding: 15px 12px !important; /* Clean framing layout gutter for your phone */
    width: 100% !important; 
    box-sizing: border-box !important; 
  } 

  .gallery_left_column, .gallery_right_column,
  .vertical_page_layout .gallery_left_column, .vertical_page_layout .gallery_right_column { 
    width: 100% !important; 
    max-width: 100% !important; 
    margin: 0 auto 20px auto !important; 
    padding: 0 !important; 
    float: none !important; 
    display: block !important; 
    box-sizing: border-box !important; 
  } 

  /* 📐 THE MOBILE EXHIBITION CONTAINER CARD */
  .mgallery_card { 
    width: 100% !important; 
    max-width: 100% !important; 
    margin: 35px auto 20px auto !important; 
    
    /* 🛠️ MOBILE IMAGE BORDER REMOVAL: Strips top/side padding so image touches card edges */
    padding: 0px 0px 20px 0px !important; 
    
    background: linear-gradient(to bottom, #ffffff 0%, #fcfcfc 40%, #f5f5f5 100%) !important; 
    border: 1px solid #dcdcdc !important; 
    border-radius: 4px !important; 
    box-shadow: 0px 6px 16px rgba(0, 0, 0, 0.09) !important;
    box-sizing: border-box !important; 
    position: relative !important; 
    overflow: hidden !important; /* Clips top image corners cleanly */
    float: none !important; 

    /* 🛠️ MOBILE FLEX ENGINE: Forces phone browsers to visually rearrange content layout */
    display: flex !important;
    flex-direction: column !important;
  } 

  /* 🖼️ ORDER 1: EXTENDS IMAGES INTERACTIVELY TO TOUCH TOP/LEFT/RIGHT CARD WALLS ON MOBILE */
  .mgallery_card .mgallery_image_link {
    order: 1 !important;
    display: block !important; 
    width: 100% !important; 
    overflow: hidden !important; 
    margin-top: 0 !important;
    margin-bottom: 18px !important; 
  }

  .mgallery_card .mgallery_image_link img, 
  .mgallery_card img.mgallery_img, 
  div.mgallery_card img { 
    width: 100% !important; 
    max-width: 100% !important; 
    height: auto !important; 
    display: block !important; 
    margin: 0 auto !important; 
    border-radius: 0px !important; /* Squares top image edges to sit flush inside card */
    box-sizing: border-box !important; 
  } 

  /* 🛠️ ORDER 2: DROPS TITLE COMFORTABLY UNDER THE IMAGE, LEFT-JUSTIFIED ON PHONE GLASS */
  .mgallery_card_title, h2.mgallery_card_title { 
    order: 2 !important;
    position: relative !important; 
    top: 0 !important; 
    left: 0 !important; 
    width: 100% !important; 
    text-align: left !important; /* Left-justified title layout flow */
    margin: 0 auto 6px auto !important; 
    padding: 0 15px !important; /* 15px side safety margin padding */
    box-sizing: border-box !important; 
  } 

  .mgallery_card_title a {
    font-family: 'Roboto', sans-serif !important;
    font-size: 17px !important; /* Matches desktop scale layout constraints */
    font-weight: bold !important;
    text-decoration: none !important;
    color: #111111 !important;
  }

  /* 🛠️ ORDER 3: PARAGRAPH TEXT FLOW ENGINE */
  .mgallery_card_text { 
    order: 3 !important;
    display: inline-block !important; 
    width: 100% !important; 
    max-width: 100% !important; 
    text-align: left !important; 
    margin: 0 !important; 
    padding: 0 15px !important; /* Beautiful clean 15px margin text shield */
    box-sizing: border-box !important; 
    white-space: normal !important; 
    font-family: 'Roboto', sans-serif !important;
    font-size: 15px !important;
    line-height: 1.5 !important;
    color: #333333 !important;
  } 

  /* UNIVERSAL MINIMALIST SHOPPING BUTTON DISPLAY BOX ON PHONE LAYER */
  .mgallery_card_text .mgallery_buy_link, 
  a.mgallery_buy_link,
  .mgallery_card a.mgallery_buy_link { 
    background-color: #a9a8a8 !important; /* Beautiful matching slate fill */
    color: #111111 !important; 
    border: 1px solid #dcdcdc !important;
    float: none !important; 
    display: block !important; 
    width: 100% !important; 
    max-width: 250px !important; /* Refined layout width bounds */
    text-align: center !important; 
    margin: 22px auto 5px auto !important; 
    padding: 6px 15px !important; 
    font-family: 'Roboto', sans-serif !important; 
    font-size: 13px !important; 
    font-weight: bold !important; 
    text-decoration: none !important; 
    text-transform: uppercase !important; 
    white-space: normal !important; 
    box-sizing: border-box !important; 
    border-radius: 4px !important;
  } 

  .info_billboard { 
    margin: 5px auto 25px auto !important; 
    padding: 12px 10px !important; 
  } 

  #dropdownmenuinproduction { 
    width: 100% !important; 
    max-width: 280px !important; 
    padding: 15px !important; 
    height: auto !important; 
    display: block !important; 
  } 

  #dropdownmenuinproduction div { 
    float: none !important; 
    width: 100% !important; 
    border-left: none !important; 
    padding-left: 0 !important; 
    margin-bottom: 18px !important; 
    display: block !important; 
  } 

  a.mgallery_image_link, .mgallery_card a.mgallery_image_link { 
    pointer-events: auto !important; /* Enables standard image clicking on mobile layout targets */
    cursor: pointer !important; 
  } 




  /*==================================================================
  🦶 🛠️ MOBILE FOOTER SOLID WHITE RECONSTRUCTION SHIELD
  👉 Forces phone browsers to display a clean white footer layout!
  ==================================================================*/
  footer, 
  .footer, 
  #footer,
  div#footer,
  .footer_wrapper {
    background-color: #ffffff !important; /* Forces background to pure clean white */
    background: #ffffff !important;
    color: #333333 !important;            /* Forces text strings to dark charcoal gray */
    padding: 30px 15px !important;        /* Balanced mobile vertical padding cushions */
    text-align: center !important;        /* Centers your copyright rows down the middle */
    width: 100% !important;
    display: block !important;
    box-sizing: border-box !important;
    clear: both !important;
  }

  /* FORCES ALL FOOTER ANCHOR TEXT STRINGS TO STAY CLEAN DARK CHARCOAL */
  footer a, 
  .footer a, 
  #footer a {
    color: #333333 !important;
    text-decoration: underline !important;
    font-size: 13px !important;
  }



}
