

h1, h2, h3 {
    color: #111111;
    font-weight: 700;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

h1 {
    font-size: 2.2rem;
    border-bottom: 2px solid #eaecef;
    padding-bottom: 10px;
}

h2 {
    font-size: 1.6rem;
    border-bottom: 1px solid #eaecef;
    padding-bottom: 8px;
    margin-top: 2em;
}

h3 {
    font-size: 1.2rem;
}

p {
    margin-top: 0;
    margin-bottom: 16px;
    text-align: justify;
}

a {
    color: #0366d6;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Landing Page Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

/* Specific grid for Big Awards showing 2-columns on large screens */
#buyuk-oduller .grid {
    grid-template-columns: repeat(auto-fill, minmax(440px, 1fr));
}

/* Standard vertical card */
.card {
    background-color: #ffffff;
    border: 1px solid #e1e4e8;
    border-radius: 6px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
}

.card:hover {
    border-color: #0366d6;
    background-color: #fafbfc;
}

.card-img-container {
    height: 160px;
    margin-bottom: 12px;
    overflow: hidden;
    border-radius: 4px;
    border: 1px solid #e1e4e8;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-category {
    font-size: 0.75rem;
    color: #586069;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 4px;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 6px 0;
    color: #0366d6;
}

.card-author {
    font-size: 0.85rem;
    color: #24292e;
    margin-bottom: auto;
}

.card-meta {
    font-size: 0.8rem;
    color: #586069;
    margin-top: 12px;
    border-top: 1px solid #e1e4e8;
    padding-top: 8px;
    display: flex;
    justify-content: space-between;
}

.card-btn {
    font-weight: 600;
    color: #0366d6;
}

/* Horizontal card design for Büyük Ödüller on Landing Page */
.card-horizontal {
    display: flex;
    flex-direction: row;
    align-items: center;
    background-color: #ffffff;
    border: 1px solid #e1e4e8;
    border-radius: 6px;
    padding: 16px;
    color: inherit;
    text-decoration: none;
    gap: 16px;
}

.card-horizontal:hover {
    border-color: #0366d6;
    background-color: #fafbfc;
}

.card-horizontal .card-img-container {
    width: 110px;
    height: 110px;
    flex-shrink: 0;
    margin-bottom: 0;
}

.card-horizontal .card-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
}

.card-horizontal .card-title {
    font-size: 1.05rem;
    margin-bottom: 4px;
}

/* Detail page general layout */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 20px;
    font-weight: 600;
}

.project-header {
    margin-bottom: 30px;
    text-align: left;
}

.project-meta {
    font-size: 0.9rem;
    color: #586069;
    margin-bottom: 8px;
}

.category-tag {
    font-weight: 600;
}

.location-tag {
    margin-left: 10px;
}

.project-title {
    font-size: 2.2rem;
    margin: 0 0 8px 0;
}

.project-author {
    font-size: 1.25rem;
    color: #24292e;
    font-weight: 400;
    margin: 0;
}

/* Horizontal Detail Page Header for Büyük Ödüller (resim solda başlık sağda) */
.detail-header-horizontal {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 30px;
    border-bottom: 2px solid #eaecef;
    padding-bottom: 20px;
}

.detail-header-horizontal .header-images {
    margin: 0;
    flex-shrink: 0;
}

.detail-header-horizontal .project-header {
    margin-bottom: 0;
    flex-grow: 1;
}

.detail-header-horizontal .project-title {
    border-bottom: none;
    padding-bottom: 0;
    font-size: 2rem;
}

.header-images {
    display: flex;
    gap: 15px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.header-img {
    max-height: 200px;
    width: auto;
    object-fit: contain;
    border-radius: 4px;
    border: 1px solid #e1e4e8;
}

.jury-citation {
    background-color: #f6f8fa;
    border-left: 4px solid #959da5;
    padding: 16px 20px;
    margin: 24px 0;
    border-radius: 0 4px 4px 0;
}

.jury-citation blockquote {
    margin: 0;
    font-style: italic;
    color: #24292e;
}

/* Gallery Section */
.gallery-section-title {
    font-size: 1.6rem;
    margin-top: 40px;
    margin-bottom: 20px;
}

.vertical-gallery {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.gallery-item {
    border: 1px solid #e1e4e8;
    border-radius: 6px;
    padding: 12px;
    background-color: #ffffff;
}

.gallery-item img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.gallery-caption {
    margin-top: 8px;
    font-size: 0.8rem;
    color: #586069;
    display: none;
    justify-content: space-between;
}

.site-footer {
    text-align: center;
    padding: 24px;
    border-top: 1px solid #e1e4e8;
    color: #586069;
    font-size: 0.8rem;
    margin-top: 60px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .detail-header-horizontal {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .card-horizontal {
        flex-direction: column;
        align-items: flex-start;
    }
    .card-horizontal .card-img-container {
        width: 100%;
        height: 160px;
    }
    #buyuk-oduller .grid {
        grid-template-columns: 1fr;
    }
}
