/*
Theme Name: Dortg Theme
Theme URI: https://dortg.net
Author: Dortg Yazılım & Teknoloji
Author URI: https://dortg.net
Description: Dortg Yazılım modern, yüksek performanslı, Tailwind CSS ve Gutenberg blok mimarisine sahip özel WordPress teması.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 8.0
Text Domain: dortg
*/

/* Custom scrollbar and root defaults */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Tektur', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Missing Grid Column Span Rules */
.col-span-3 { grid-column: span 3 / span 3 !important; }
.col-span-4 { grid-column: span 4 / span 4 !important; }
.col-span-6 { grid-column: span 6 / span 6 !important; }
.col-span-12 { grid-column: span 12 / span 12 !important; }

@media (min-width: 640px) {
    .sm\:col-span-6 { grid-column: span 6 / span 6 !important; }
    .sm\:col-span-12 { grid-column: span 12 / span 12 !important; }
}

@media (min-width: 768px) {
    .md\:col-span-3 { grid-column: span 3 / span 3 !important; }
    .md\:col-span-4 { grid-column: span 4 / span 4 !important; }
    .md\:col-span-6 { grid-column: span 6 / span 6 !important; }
    .md\:col-span-8 { grid-column: span 8 / span 8 !important; }
    .md\:col-span-12 { grid-column: span 12 / span 12 !important; }
}

@media (min-width: 1024px) {
    .lg\:col-span-3 { grid-column: span 3 / span 3 !important; }
    .lg\:col-span-4 { grid-column: span 4 / span 4 !important; }
    .lg\:col-span-6 { grid-column: span 6 / span 6 !important; }
    .lg\:col-span-8 { grid-column: span 8 / span 8 !important; }
    .lg\:col-span-12 { grid-column: span 12 / span 12 !important; }
}

/* ==========================================================================
   BLOG CARDS: STRICT EQUAL DIMENSIONS & ASPECT RATIOS
   ========================================================================== */
.aspect-\[16\/9\],
.aspect-video,
.blog-card-thumb-wrap {
    width: 100% !important;
    aspect-ratio: 16 / 9 !important;
    position: relative !important;
    overflow: hidden !important;
    display: block !important;
    background-color: #020617 !important;
}

.blog-card-thumb-wrap a {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}

.blog-card-thumb-wrap img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
}

/* Equal Blog Card Flex Architecture */
.blog-card-equal {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    width: 100% !important;
}

.blog-card-equal .blog-card-body {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 0% !important;
    justify-content: space-between !important;
}

.blog-card-equal .blog-card-title {
    min-height: 3.2rem !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

.blog-card-equal .blog-card-excerpt {
    min-height: 3.8rem !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}
