/* Color Palette Generated around Primary #aaa143 */
:root {
    --primary-color: #aaa143;       /* Earthy Gold / Olive Tint */
    --primary-dark: #736c28;        /* Dark Olive Accent */
    --primary-light: #ece8be;       /* Soft Light Gold Tint */
    --accent-color: #a89f43;        /* Deep Safari Brown */
    --bg-light: #fbfbfb;            /* Light Cream Soft Neutral */
    --bg-card: #ffffff;             /* Crisp Clean Card Background */
    --text-main: #1f2421;           /* Deep Charcoal Neutral for Body */
    --text-muted: #5a625d;          /* Soft Muted Gray for Subtitles/Meta */
    --border-color: #e5e3d7;        /* Soft Divider Border */
    --title-brown: #4a4800;         /*Article Title */
     
    /* Typography System Settings */
    --font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    h1,h2,h3,h4,h5,h6 {text-wrap: balance;}

    }
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    background-color: #f7f6f0;
    color: var(--text-main);
    line-height: 1.65;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    /* Advanced OpenType typographic features for Inter */
    font-feature-settings: "cv05" 1, "cv08" 1, "cv11" 1, "ss01" 1;
    font-variant-numeric: tabular-nums lining-nums;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

main {
    flex: 1;
}

/* -----------------------------------
   1. Responsive Navigation Bar (.tnav)
-------------------------------------- */
.tnav {
    background-color: var(--accent-color);
    overflow: hidden;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.tnav a {
    font-family: "Times New Roman", Times, serif; 
    color: var(--text-main); 
    text-decoration: none;
    padding: 10px 14px;
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    transition: all 0.25s ease;
}

.tnav a:hover {
    background-color: var(--primary-dark);
    color: var(--accent-color);
    border-radius: 4px;
}

.tnav .logo1 {
width: 5rem;
height: 3rem;
margin-left: 0;
}

.tnav .flags {
    width: 2rem;
    height: 2rem;
}
.tnav .home {
    width: 1.5rem;
    height: 1.5rem;
}

.tnav .right-lnk {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-search-form {
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2px 10px;
    transition: background-color 0.3s ease;
    margin-right: 1rem;
}

.nav-search-form:focus-within {
    background-color: rgba(255, 255, 255, 0.22);
    border-color: var(--primary-color);
}

.nav-search-form input {
    border: none;
    background: transparent;
    color: #ffffff;
    padding: 6px 8px;
    font-size: 0.85rem;
    outline: none;
    font-family: inherit;
}

.nav-search-form input::placeholder {
    color: rgba(255, 255, 255, 0.65);
}

.nav-search-form button {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 4px;
}

.nav-search-form input:-webkit-autofill,
.nav-search-form input:-webkit-autofill:hover,
.nav-search-form input:-webkit-autofill:focus {
    -webkit-text-fill-color: #ffffff;
    -webkit-box-shadow: 0 0 0px 1000px rgba(182, 172, 98, 0) inset;
    box-shadow: 0 0 0px 1000px rgba(182, 172, 98, 0) inset;
    transition: background-color 5000s ease-in-out 0s;
    caret-color: #ffffff;
}


.tnav .icon {
    display: none;
    cursor: pointer;
}

.tnav .menu-icon {
    fill: #ffffff;
}

/* -----------------------------------
   2. Breadcrumbs Navigation
-------------------------------------- */
.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    padding: 6px 2.5rem;
    background-color: var(--primary-light);
    font-size: 0.85rem;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumbs div {
    display: flex;
    align-items: center;
}

.breadcrumbs div + div::before {
    content: "›";
    padding: 0 10px;
    color: var(--primary-dark);
    font-weight: 600;
}

.breadcrumbs a {
    color: var(--text-main); 
    text-decoration: none;
    font-weight: 500;
    margin: 5px;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs .current a {
    color: var(--primary-dark);
    font-weight: 700;
    pointer-events: none;
}

/* -----------------------------------
   3. Hero Section
-------------------------------------- */
.hero {
    width: 100%;
    min-height: 62vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url(../img/aloes-mobile.webp);
}

@media screen and (min-width: 600px) {
    .hero { background-image: url(../img/aloes-medium.webp); }
}

@media screen and (min-width: 1024px) {
    .hero { background-image: url(../img/aloes-large.webp); }
}

.hero-overlay {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 1.5rem;
}

.hero-content {
    text-align: center;
    color: #ffffff;
    max-width: 800px;
}

.hero-tag {
    display: inline-block;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 2px;
    font-weight: 700;
    color: var(--primary-color);
    background-color: rgba(46, 35, 22, 0.6);
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 1rem;
    border: 1px solid var(--primary-color);
}

.hero-content h1 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 300;
    color: #f1f1f1;
    margin-bottom: 1.75rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    background-color: var(--primary-color);
    color: var(--bg-light);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    border-radius: 30px;
    transition: transform 0.2s ease, background-color 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn:hover {
    background-color: #c4bd62;
    transform: translateY(-2px);
}

/* -----------------------------------
   4. Typography & Layout System
-------------------------------------- */
.container {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 .5rem;
}

.layout-section {
    margin-bottom: 4rem;
}

.section-header {
    margin-bottom: 1.75rem;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.75rem;
}

h2{
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 700;
    color: var(--title-brown);
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-top: 0.25rem;
}
dl {
font-size : 1.05rem;
margin-left: .3rem;
}
dd {
  margin-left: 1rem;
  display: inline;
}
dt {
   display: inline-block; 
  color : #464545;
  font-weight: 700;
 color: var(--text-main);
}
dd:after {
  content: '\a';
  white-space: pre;

}

ol {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

/* Responsive CSS Grids */
.grid {
    display: grid;
    gap: 1.75rem;
    padding-top: 2rem;
}

.grid-1-col {
    grid-template-columns: 1fr;
}

.grid-2-col {
    grid-template-columns: repeat(1, 1fr);
    padding-bottom: 2rem;
}

.grid-3-col {
    grid-template-columns: repeat(1, 1fr);
}

.grid-4-col {
    grid-template-columns: repeat(1, 1fr);
}

/* Media Query Breakpoints for Responsive Grid Columns */
@media screen and (min-width: 640px) {
    .grid-2-col { grid-template-columns: repeat(2, 1fr); }
    .grid-3-col { grid-template-columns: repeat(2, 1fr); }
    .grid-4-col { grid-template-columns: repeat(2, 1fr); }
}

@media screen and (min-width: 992px) {
    .grid-3-col { grid-template-columns: repeat(3, 1fr); }
    .grid-4-col { grid-template-columns: repeat(4, 1fr); }
}

/* Domyślnie na ekranach mobilnych – 1 kolumna */
.grid-75-25,
.grid-25-75 {
    display: grid;
    gap: 1.75rem;
    grid-template-columns: 1fr;
}

/* Ekrany komputerów i tabletów (od 850px) */
@media screen and (min-width: 850px) {
    /* Układ: 75% Lewa | 25% Prawa */
    .grid-75-25 {
        grid-template-columns: 3fr 1fr; /* 3fr do 1fr daje dokładny stosunek 75% do 25% */
    }

    /* Układ: 25% Lewa | 75% Prawa */
    .grid-25-75 {
        grid-template-columns: 1fr 3fr; /* 1fr do 3fr daje dokładny stosunek 25% do 75% */
    }
}



/* Article Cards & Typography Details */
.article-card {
    background: var(--bg-card);
    padding: 1.75rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
    border-color: var(--primary-color);
}
article a {
text-decoration : none;
outline : 0;
color: var(--title-brown); 
}

.featured-card {
    border-top: 5px solid var(--primary-color);
    padding: .7rem;
}

.mini-card {
    padding: 1.25rem;
}

.meta-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    display: inline-block;
}

.meta-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    display: block;
}

.article-title {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: -0.015em;
    color: var(--title-brown);
    line-height: 1.3;
    margin-bottom: 0.75rem;
}

.featured-card .article-title {
    font-size: clamp(1.5rem, 2.5vw, 1.85rem);
}

.mini-card .article-title {
    font-size: 1.1rem;
}

.lead {
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--text-main);
    line-height: 1.6;
    margin-bottom: 1rem;
    text-indent: 1rem;
}

p, ul {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-rendering: optimizeLegibility;
    text-wrap: pretty;
}
h3 {
font-size : 1.6rem;
font-family: "Times New Roman", Times, serif;  
color: var(--title-brown); 
text-align : center;
padding-bottom: 2rem;
}
h3.tyt {
text-align : left;
}

.mini-card .article-body {
    font-size: 0.88rem;
    margin-bottom: 1rem;
}

.read-more-link {
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: color 0.2s ease, transform 0.2s ease;
    margin: .5gaprem;
}

.read-more-link:hover {
    color: var(--accent-color);
    transform: translateX(3px);
}
.centr {
display: block;
margin-left : auto;
margin-right : auto;
white-space: pre-wrap;
}

/* -----------------------------------
   5. Footer Styling
-------------------------------------- */
.site-footer {
    background-color: var(--accent-color);
    color: #ffffff;
    margin-top: auto;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem 1rem 1.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.5rem;
}
.footer-col {
    margin-top: 1rem;
}

.footer-col h3 {
    color: var(--primary-color);
    margin-bottom: 1.25rem;
    font-size: 1.1rem;
    font-weight: 700;
}

.footer-col p {
    font-size: 0.9rem;
    color: black;
    line-height: 1.6;
    color: var(--text-main); 
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.6rem;
    text-align: center;
}

.footer-col ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-col ul li a:hover {
    color: var(--text-main);
    
}

.footer-bottom {
    display: flex;
    background-color: rgba(0, 0, 0, 0.25);
  justify-content: center;
    padding: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* -----------------------------------
   6. Navigation Mobile Switcher (Fixed)
-------------------------------------- */
@media screen and (max-width: 900px) {
    /* Hide top level desktop links by default in mobile view */
    .tnav > a:not(.icon):not([title="Logo Africangamesafari"]),
    .tnav .right-lnk {
        display: none;
    }

    /* Show hamburger icon in mobile top bar */
    .tnav a.icon {
        display: flex;
        align-items: center;
        margin-left: auto;
    }

    /* Expanded Mobile Drawer View when toggled */
    .tnav.responsive {
        position: relative;
        flex-direction: column;
        align-items: flex-start;
    }

    .tnav.responsive a.icon {
        position: absolute;
        right: 1rem;
        top: 0.6rem;
    }

    .tnav.responsive > a,
    .tnav.responsive .right-lnk {
        display: flex !important;
        width: 100%;
        text-align: left;
    }

    .tnav.responsive .right-lnk {
        flex-direction: column;
        align-items: flex-start;
        padding-top: 0.5rem;
        margin-left: 0;
    }

    .tnav.responsive .nav-search-form {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .tnav.responsive .nav-search-form input {
        width: 100%;
    }
}

.fo {
color: var(--text-main); 
}
.fo:after {
content : ' 2026 Africangamesafari, Inc. All rights reserved.';
}

figure img.obraz{
margin-bottom: .5rem;
}

figcaption {
color: #555;
padding: 0;
max-width: 65ch;
text-wrap: pretty;
display : block;
margin-left : auto;
margin-right : auto;
padding-top: 0;
margin-bottom: 3rem;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 0;
  margin: 0;
  padding: 0;
}
img.obraz {
display : block;
margin-left : auto;
margin-right : auto;
}

  img.obraz.ramka {
border : #8c8527 solid 1px;
padding: .2rem;
margin-bottom: 3rem;
}



 


 /* 2. The Back to Top Button Container */
        .back-to-top {
            /* Fixed positioning keeps it on screen while scrolling */
            position: fixed;
            bottom: 30px;
            right: 30px;
            
            /* Visual Styling */
            background-color: var(--primary-color);
            color: var(--bg-card);
            border: none;
            border-radius: 50%; /* Makes it a circle */
            width: 50px;
            height: 50px;
            
            /* Center the arrow icon */
            display: flex;
            justify-content: center;
            align-items: center;
            
            /* Hidden by default */
            opacity: 0;
            visibility: hidden;
            transform: translateY(20px);
            transition: all 0.4s ease-in-out;
            
            /* Ensure it sits on top of other content */
            z-index: 1000;
            cursor: pointer;
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        }

        /* 3. Hover Effects */
        .back-to-top:hover {
             background-color: var(--primary-dark);
            transform: translateY(15px); /* Move up slightly */
        }

        /* 4. The Arrow Icon (CSS shape) */
        .back-to-top::after {
            content: '';
            display: block;
            width: 0;
            height: 0;
            border-left: 8px solid transparent;
            border-right: 8px solid transparent;
            border-bottom: 8px solid white;
            /* Adjust position to point up */
            margin-bottom: 5px; 
        }

        /* 5. Class to show the button (Toggle this via JS or CSS scroll-behavior logic) */
        .back-to-top.show {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }
        
        /* Optional: Smooth scroll for anchor links */
      

         table {
 background-color : #e8dfce;
margin-top: 2rem;
}
 table tr th, table tr td  {
    text-align: center; 
margin-left:auto;
margin-right:auto;
padding: .5rem;
}

table tr th {
  color : #4e4c4c;
  text-align: center;
}
table, th, td {
  border: 1px solid white;
  border-collapse: collapse;
  align: center;

}

table caption {
 font-size: 1.2rem;
 margin: 2rem;
}

table tr td{
   font-size:1rem;
   color: #4a515d;
   line-height: 1.4 !important;
   }