/*
 Theme Name:   Mow Child Theme
 Theme URI:    https://themeforest.net/item/mow-blog-magazine-wordpress-theme/
 Description:  Child theme for Mow theme
 Author:       Frenify
 Author URI:   http://themeforest.net/user/frenify
 Template:     mow
 Version:      4.14
 License: 	   Located in 'licensing' folder
 License URI:  license.txt
 Tags:         custom-header, custom-background, threaded-comments, custom-menu, featured-images, full-width-template, theme-options, translation-ready
 Text Domain:  mow-child
*/

/* Linki w treści wpisów */
.entry-content a {
    color: #0000FF !important;  /* niebieski */
}

.entry-content a:visited {
    color: #800080 !important;  /* fioletowy */
}

/* --- Zakładki --- */
#tabs {
  display: flex;
  gap: 8px;
  margin: 1rem 0;
}

#tabs button {
  padding: 6px 12px;
  border: 1px solid #ccc;
  background: #f8f8f8;
  cursor: pointer;
  border-radius: 6px;
  font-size: 0.95rem;
  transition: background 0.2s, color 0.2s;
}

#tabs button:hover {
  background: #eee;
}

#tabs button.active {
  background: #0073aa;   /* WordPress niebieski */
  color: #fff;
  border-color: #0073aa;
}

/* --- Tabele --- */
#galony-tabele table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
}

#galony-tabele th,
#galony-tabele td {
  padding: 8px 10px;
  border: 1px solid #ddd;
  text-align: center;
}

#galony-tabele th {
  background: #f0f0f0;
  font-weight: 600;
}

#galony-tabele tr:nth-child(even) {
  background: #fafafa;
}

/* --- Sekcja --- */
#galony-tabele h2 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

#galony-tabele h3 {
  font-size: 1.1rem;
  margin: 1rem 0 0.5rem;
}
.last-updated { font-size:14px; color:#666; margin-bottom:12px; font-style:italic; }

/* --- Kalkulator --- */
#calc {
  background: #f9f9f9;
  padding: 1.5rem;
  border: 1px solid #e1e1e1;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  margin: 1rem 0;
}

#calc label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

#calc input[type="number"] {
  width: 100%;
  padding: 0.6rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  margin-bottom: 0.8rem;
  font-size: 1rem;
}

#calc button[type="submit"] {
  background: #0073aa; /* WP niebieski */
  color: #fff;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.2s;
}

#calc button[type="submit"]:hover {
  background: #005f8d;
}

/* --- Wynik --- */
#calc #wynik {
  margin-top: 1rem;
  font-weight: 700;
  font-size: 1.2rem;
  color: #333;
}

/* --- Presety --- */
#calc .presets {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

#calc .presets button {
  flex: 1 1 auto;
  background: #f0f0f0;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 0.5rem;
  cursor: pointer;
  font-size: 0.95rem;
  transition: background 0.2s, border-color 0.2s;
}

#calc .presets button:hover {
  background: #e6e6e6;
  border-color: #bbb;
}

/* --- Tabele --- */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 2rem;
  font-size: 0.95rem;
}

table th,
table td {
  border: 1px solid #ddd;
  padding: 0.6rem 0.8rem;
  text-align: center;
}

table th {
  background: #f3f3f3;
  font-weight: 600;
  color: #000;
}

table tr:nth-child(even) {
  background: #fafafa;
}

/* --- Responsywność --- */
@media (max-width: 600px) {
  #calc {
    padding: 1rem;
  }
  #calc .presets {
    flex-direction: column;
  }
  #calc .presets button {
    width: 100%;
  }
  table {
    font-size: 0.9rem;
  }
  table th,
  table td {
    padding: 0.4rem 0.6rem;
  }
}

.faq-section {
  max-width: 700px;
  margin: 40px auto;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.faq-section h2 {
  text-align: center;
  margin-bottom: 24px;
  color: #222;
  font-size: 24px;
}

.faq-item {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 12px;
  padding: 14px 16px;
  transition: background 0.3s, box-shadow 0.3s;
}

/* naprzemienne kolory */
.faq-item:nth-child(odd) {
  background: #ffffff;
}

.faq-item:nth-child(even) {
  background: #f9f9f9;
}

/* hover */
.faq-item:hover {
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  cursor: pointer;
}

.faq-question {
  font-size: 18px;
  margin: 0;
  color: #0073e6;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after {
  content: "+";
  font-weight: bold;
  transition: transform 0.3s, color 0.3s;
  color: #555;
}

.faq-item.active .faq-question::after {
  content: "-";
  color: #0073e6;
}

.faq-answer {
  color: #444;
  line-height: 1.6;
  margin-top: 10px;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}
.time-table {
  width: 100%;
  max-width: 750px;
  margin: 30px auto;
  border-collapse: collapse;
  font-family: "Segoe UI", Roboto, sans-serif;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  border-radius: 12px;
  overflow: hidden;
}

.time-table thead {
  background: #0073e6;
  color: #fff;
}

.time-table th,
.time-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid #e6e6e6;
}

.time-table tbody tr:nth-child(even) {
  background: #f9f9f9;
}

.time-table tbody tr:hover {
  background: #eef6ff;
}

.time-table th {
  font-size: 16px;
}

.time-table td {
  font-size: 15px;
  color: #333;
}