/*
Theme Name: 	BuddyBoss Child
Theme URI: 		https://www.buddyboss.com/
Description: 	A child theme of BuddyBoss Theme. To ensure easy updates, make your own edits in this theme.
Author: 		BuddyBoss.com
Author URI: 	https://www.buddyboss.com/
License: 		GNU General Public License v3 or later
License URI: 	http://www.gnu.org/licenses/gpl-3.0.html
Template: 		buddyboss-theme
Version: 		1.0.1
*/

/*

-- Stylesheet locations --

Add your own customizations into /css/custom.css in this child theme.

Parent styles are called from /buddyboss-theme/inc/theme/functions.php in the 
parent theme and are located in /buddyboss-theme/assets/css/ in the parent theme.


--- If you are editing CSS via the WordPress admin, do the following ---

1. Install the plugin WP Editor: http://wordpress.org/plugins/wp-editor/
2. Navigate to Appearance > Theme Editor in the WordPress admin.
3. Navigate into the /css/ folder of your child theme to edit custom.css.

*/

/* ====== TG Min Side: toppfliser lik høyde/bredde, logo fyller flis, fjern rød strek ====== */

/* Gjør topp-raden til et 3-kol grid og strekk flisene likt (kun desktop) */
@media (min-width: 1024px) {
  body.tg-minside-body .tg-minside__header{
    display:grid !important;
    grid-template-columns: 1fr 1fr 1fr !important;
    gap: 1rem !important;
    align-items: stretch !important;
  }
  body.tg-minside-body .tg-minside__header .tile{
    height:100% !important;
    display:flex !important;
    flex-direction:column !important;
    justify-content:center !important;
    border-radius:12px !important;
  }
  /* LiMa-flisen: samme padding/utseende som de andre */
  body.tg-minside-body .tg-minside__header .tile--lima{
    padding:1.25rem 1.5rem !important;
    text-align:center !important;
  }
}

/* Logo-flis: bilde fyller hele flisen uten hvit kant */
body.tg-minside-body .tile--logo{
  overflow:hidden !important;
  border-radius:12px !important;
}
body.tg-minside-body .tile--logo .tile__logo{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  display:block !important;
  border-radius:12px !important;
}

/* Fjern rød strek/understrek (uansett hvor den kommer fra) på Sirkulærer */
body.tg-minside-body .tg-minside__grid .tile--blue .tile__label,
body.tg-minside-body .tg-minside__grid .tile--blue .tile__label *{
  text-decoration:none !important;
  border-bottom:0 !important;
}
body.tg-minside-body .tg-minside__grid .tile--blue::before,
body.tg-minside-body .tg-minside__grid .tile--blue::after,
body.tg-minside-body .tg-minside__grid .tile--blue .tile__label::before,
body.tg-minside-body .tg-minside__grid .tile--blue .tile__label::after{
  content:none !important;
  display:none !important;
}
