@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

:root {
  --bg: #1f2638;
  --card-bg: #2b334f;
  --text: #e3e8ff;
  --muted: #8c9bb3;
  --accent: #3fa795;
  --highlight: #f5a35c;
  --nav-bg: #1b233d;
  --radius: 0px;
  --transition: 0.3s ease; 
  --max-width: 1200px;
}

/* RESET & BASE */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: clamp(0.95rem, 1vw, 1.1rem);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* CONTAINER */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem;
}

/* NAVIGATION */
.nav-wrapper {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: var(--nav-bg);
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  padding: 0.5rem 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  z-index: 9999;
}

.brand a {
  color: orange;
  font-weight: 600;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  text-decoration: none;
  white-space: nowrap;
}

/* hamburger toggle */
.nav-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.nav-label {
  display: none;
  cursor: pointer;
  padding: 0.5rem;
}
.nav-label span,
.nav-label span::before,
.nav-label span::after {
  display: block;
  background: var(--text);
  height: 3px;
  width: 25px;
  border-radius: 2px;
  position: relative;
  transition: var(--transition);
}
.nav-label span::before,
.nav-label span::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-label span::before { top: -8px; }
.nav-label span::after { top: 8px; }
.nav-toggle:checked + .nav-label span {
  background: transparent;
}
.nav-toggle:checked + .nav-label span::before {
  transform: rotate(45deg);
  top: 0;
}
.nav-toggle:checked + .nav-label span::after {
  transform: rotate(-45deg);
  top: 0;
}

/* nav list */
.nav-list {
  list-style: none;
  display: flex;
  /* gap: 0.5rem; */
  margin: 0;
  padding: 0;
  align-items: center;
  flex-wrap: wrap;
}
.nav-list li a {
  font-size: clamp(0.8rem, 2vw, 1rem);
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}

.nav-list li a:hover,
.nav-list li a.active {
  background: rgba(255, 255, 255, 0.08);
  color: var(--highlight);
  /* box-shadow: 0 0 8px var(--highlight); */
}

/* Mobile menu */
@media (max-width: 900px) {
  .nav-label {
    display: flex;
    align-items: center; 
  }

  .nav-list {
    flex-direction: column;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.4s ease;
    background-color: var(--nav-bg);
    padding: 0;
    margin-top: 0.5rem;
    border-radius: 0;
  }

  .nav-toggle:checked + .nav-label + .nav-list {
    max-height: 300px;
    padding: 1rem;
  }

  .nav-list li {
    margin: 0.4rem 0;
    width: 100%;
  }

  .nav-list li a {
    width: 100%;
    box-sizing: border-box;
  }

  .brand a {
    margin-left: 10px;
    font-size: clamp(1.2rem, 1vw, 1.6rem);
  }

  .nav-wrapper {
    padding: 0.5rem 0.75rem;
  }
}

/* HEADER */
header {
  padding-top: 60px; /* wysokość paska nawigacji, dostosuj jeśli trzeba */
  background-image: url("../img/niskiIG.jpg");
  background-size: cover;
  background-position: center;
  height: 350px;
  position: relative;
  margin-bottom: 1rem;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fade {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}
.header-text {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: rgb(187, 230, 189);
  text-align: center;
  gap: 0.5rem;
  padding: 0 1rem;
  text-shadow:
    -1px -1px 0 #000,
     1px -1px 0 #000,
    -1px  1px 0 #000,
     1px  1px 0 #000;
}
.header-text h1 {
  font-size: clamp(1.6rem, 4vw, 3.5rem);
  margin: 0;
  color: var(--highlight);
}
.header-text p {
  font-size: clamp(0.8rem, 2vw, 1.2rem);
  margin: 0;
}

/* TABELA */
/* Kontener tabeli z poziomym scrollowaniem na małych ekranach */
.unit-table-wrapper {
  overflow-x: auto; /* poziome przewijanie na małych ekranach */
  width: 100%;
  margin-bottom: 1.5rem;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius);
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  background: var(--card-bg);
}

/* Tabela z pionowymi liniami */
.unit-table {
  width: 100%;
  border-collapse: separate; /* dla border-radius */
  border-spacing: 0;
  min-width: 600px; /* wymuszamy szerokość by wymusić scroll */
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1);
  border-radius: var(--radius);
  overflow: hidden;
}

/* Nagłówki */
.unit-table th,
.unit-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  border-right: 1px solid rgba(255,255,255,0.1); /* pionowa linia */
  color: var(--text);
  white-space: wrap; /* żeby nie zawijało tekstu */
}



/* Nagłówek */




/* Efekt hover dla czytelności */


/* Na bardzo małe ekrany – usuwamy min-width, pozwalamy przewijać */
@media (max-width: 600px) {
  .unit-table {
    min-width: 0; /* elastyczna szerokość */
  }
}



/* STOPKA */
footer {
  background: var(--nav-bg);
  text-align: center;
  padding: 0.5rem 0.5rem;
  color: var(--text);
  font-size: clamp(0.75rem, 2vw, 1rem);
  margin-top: 2rem;
}
footer a.polityka {
  color: var(--text);
  text-decoration: underline;
}
footer a.polityka:hover {
  color: var(--accent);
}

/* TYPOGRAFIA – tekst jak w main.css */ 
h1, h2, h3, h4, h5 {
  
  font-weight: 700;
  line-height: 1.2;
  margin: 1.2rem 0 0.6rem;
}

h2 {
	color: var(--highlight);
  font-size: clamp(1.4rem, 4vw, 3.5rem);
  text-align: center;
  margin-left: 0.6rem;
  margin-right: 0.6rem;
}
h3 {
	color: var(--accent); 
  font-size: clamp(1.2rem, 4vw, 1.8rem);
  padding-left: 1rem;
  font-style: italic;
}
h4 {
  font-size: clamp(1rem, 3vw, 1.4rem);
}

p {
  font-size: clamp(0.8rem, 1.5vw, 1.8rem);
  line-height: 1.7;
  text-indent: 1.2rem;
  margin: 0.5rem 0 1rem;
  color: var(--text);
}

/* Sekcje z tekstem */
.section-title {
  font-size: clamp(1.5rem, 5vw, 2.4rem);
  color: var(--highlight);
  text-align: center;
  margin: 1.5rem 0 1rem;
}

/* Listy */
ul {
  padding-left: 2rem;
  line-height: 1.7;
  font-size: clamp(0.7rem, 1.8vw, 1.1rem);
  margin-bottom: 1rem;
}

li {
  margin-bottom: 0.5rem;
}

/* Styl wstępów */
.intro,
.summary,
.podsumowanie-info,
.about-me-info {
  margin: 1rem 0 2rem;
  padding: 0 1vw;
}

.intro p:first-of-type {
  font-weight: 500;
}



/* BANER COOKIES */
#cookie-banner {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  color: #333;
  padding: 20px;
  box-shadow: 0 -2px 5px rgba(0,0,0,0.2);
  z-index: 1000;
  font-family: 'Montserrat', system-ui, sans-serif;
  flex-wrap: wrap;
  gap: 10px;
}
#cookie-banner a {
  color: #0066cc;
  text-decoration: underline;
}
#cookie-banner button {
  background-color: #0066cc;
  color: white;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  border-radius: 5px; 
}


/* .card-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 12px var(--highlight);
} */


/* --- RESPONSYWNA TABELA --- */
@media (max-width: 768px) {
  .unit-table-wrapper {
    overflow-x: visible; /* wyłącz wymuszone przewijanie */
  }

 
 





  

  .unit-table td::before {
    content: attr(data-label);
    font-weight: bold;
    color: var(--highlight);
    flex: 1;
    text-align: left;
    padding-right: 0.5rem;
  }

  .unit-table td span {
  flex: 2;
  text-align: left; /* lepiej czytelne na mobile */
  color: var(--text);
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere; 
}

.unit-table td span ul {
  margin: 0;
  padding-left: 1.2rem; /* trochę wcięcia */
  list-style: disc;
}

.unit-table td span li {
  margin-bottom: 0.25rem;
}

}


/* Tabela */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
}

th, td {
  padding: 10px;
  text-align: left;
  border: 1px solid var(--accent);
  font-size: clamp(0.7rem, 1.5vw, 1.2rem);
}

th {
  background: var(--card-bg);
  color: var(--text);
}

/* Stopka */
footer p {
  padding: 6px;
  text-align: center;
  background-color: var(--nav-bg);
  color: var(--text);
  
  font-size: clamp(1rem, 1vw, 3rem);
}

footer .polityka {
  text-decoration: underline;
  color: var(--text);
  transition: color 300ms;
}

footer .polityka:hover {
  color: var(--highlight);
}

/* BANER COOKIES */
#cookie-banner {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  color: #333;
  padding: 20px;
  box-shadow: 0 -2px 5px rgba(0,0,0,0.2);
  z-index: 1000;
  font-family: 'Montserrat', system-ui, sans-serif;
  flex-wrap: wrap;
  gap: 10px;
  font-size: clamp(0.9rem, 1.5vw, 1rem);
}

#cookie-banner a {
  color: #0066cc;
  text-decoration: underline;
}

#cookie-banner button {
  background-color: #0066cc;
  color: white;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  font-size: clamp(0.9rem, 1.5vw, 1rem);
}


.opis-diety-info { 
  margin-left: 1rem; 
}


ol { 
  padding-left: 2rem;
  font-size: clamp(0.8rem, 1.5vw, 1rem);
}

.info{
font-size: clamp(0.7rem, 1.5vw, 2rem); 
}

a,
a:visited,
a:hover,
a:active {
  text-decoration: none;
  color: var(--highlight);
}

.unit-table li {
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 8px;
}

.breadcrumb {
  font-size: 14px;
  margin: 15px 0;
  color: #777;
}

.breadcrumb a {
  color: #0a66c2;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline; 
}

.reading-time {
  text-align: center;
  font-size: 14px;
  color: #777;
  margin: 10px 0 20px;
  font-style: italic;
}

.faq {
  margin-top: 40px;
}

.faq-item {
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.faq-item h3 {
  font-size: clamp(1rem, 2vw, 2rem);
  margin-bottom: 8px;
  color: var(--accent);
}

.faq-item p {
  font-size: clamp(0.8rem, 1.2vw, 1.6rem);
  color: var(--muted);
  line-height: 1.6;
}

.ad-container {
    max-width: 760px;
    margin: 30px auto;
    text-align: center;
    font-family: Arial, sans-serif;
}

.ad-label {
    font-size: 12px;
    color: #888;
    margin: 6px 0;
 text-align: center;
}

/* REKLAMA */
.adslot {
    display: block;
    margin: 0 auto;
    width: 320px;
    height: 60px; /* MOBILE - MAŁA */
}

/* TABLET */
@media (min-width: 768px) {
    .adslot {
        width: 468px;
        height: 60px;
    }
}

/* KOMPUTER */
@media (min-width: 1024px) {
    .adslot {
        width: 728px;
        height: 90px;
    }
}


/* Zdjęcia w artykule */
.article-image{
    display:block;
    width:80%;
    height:clamp(180px, 30vw, 350px);
    object-fit:cover;
    margin:30px auto;
    border-radius:15px;
    box-shadow:0 5px 20px rgba(0,0,0,.25); 
}

/* Podpis pod zdjęciem */
.img-caption {
    text-align: center;
    font-size: 0.9rem;
    color: #666;
    margin-top: -15px;
    margin-bottom: 30px;
    font-style: italic;
}

.ig-table{
width:100%;
border-collapse:collapse;
margin:35px 0;
overflow:hidden;
border-radius:14px;
background:#1f2638;
box-shadow:0 8px 25px rgba(0,0,0,.35);
}

.ig-table thead{
background:#3fa795;
}

.ig-table thead th{
color:#fff;
font-size:1.05rem;
padding:18px;
}

.ig-table td{
padding:18px;
border-bottom:1px solid rgba(255,255,255,.08);
color:#e8edf7;
line-height:1.7;
}

.ig-table tbody tr:nth-child(even){
background:#252f47;
}

.ig-table tbody tr:nth-child(odd){
background:#1f2638;
}

.ig-table tbody tr:hover{
background:#32425d;
transition:.25s;
}

.ig-table td:first-child{
width:220px;
font-weight:700;
color:#63d3b4;
}

.meal-table{
    width:100%;
    margin:35px 0;
    border-collapse:collapse;
    overflow:hidden;
    border-radius:14px;
    background:#1f2638;
    box-shadow:0 10px 30px rgba(0,0,0,.35);
}

.meal-table thead{
    background:#3fa795;
}

.meal-table th{
    padding:18px;
    color:#fff;
    font-size:1.05rem;
    text-align:left;
}

.meal-table td{
    padding:18px;
    color:#e6ebf5;
    border-bottom:1px solid rgba(255,255,255,.08);
    line-height:1.7;
}

.meal-table tbody tr:nth-child(even){
    background:#27324a;
}

.meal-table tbody tr:hover{
    background:#32425d;
    transition:.25s;
}

.meal-table td:first-child{
    width:190px;
    color:#63d3b4;
    font-weight:700;
}


.ig-levels{
    width:100%;
    margin:30px 0;
    border-collapse:collapse;
    overflow:hidden;
    border-radius:14px;
    box-shadow:0 10px 30px rgba(0,0,0,.3);
}

.ig-levels th{
    background:#3fa795;
    color:#fff;
    padding:16px;
    font-size:1.05rem;
    text-align:left;
}

.ig-levels td{
    padding:16px;
    color:#eef2ff;
}

.ig-levels tr.low{
    background:#1f6f4a;
}

.ig-levels tr.medium{
    background:#6f5c18;
}

.ig-levels tr.high{
    background:#7b2d2d;
}

.ig-levels tbody tr:hover{
    filter:brightness(1.1);
    transition:.25s;
}

@media(max-width:768px){

.ig-levels{
    font-size:.92rem;
}

.ig-levels th,
.ig-levels td{
    padding:12px;
}

}

.rules-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:22px;
    margin:35px 0;
}

.rule-card{
    position:relative;
    background:#1f2638;
    border:1px solid rgba(63,167,149,.35);
    border-radius:16px;
    padding:25px 22px 22px;
    box-shadow:0 10px 25px rgba(0,0,0,.28);
    transition:.3s;
}

.rule-card:hover{
    transform:translateY(-6px);
    box-shadow:0 15px 35px rgba(0,0,0,.45);
    border-color:#3fa795;
}

.rule-card span{
    position:absolute;
    top:-15px;
    left:20px;
    width:42px;
    height:42px;
    background:#3fa795;
    color:#fff;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:700;
    font-size:1.1rem;
    box-shadow:0 5px 15px rgba(63,167,149,.45);
}

.rule-card p{
    margin-top:15px;
    color:#e8eefc;
    line-height:1.75;
    font-size:1rem;
}

.fruit-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(170px,1fr));
    gap:20px;
    margin:35px 0;
}

.fruit-card{
    background:#1f2638;
    border:1px solid rgba(63,167,149,.35);
    border-radius:16px;
    padding:22px 15px;
    text-align:center;
    font-size:2rem;
    transition:.3s;
    box-shadow:0 10px 25px rgba(0,0,0,.25);
}

.fruit-card:hover{
    transform:translateY(-6px);
    border-color:#3fa795;
    box-shadow:0 15px 35px rgba(63,167,149,.25);
}

.fruit-card span{
    display:block;
    margin-top:12px;
    font-size:1rem;
    color:#eef2ff;
    font-weight:600;
}

@media(max-width:768px){

.fruit-grid{
    grid-template-columns:repeat(2,1fr);
    gap:15px;
}

.fruit-card{
    font-size:1.8rem;
    padding:18px 10px;
}

}

.tips-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:22px;
    margin:35px 0;
}

.tip-card{
    background:#1f2638;
    border:1px solid rgba(63,167,149,.35);
    border-radius:16px;
    padding:28px 22px;
    text-align:center;
    transition:.3s;
    box-shadow:0 10px 25px rgba(0,0,0,.25);
}

.tip-card:hover{
    transform:translateY(-6px);
    border-color:#3fa795;
    box-shadow:0 15px 35px rgba(63,167,149,.25);
}

.tip-icon{
    font-size:3rem;
    margin-bottom:15px;
}

.tip-card h4{
    color:#3fa795;
    margin-bottom:12px;
    font-size:1.15rem;
}

.tip-card p{
    color:#e8eefc;
    line-height:1.7;
    margin:0;
}


@media(max-width:768px){

.tips-grid{
    grid-template-columns:1fr;
}

.tip-card{
    padding:22px 18px;
}

.tip-icon{
    font-size:2.5rem;
}

}

.mistakes-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:22px;
    margin:35px 0;
}

.mistake-card{
    background:#2b2330;
    border-left:5px solid #ff6b6b;
    border-radius:16px;
    padding:24px;
    box-shadow:0 10px 25px rgba(0,0,0,.25);
    transition:.3s;
}

.mistake-card:hover{
    transform:translateY(-6px);
    box-shadow:0 15px 35px rgba(0,0,0,.4);
    border-left-color:#ff4d4d;
}

.mistake-icon{
    font-size:2.4rem;
    margin-bottom:15px;
}

.mistake-card h4{
    color:#ff8d8d;
    margin-bottom:10px;
}

.mistake-card p{
    color:#eef2ff;
    line-height:1.7;
    margin:0;
}

@media(max-width:768px){

.mistakes-grid{
    grid-template-columns:1fr;
}

}


/* Zdjęcia w artykule */
.article-photo{
    margin:40px auto;
    max-width:850px;
    text-align:center;
}

.article-photo img{
    width:100%;
    border-radius:18px;
    display:block;
    box-shadow:0 12px 28px rgba(0,0,0,.18);
}

.article-photo figcaption{
    margin-top:12px;
    font-size:.92rem;
    color:#8c9bb3;
    line-height:1.6;
    font-style:italic;
    text-align:center;
}

@media(max-width:768px){

.article-photo{
    margin:30px auto;
}

.article-photo figcaption{
    font-size:.85rem;
}

}

/* ===== SPIS TREŚCI ===== */

.table-of-contents{
    background:#24304b;
    border:1px solid rgba(255,255,255,.08);
    border-radius:18px;
    padding:28px 35px;
    margin:35px 0 45px;
    box-shadow:0 10px 25px rgba(0,0,0,.15);
}

.table-of-contents h2{
    margin:0 0 20px;
    color:#f5a35c;
    font-size:1.6rem;
}

.table-of-contents ul{
    list-style:none;
    padding:0;
    margin:0;
    display:flex;
    flex-direction:column;
    gap:1px;
}

.table-of-contents li{
    margin:0;
}

.table-of-contents a{
    display:block;
    color:#e7edf8;
    text-decoration:none;
    padding:8px 0;
    transition:.25s;
}

.table-of-contents a::before{
    content:"➜ ";
    color:#3fa795;
    font-weight:bold;
}

.table-of-contents a:hover{
    color:#f5a35c;
    transform:translateX(6px);
}

html{
    scroll-behavior:smooth;
}

@media(max-width:768px){

.table-of-contents{
    padding:22px;
}

.table-of-contents ul{
    grid-template-columns:1fr;
}

}

/* ===== CTA ===== */

.cta-box{
    margin:50px 0;
    padding:35px;
    background:linear-gradient(135deg,#24314b,#1b233d);
    border:1px solid rgba(63,167,149,.35);
    border-radius:18px;
    text-align:center;
    box-shadow:0 12px 35px rgba(0,0,0,.25);
}

.cta-box h2{
    color:#3fa795;
    margin-bottom:15px;
}

.cta-box p{
    max-width:760px;
    margin:0 auto 30px;
    color:#d8deef;
    line-height:1.8;
    font-size:1.05rem;
}

.cta-buttons{
    display:flex;
    justify-content:center;
    gap:18px;
    flex-wrap:wrap;
}

.cta-btn{
    display:inline-block;
    padding:14px 28px;
    border-radius:12px;
    text-decoration:none;
    font-weight:700;
    transition:.3s;
}

.cta-btn.primary{
    background:#3fa795;
    color:#fff;
}

.cta-btn.primary:hover{
    background:#47b8a3;
    transform:translateY(-3px);
}

.cta-btn.secondary{
    background:transparent;
    color:#f5a35c;
    border:2px solid #f5a35c;
}

.cta-btn.secondary:hover{
    background:#f5a35c;
    color:#1b233d;
    transform:translateY(-3px);
}

@media(max-width:768px){

    .cta-box{
        padding:25px;
    }

    .cta-buttons{
        flex-direction:column;
    }

    .cta-btn{
        width:100%;
    }

}


/* ===========================
   Powiązane artykuły
=========================== */

.related-posts{
    margin:60px 0;
}

.related-posts h2{
  font-size: clamp(1.6rem, 3vw, 3rem);
    text-align:center;
    margin-bottom:35px;
    color:var(--highlight)
}

.related-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
    gap:22px;
}

.related-card{
    display:flex;
    flex-direction:column;
    justify-content:center;
    padding:22px;
    background:#24314b;
    border:1px solid rgba(63,167,149,.25);
    border-radius:16px;
    text-decoration:none;
    transition:.35s ease;
    box-shadow:0 8px 20px rgba(0,0,0,.18);
}

.related-card:hover{
    transform:translateY(-6px);
    border-color:#3fa795;
    box-shadow:0 15px 35px rgba(0,0,0,.28);
}

.related-card h3{
    color:#3fa795;
    margin:0 0 12px;
    font-size:1.15rem;
    transition:.3s;
}

.related-card p{
    color:#d7dff3;
    margin:0;
    line-height:1.6;
    font-size:.95rem;
}

.related-card:hover h3{
    color:#4dc8af;
}

@media(max-width:768px){

    .related-grid{
        grid-template-columns:1fr;
    }

    .related-card{
        padding:20px;
    }

}