:root {
    --primary-color: #1a4a6e; /* Blejsko modra */
    --primary-hover: #133854;
    --text-dark: #2d3436;
    --text-light: #636e72;
    --bg-gray: #f8f9fa;
    --sidebar-width: 280px;
    --header-height: 85px;
    --transition-speed: 0.25s;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    background-color: #fff;
    color: var(--text-dark);
    line-height: 1.3;
}

.main-content p {
    text-align: justify;
    text-justify: inter-word;
}

.fullscreen-placeholder {
    width: 100vw;
    min-height: calc(100dvh - var(--header-height));
    margin-left: calc(50% - 50vw);
    display: grid;
    place-items: center;
    text-align: center;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
}

.hero-section {
    margin-bottom: 2rem;
}

.home-top-banner {
    margin-bottom: 1.5rem;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.12);
    width: 100%;
}

.home-top-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(8, 20, 31, 0.72) 0%,
        rgba(8, 20, 31, 0.38) 38%,
        rgba(8, 20, 31, 0.1) 68%,
        rgba(8, 20, 31, 0) 100%
    );
    pointer-events: none;
}

.home-top-banner img {
    display: block;
    width: 100%;
    height: auto;
}

.home-banner-header {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    padding: 1.1rem 1.4rem 1.2rem;
    z-index: 1;
}

.home-banner-header h2 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(1rem, 2.1vw, 1.45rem);
    line-height: 1.3;
    text-wrap: balance;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
}

/* Mobile: Remove overlay and change text to black */
@media (max-width: 767px) {
    .home-top-banner::after {
        display: none;
    }

    .home-banner-header {
        position: static;
        padding: 1rem 1.4rem;
    }

    .home-banner-header h2 {
        color: #000000;
        text-shadow: none;
    }
}

.home-hero-layout {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: stretch;
}

.home-hero-copy {
    flex: 1 1 50%;
}

.lead {
    margin: 0;
    font-size: 1rem;
    line-height: 1.3;
    color: var(--text-dark);
}

.home-hero-image {
    flex: 1 1 50%;
    min-height: 280px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.12);
}

.home-hero-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.app-wrapper {
    display: flex;
    flex-direction: column;
}

/* SIDEBAR */
.sidebar {
    background-color: var(--bg-gray);
    border-right: 1px solid #eef0f1;
    width: 100%;
    z-index: 100;
}

.sidebar-logo {
    background-color: rgb(138, 192, 255);
    color: white;
    font-weight: 700;
    font-size: 1.4rem;
    height: var(--header-height);
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    letter-spacing: 1.5px;
}

.sidebar-logo-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    width: 100%;
    padding: 0 0.8rem;
}

.sidebar-logo-subtitle {
    color: black;
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    margin: 0;
    opacity: 0.9;
    line-height: 1.2;
    text-align: left;
}

.sidebar-logo-image {
    height: calc(var(--header-height)* 0.75);
    
    width: auto;
    display: block;
    object-fit: contain;
    flex-shrink: 0;
}

.main-nav {
    padding: 2.5rem 1rem;
}

.main-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.main-nav li { margin-bottom: 0.6rem; }

.main-nav a {
    text-decoration: none;
    color: var(--text-dark);
    display: block;
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 500;
    transition: all var(--transition-speed);
}

.main-nav a:hover, .main-nav a.active {
    background-color: #e2e7ec;
    color: var(--primary-color);
    font-weight: 700;
}

.sidebar-footer {
    padding: 2rem 1.2rem 1rem;
    font-size: 0.8rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.6;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 42px;
    height: 42px;
    border: 1px solid #d6dde3;
    border-radius: 10px;
    background: #fff;
    margin-right: 0.9rem;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 0 auto;
    background: var(--primary-color);
}

.mobile-nav-backdrop {
    display: none;
}

/* DESNI DEL */
.main-wrapper {
    flex: 1;
    min-width: 0;
}

/* TOP BAR S SENCO IN ZAMEGLITVIJO */
.top-bar {
    position: sticky;
    top: 0;
    height: var(--header-height);
    padding: 0 2rem;
    display: flex;
    align-items: center;
    z-index: 90;
    background-color: #8fa6b7;
    overflow: hidden;
    isolation: isolate;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.04), 
        0 10px 20px -5px rgba(0, 0, 0, 0.08);
}

.top-bar::before {
    content: "";
    position: absolute;
    inset: -16px -40px;
    background-image: url('gallery/Bled_ultra_horizontal.jpg');
    background-size: cover;
    background-position: right;
    background-repeat: no-repeat;
    filter: blur(24px) saturate(1.15);
    transform: scale(1.08);
    opacity: 0.9;
    z-index: 0;
}


.top-bar > * {
    position: relative;
    z-index: 2;
}

.conference-title {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    line-height: 1.3;
}

.main-content {
    padding: 2rem;
    background-image: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.80)),
        url('picture/bled_otok.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.site-footer {
   
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.9);
}

.site-footer-ack {
    margin: 0;
    font-size: 0.7rem;
    line-height: 1.6;
    color: var(--text-dark);
}

.site-footer-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 0.5rem 1.5rem;

    padding-top: 1rem;

    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.site-footer-meta p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--text-dark);
}

.site-footer-meta a {
    color: var(--primary-color);
    text-decoration: none;
}

.site-footer-meta a:hover {
    text-decoration: underline;
}

.site-footer-copy {
    margin: 1rem 0 0;
    font-size: 0.82rem;
    line-height: 1.4;
    color: #7b858c;
}

.site-footer-copy + .site-footer-copy {
    margin-top: 0.3rem;
}

#content-area {
    max-width: 1100px;
    margin: 0 auto;
    transition: opacity var(--transition-speed) ease-in-out;
}

/* Author guidelines page specific cards */
.author-guidelines-page .content-header {
    margin-bottom: 1.1rem;
}

.author-guidelines-page .content-header h2 {
    margin: 0;
    color: var(--primary-color);
}

.author-guidelines-page .content-block {
    margin: 0 0 1.2rem;
    padding: 1.2rem 1.3rem;
    border: 1px solid #d8e1e8;
    border-left: 5px solid var(--primary-color);
    border-radius: 12px;
    background-color: rgba(170, 218, 255, 0.5);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.07);
}

.author-guidelines-page .content-block h3,
.author-guidelines-page .content-block h4 {
    color: var(--primary-color);
}

@media (max-width: 767px) {
    .author-guidelines-page .content-block {
        padding: 1rem;
    }
}

/* DESKTOP KONFIGURACIJA (Breakpoint na 768px) */
@media (min-width: 768px) {
    .app-wrapper {
        flex-direction: row;
    }

    .home-hero-layout {
        flex-direction: row;
        align-items: stretch;
        gap: 2rem;
    }

    .home-hero-copy,
    .home-hero-image {
        flex-basis: 50%;
    }

    .home-hero-image {
        min-height: 100%;
    }

    .sidebar {
        width: var(--sidebar-width);
        min-width: var(--sidebar-width);
        height: 100vh;
        position: sticky;
        top: 0;
        /* PREPREČITEV SCROLLANJA */
        overflow: hidden; 
    }

    .top-bar {
        padding: 0 3rem;
    }

    .conference-title {
        font-size: 1.05rem;
    }

    .main-content {
        padding: 3rem 4rem;
    }

    .site-footer {
        padding: 1.2rem 4rem 1.8rem;
    }
}

@media (min-width: 1200px) {
    .top-bar { padding: 0 4rem; }
    .main-content { padding: 4rem 6rem; }
    .site-footer { padding: 1.4rem 6rem 2rem; }
}

@media (max-width: 767px) {
    .menu-toggle {
        display: inline-flex;
        flex-shrink: 0;
    }

    .top-bar {
        padding: 0 1rem;
    }

    .conference-title {
        font-size: 0.78rem;
    }

    .sidebar {
        position: fixed;
        top: 0;
        left: 0;
        width: min(86vw, 320px);
        height: 100dvh;
        z-index: 140;
        box-shadow: 12px 0 30px rgba(0, 0, 0, 0.22);
        transform: translateX(-100%);
        transition: transform var(--transition-speed) ease;
        overflow-y: auto;
    }

    .sidebar.is-open {
        transform: translateX(0);
    }

    .mobile-nav-backdrop.show {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.35);
        z-index: 130;
    }

    body.menu-open {
        overflow: hidden;
    }
}



/*valov del*/

.logo-container{
display:flex;
flex-wrap:wrap;
justify-content:center;
gap:30px;
background-color: var(--bg-gray);
border: 1px solid #e2e7ec;
border-radius: 14px;
padding: 1.5rem;
}

.logo{
position:relative;
}

.logo img{
height:100px;
width:auto;
cursor:pointer;
transition:transform 0.2s;
}

.logo-ulfe{
flex:0 0 100%;
display:flex;
justify-content:center;
}

.logo-ulfe img{
height:130px;
}

@media (max-width: 768px) {
    .logo-ulfe img {
        height: auto;
        max-width: 100%;
        
    }
}

.logo img:hover{
transform:scale(1.1);
}

.logo span{
position:absolute;
bottom:-28px;
left:50%;
transform:translateX(-50%);
background:black;
color:white;
padding:4px 8px;
font-size:12px;
border-radius:4px;
white-space:nowrap;
opacity:0;
transition:opacity 0.2s;
}

.logo:hover span{
opacity:1;
}

/* TRACKS PAGE */
.track-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.track-nav-btn {
    display: inline-block;
    padding: 0.5rem 1.1rem;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: background-color var(--transition-speed), transform var(--transition-speed);
}

.track-nav-btn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

.track-nav-special {
    background-color: #5ba4cf;
}

.track-nav-special:hover {
    background-color: #4890b8;
}

/* Special Track */
.special-track-block {
    border-left: 5px solid #5ba4cf;
    padding-left: 1.5rem;
    margin-top: 2.5rem;
    scroll-margin-top: calc(var(--header-height) + 2rem);
    background: linear-gradient(135deg, rgba(91, 164, 207, 0.08), rgba(72, 144, 184, 0.03));
    border-radius: 0 12px 12px 0;
    padding: 2rem 2rem 2rem 1.5rem;
}

.special-track-banner {
    margin-bottom: 1.2rem;
}

.special-track-badge {
    display: inline-block;
    background-color: #5ba4cf;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.3rem 0.9rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.special-track-banner h2 {
    margin: 0.5rem 0 0;
    font-size: 1.6rem;
    color: var(--text-dark);
    font-weight: 700;
}

/* Technology Tracks Heading */
.tech-tracks-heading {
    text-align: center;
    margin: 1rem 0 0;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid var(--primary-color);
}

.tech-tracks-heading h2 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Track Blocks */
.track-block {
    border-left: 4px solid var(--primary-color);
    padding-left: 1.5rem;
    margin-top: 2.5rem;
    scroll-margin-top: calc(var(--header-height) + 2rem);
    line-height: 1.2;
}

.track-header {
    margin-bottom: 1rem;
}

.track-header h3 {
    margin: 0.3rem 0 0;
    font-size: 1.25rem;
    color: var(--text-dark);
}

.track-number {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.2rem 0.7rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}



.track-chairs h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 0.25rem;
}

.track-chairs ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.track-chairs li {
    
    font-size: 0.95rem;
    line-height: 1.5;
}

.track-chairs li em {
    color: var(--text-light);
    font-style: normal;
}



.track-description p {
    font-size: 0.95rem;
    line-height: 1.3;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
    
}

.track-description-toggle {
    margin-top: 0.25rem;
    border: 1px solid #b7c9d8;
    background: linear-gradient(180deg, #f9fcff 0%, #edf5fb 100%);
    color: var(--primary-color);
    border-radius: 999px;
    padding: 0.38rem 0.9rem;
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1.3;
    cursor: pointer;
    transition: background-color var(--transition-speed), border-color var(--transition-speed), color var(--transition-speed), transform var(--transition-speed), box-shadow var(--transition-speed);
}

.track-description-toggle:hover {
    background: linear-gradient(180deg, #f2f8fd 0%, #e3eef8 100%);
    border-color: #9db8cd;
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(26, 74, 110, 0.14);
}

.track-description-toggle:active {
    transform: translateY(0);
    box-shadow: none;
}

.track-description-toggle:focus-visible {
    outline: 2px solid #3f7fa8;
    outline-offset: 2px;
}

.track-topics {
    padding-left: 1.2rem;
    margin: 0.5rem 0 0;
}

.track-topics li {
    font-size: 0.93rem;
    line-height: 1.4;
    
    color: var(--text-dark);
}

.track-topics li::marker {
    color: var(--primary-color);
}

/* COMMITTEE PAGE */
.committee-grid {
    display: grid;
    grid-template-columns: 1fr; /* mobile: 1 per row */
    gap: 1rem;
    margin-top: 1rem;
}

@media (min-width: 1200px) {
    .committee-grid {
        grid-template-columns: repeat(2, 1fr); /* max 2 per row */
    }
}

.committee-block {
    background: #fff;
    border: 1px solid #e8edf1;
    border-radius: 10px;
    padding: 1rem 1.2rem;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.04);
}

.committee-block h3 {
    margin: 0 0 0.6rem;
    color: var(--primary-color);
    font-size: 1.02rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.committee-block ul {
    margin: 0;
    padding-left: 1.2rem;
}

.committee-block li {
    margin: 0.28rem 0;
    line-height: 1.55;
    color: var(--text-dark);
    font-size: 0.94rem;
}

.committee-empty {
    margin: 0;
    color: var(--text-light);
    font-size: 0.93rem;
    font-style: italic;
}

.committee-block-large {
    margin-top: 1.4rem;
}

.technical-sponsors {
    margin-top: 1.4rem;
}

.technical-sponsors .committee-block h3 {
    margin-bottom: 0.4rem;
}

.technical-sponsors-intro {
    margin: 0 0 1rem;
    color: var(--text-dark);
    line-height: 1.3;
    font-size: 0.95rem;
}

.technical-sponsor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.technical-sponsor-card {
    background: #f8fbfd;
    border: 1px solid #d8e1e8;
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.04);
}

.technical-sponsor-card img {
    display: block;
    width: 100%;
    max-width: 220px;
    height: 84px;
    object-fit: contain;
    margin: 0 auto 0.85rem;
}

.technical-sponsor-card h4 {
    margin: 0 0 0.35rem;
    color: var(--primary-color);
    font-size: 0.98rem;
    line-height: 1.3;
}

.technical-sponsor-card p {
    margin: 0;
    color: var(--text-dark);
    font-size: 0.92rem;
    line-height: 1.3;
}

.technical-sponsor-card.text-only {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 170px;
}

.committee-columns {
    columns: 2;
    column-gap: 1.8rem;
    padding-left: 1.2rem;
}

.committee-columns li {
    break-inside: avoid;
}

@media (max-width: 768px) {
    .committee-columns {
        columns: 1;
    }
}

/* TRAVEL PAGE */
.travel-section {
    margin-top: 1.2rem;
    padding-bottom: 0.8rem;
}

.travel-section h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 0.6rem;
}

.travel-section p {
    font-size: 0.95rem;
    line-height: 1.3;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
}

.travel-list {
    list-style: none;
    padding-left: 0;
    margin: 0.5rem 0;
}

.travel-list li {
    font-size: 0.93rem;
    line-height: 1.3;
    padding: 0.3rem 0 0.3rem 1.5rem;
    color: var(--text-dark);
    position: relative;
}

.travel-list li:before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.travel-map-block {
    margin-top: 1.2rem;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border: 1px solid #dfe6eb;
}

.travel-map-frame {
    display: block;
    width: 100%;
    height: 380px;
    border: 0;
}

/* GALLERY */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.gallery-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    display: block;
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.gallery-item p {
    margin: 0;
    padding: 1rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-color);
    text-align: center;
}

/* DATES PAGE */
.dates-layout {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    align-items: stretch;
}

.dates-container {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    
    max-width: 900px;
    margin: 0 auto;
}

.dates-photo-panel {
    width: min(100%, 380px);
    margin: 0 auto;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.16);
    border: 1px solid rgba(26, 74, 110, 0.16);
    background: rgba(255, 255, 255, 0.7);
}

.dates-photo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 3 / 4;
}

.date-box {
    display: flex;
    align-items: center;   
    padding: 0.9rem 1rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all var(--transition-speed);
    border-left: 5px solid;
}

.date-box:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.date-box-primary {
    background-color: rgb(145, 175, 196);
    border-left-color: var(--primary-color);
}

.date-box-light {
    background-color: rgb(156, 191, 211);
    border-left-color: #5ba4cf;
}

.date-box-highlight {
    background: linear-gradient(135deg, rgb(106, 191, 255), rgb(116, 168, 198));
    border-left-color: var(--primary-color);
}

.date-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.date-content {
    flex: 1;
}

.date-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 0.5rem;
}

.date-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.3rem;
}

.date-note {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.4;
}

@media (min-width: 992px) {
    .dates-layout {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 1.8rem;
    }

    .dates-container {
        flex: 1;
        max-width: 760px;
        margin: 0;
    }

    .dates-photo-panel {
        width: min(35vw, 340px);
        margin: 0;
    }
}

@media (max-width: 768px) {
    .home-top-banner {
        margin-bottom: 1.1rem;
        border-radius: 14px;
        max-width: 100%;
    }

    .home-banner-header {
        padding: 0.85rem 1rem 1rem;
    }

    .home-banner-header h2 {
        font-size: clamp(0.95rem, 4.5vw, 1.15rem);
        line-height: 1.32;
    }

    .hero-section {
        margin-bottom: 1.5rem;
    }

    .home-hero-image {
        order: 2;
        min-height: 220px;
    }

    .travel-map-frame {
        height: 280px;
    }

    .date-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 1.2rem 1.5rem;
    }
    
    .date-icon {
        font-size: 2rem;
    }
    
    .date-title {
        font-size: 1.05rem;
    }
    
    .date-value {
        font-size: 1.15rem;
    }

    .dates-photo-panel {
        width: min(100%, 420px);
    }
}




.journals-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 24px;
}

.journal-card {
  text-align: center;
}

.journal-card img {
  width: 100%;
  max-width: 200px;
  margin: 0 auto 12px;
  display: block;
  border-radius: 4px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.12);
}

.journal-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

.journal-meta {
  font-size: 14px;
  color: #444;
}

.journal-description {
  margin-top: 32px;
  font-size: 16px;
  line-height: 1.3;
}

@media (max-width: 1024px) {
  .journals-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .journals-container {
    grid-template-columns: 1fr;
  }
}