/* Full-width sekcie */
/* ===== SPACE GROTESK ===== */

/* Regular 400 */
@font-face {
    font-family: 'Space Grotesk';
    src: url('/moro/space-grotesk-v22-latin-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Medium 500 */
@font-face {
    font-family: 'Space Grotesk';
    src: url('/moro/space-grotesk-v22-latin-500.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* SemiBold 600 */
@font-face {
    font-family: 'Space Grotesk';
    src: url('/moro/space-grotesk-v22-latin-600.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* Bold 700 */
@font-face {
    font-family: 'Space Grotesk';
    src: url('/moro/space-grotesk-v22-latin-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ===== POUŽITIE ===== */

body {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 400;
}
body {
    font-family: 'Space Grotesk', sans-serif;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3 {
    font-weight: 700;
}

h4, h5, h6 {
    font-weight: 600;
}

strong, b {
    font-weight: 700;
}
h1, h2, h3, h4, h5, h6 {    font-family: 'Space Grotesk', sans-serif;
}
html, body, div, header, main, section, article, footer, nav, ul, li, p, h1, h2, h3 {
    margin: 0;
    padding: 0;
}
 html, body {
    overflow-x: hidden !important;
    max-width: 100%;
}
* {
    box-sizing: border-box;
}

body {    margin: 0 !important;
    padding: 0 !important;
}
h2, h3 {color:#A90000;margin-bottom:15px;}
.intro-section ul {color:#00004F;margin-bottom:15px;}
/* ==================== HAMBURGER MENU ==================== */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}
.cento{margin-top:20px;
	display:block;
        margin-left: auto;
        margin-right: auto;
	margin-bottom:20px;
}
 
.hamburger span {
    height: 3px;
    width: 100%;
    background: white;
    border-radius: 3px;
    transition: all 0.3s;
}

/* Mobilné zobrazenie */
@media (max-width: 992px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {  font-family: 'Space Grotesk', sans-serif;
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: 70px;
        background: #677676;
        flex-direction: column;
        align-items: center;
        justify-content: start;
        padding-top: 50px;
        transition: left 0.4s ease;
        z-index: 1000;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 25px;
    }
    
    .main-nav li a {
        font-size: 1.65rem;
    }
}

/* Animácia hamburgeru (X) */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}
/* ==================== ODSTRÁNENIE HORIZONTAL SCROLLBARU ==================== */
html, 
body {  font-family: 'Space Grotesk', sans-serif;
    margin: 0;
    padding: 0;
 
    width: 100%;
    max-width: 100%;
}
.article-main-title{font-size:24px;}




/* Medzery pod odstavcami */
p {  font-family: 'Space Grotesk', sans-serif;
    margin-bottom: 1.0rem;     /* hlavná medzera pod odstavcom */
    line-height: 1.5;
}

p:last-child {
    margin-bottom: 0;          /* posledný odstavec v sekcii bez medzery */
}

/* Väčšie medzery v úvodnom texte */
.intro-text p,
.intro-content p,
.intro-section p {
    margin-bottom: 1.6rem;font-weight:500;
    font-size: 1.08rem;
}

/* Ak chceš ešte väčšie medzery */
.intro-text p {
    margin-bottom: 1.2rem;
}
.hero-full {
    background: linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.75)), url('moro/press.jpg') center/cover no-repeat;
    height: 85vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
}
.hero-simple {
    background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)), 
                url('http://vyznam.eu/moro/press.jpg') center/cover no-repeat;
    height: 70vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: -20px;
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero-content h1 {text-shadow: 2px 2px 4px #000000;
    font-size: 3.2rem;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.35rem;
    max-width: 700px;
    margin: 0 auto 2rem;
}
/* ==================== HEADER & NAV ==================== */
.site-header {
    background: #3f4949;height:60px;
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 80px;
    max-width: 1400px;
    margin: 0 auto;
}

.logo a {
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
       display: flex;
    align-items: center;
    gap: 10px;
}

.logo a:hover {
    color: #FDD857;
}

/* NAVIGÁCIA */
.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    margin: 0;
  
}

.main-nav li a {font-size: 1.25rem;
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
}

.main-nav li a:hover {
    color: #FDD857;
}

.main-nav li a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #fff;
    transition: width 0.3s;
}

.main-nav li a:hover::after {
    width: 100%;
}

/* Responzívne menu */
@media (max-width: 992px) {
    .header-inner {
        padding: 1rem 15px;
    }
    
    .main-nav ul {
        gap: 1.5rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .main-nav ul {
        gap: 1rem;
    }
    
    .logo a {
        font-size: 1.35rem;
    }
}
.category-article {
    padding: 40px 0 40px;
     
}
.logo a{ color: #8adba8;text-shadow: 0 2px 8px rgba(0,0,0,1.8);}
.btn-green {
    background: #8adba8;
    color: black;
    padding: 16px 80px;
    border-radius: 12px;
    font-size: 1.15rem;
    text-decoration: none;
    font-weight: 600;
}


.intro-section {width:900px;margin: 0 auto;text-align:justify;
    padding: 40px 0;
    background: #fff; 
}
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
} 
.section-white { padding: 100px 0; background: #fff; }
.section-dark  { padding: 100px 0; background: #1e2937; color: #e2e8f0; }

.section-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 3rem;
}

/* Modern cards */
.articles-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
}

.modern-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.modern-card:hover {
    transform: translateY(-10px);
}

.modern-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.card-content {
    padding: 1.5rem;
}

.card-content h3 {
    font-size: 1.35rem;
    line-height: 1.35;
    margin-bottom: 0.5rem;
}

/* Buttons */
.btn-main {
    background: #22c55e;
    color: black;
    padding: 16px 42px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    margin-top: 1.5rem;
}

.btn-secondary {
    background: transparent;
    border: 2px solid #22c55e;
    color: #22c55e;
    padding: 14px 36px;
    border-radius: 50px;
    text-decoration: none;
}

footer {
    background: #677676; /* tmavomodrá */
    color: #ffffff;
    text-align: center;
    padding: 25px 15px;
    margin-top: 60px;
    font-size: 20px;
}

footer p {text-shadow: 2px 2px 4px #000000; font-weight:500;
    margin: 0;
    color: #ffffff;
}
/* ==================== KATEGÓRIE (kategoria.php) ==================== */
/* ==================== KOMPAKTNEJŠÍ VZHĽAD KATEGÓRIÍ ==================== */
.articles-linear {
    max-width: 920px;
    margin: 40px auto;
    padding: 0 20px;
}

.article-row {
    margin-bottom: 1.8rem;        /* výrazne zmenšené */
    padding-bottom: 1.6rem;
    border-bottom: 1px solid #e5e7eb;
}

.article-row:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}



.article-title a {font-size: 1.35rem;
    color: #BB5E00;
}

.article-title a:hover {
    color: #00004F;
}

.article-meta {
    color: #6b7280;
    font-size: 0.98rem;
    margin-bottom: 0.85rem;
}

.article-excerpt {
    font-size: 1.06rem;
    line-height: 1.65;
    color: #374151;
    margin-bottom: 1rem;
}

.read-more-btn {
    color: #166534;
    font-weight: 600;
}

/* Extra kompaktný režim (ak chceš ešte viac zhustiť) */
.compact .article-row {
    margin-bottom: 1.4rem;
    padding-bottom: 1.3rem;
}
.read-more-btn {
    color: #15803d;
    font-weight: 600;
    text-decoration: none;
    font-size: 1.05rem;
}

.read-more-btn:hover {
    text-decoration: underline;
}

/* ==================== JEDNOTLIVÝ ČLÁNOK (stranka.php) ==================== */
.single-article {max-width:1050px; margin: 0 auto;
    padding: 40px 0 40px;
    background: #fff;
}

.single-article h1 { font-size: 1.55rem;
}

.article-meta-top {
    color: #677676;
    font-size: 0.8rem;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #0000B0;
}

.featured-image {
    margin: 2.5rem 0 3rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.featured-image img {
    width: 100%;
    height: auto;
    display: block;
}
.article-main-title {
    margin: 1.2rem 0 1.2rem;
    font-size: 2.35rem;
    color: #C10000;
}
.article-content {margin: 0 auto;text-align:justify; text-indent:20px;font-weight:500;
    font-size: 16px;
    line-height: 1.5;
    color: #1f2937;
    max-width: 860px;
}
 
.article-content h2 {
    margin: 2.2rem 0 1.2rem;
    font-size: 1.15rem;
    color: #C10000;
}

.article-content h3 {
    margin: 2.2rem 0 1rem;
    font-size: 1.15rem;
}

.article-content p {
    margin-bottom: 0.6rem;
}

.article-footer {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #677676;
}

.back-link {
    color: #677676;
    text-decoration: none;
    font-weight: 500;
}

.back-link:hover {
    text-decoration: underline;
}





/* Responzívne úpravy */
@media (max-width: 768px) {
    .article-main-title {
        font-size: 2.1rem;
    }
    
    .articles-linear {
        padding: 0 15px;
    }
    
    .article-title a{
        font-size: 1.15rem;
    }
}

/* ==================== PAGINATION ==================== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 3rem 0 2rem;
    flex-wrap: wrap;
}

.pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 48px;
    padding: 0 16px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    color: #C10000;
    transition: all 0.3s ease;
    background: white;
}

.pagination a:hover {
    background: #f3f4f6;
    border-color: #166534;
    color: #166534;
}

.pagination a.active {
    background: #C10000;
    color: white;
    border-color: #C10000;
    box-shadow: 0 4px 12px rgba(22, 101, 52, 0.3);
}

/* Pre predchádzajúci a ďalší */
.pagination a.prev,
.pagination a.next {
    min-width: 120px;
}

.article-layout {
    display: flex;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: flex-start;     /* dôležité */
}

.article-main {
    flex: 1;
}

.article-sidebar {
    width: 240px;
    flex-shrink: 0;
    position: sticky;
    top: 65px;           /* vzdialenosť od vrchu */
    align-self: start;   /* veľmi dôležité pre správne fungovanie sticky */
}

/* Banner štýl */
.sidebar-banner {top: 65px;    
    margin-bottom: 20px;
    text-align: center;
}

.sidebar-banner img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}

/* Responsive - na mobile sidebar ide dole */
@media (max-width: 992px) {
    .article-layout {
        flex-direction: column;
    }
    .article-sidebar {
        width: 100%;
        position: static;     /* sticky vypneme na mobile */
    }
}
 

 
