/*
Theme Name: TownHub Child
Theme URI: https://townhub.cththemes.com
Author: CTHthemes
Author URI: http://themeforest.net/user/cththemes/
Description: TownHub â€“ Directory & Listing WordPress Theme is perfect if you like a clean and modern design. This theme will help you create, manage and monetize a local or global directory site.
Version: 1.0.0
Tags: custom-background, custom-menu, editor-style, featured-images, post-formats, sticky-post, theme-options, translation-ready
Template: townhub
Text Domain: townhub-child
License: GNU General Public License version 3.0
License URI: http://www.gnu.org/licenses/gpl-3.0.html
*/
/* =Theme customization starts here
------------------------------------------------------- */

	
	/* Ukrycie domyślnego dymka 'title' */
a[title]:hover::after {
    content: attr(title); /* Przechwycenie tekstu z atrybutu title */
    display: block;
    position: absolute;
    background-color: #333;
    color: #fff;
    padding: 5px;
    border-radius: 5px;
    font-size: 12px;
    z-index: 10;
    top: -30px; /* Pozycjonowanie tekstu powyżej linku */
    left: 50%;
    transform: translateX(-50%); /* Wyśrodkowanie poziome */
    white-space: nowrap; /* Zapobieganie zawijaniu tekstu */
}



.button-container {
	background-color: #000;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.button-container a {
    text-decoration: none;
    background-color: #880e4f;
    color: #ffffff;
    padding: 10px 20px;
    margin: 5px;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
    text-align: center;
    flex: 1 0 calc(10% - 10px);
    box-sizing: border-box;
}

/* Styl dla aktywnego przycisku */
.button-container a.active {
    background-color: yellow;
    color: black;
}

/* Specyficzne style dla Drink i Party */
#banner3, #banner6 {
    background-color: #880e4f; /* Domyślny bordowy */
}

#banner3.active, #banner6.active {
    background-color: yellow !important; /* Aktywny na żółto */
    color: black !important; /* Tekst na czarno */
}

/* Efekty najechania dla wszystkich przycisków */
#banner1:hover, #banner2:hover, #banner3:hover, #banner4:hover,
#banner5:hover, #banner6:hover, #banner7:hover, #banner8:hover,
#banner9:hover {
    background-color: yellow;
    color: #000000;
}

.category-title {
    background-color: #000;       /* czarne tło tylko dla nagłówka */
    color: #fff;                  /* biały tekst */
    padding: 8px 12px;
    margin: 0 auto 20px;          /* odstęp od elementu poniżej */
    text-align: center;             /* wyrównanie tekstu do lewej strony */
    font-weight: normal;
    font-size: 14px;              /* ustawienie rozmiaru czcionki na 24px */
    display: block;
}

.seo-keywords {
    background: transparent;
}


.category-typ {
  font-size: 17px; 
	font-weight: 500;
  background-color: #007BFF; /* Kolor tła */
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.category-typ h2 {
	font-size: 17px;
	font-weight: 500;
  
}

.h2-style {
  font-size: 17px; /* lub zgodne z twoim h2 */
  font-weight: 500;
  margin: 0.5em 0;
  display: block; /* lub inline-block w zależności od układu */
  color: inherit; /* dziedzicz kolor z linka */
}



