/**
 * Günün İçeriği - Frontend Styles
 * Green theme matching Ramazan İmsakiyesi
 */

/* ========================================
   SHORTCODE CARDS - [gunun_ayeti] etc.
   ======================================== */
.gi-all {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 700px;
    margin: 20px auto;
}

.gi-card {
    position: relative;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    line-height: 1.6;
}

.gi-card * {
    box-sizing: border-box;
}

.gi-card-accent {
    height: 4px;
    width: 100%;
}

.gi-card-body {
    padding: 20px 24px;
}

.gi-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

.gi-card-icon {
    font-size: 20px;
}

.gi-card-type {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.gi-card-arabic {
    font-family: 'Traditional Arabic', 'Scheherazade New', 'Amiri', serif;
    font-size: 22px;
    line-height: 1.8;
    text-align: right;
    direction: rtl;
    padding: 14px 18px;
    margin-bottom: 14px;
    border-radius: 10px;
    color: #1b5e20;
}

.gi-card-content {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    margin: 0 0 12px;
    padding: 0;
    border: none;
    font-style: italic;
    line-height: 1.7;
    quotes: none;
}

.gi-card-source {
    font-size: 13px;
    font-weight: 600;
    opacity: 0.65;
    text-align: right;
}

/* Card colors by type */
.gi-card-ayet .gi-card-accent { background: linear-gradient(90deg, #1b7a3d, #2ecc71); }
.gi-card-ayet .gi-card-type { color: #1b7a3d; }
.gi-card-ayet .gi-card-arabic { background: #f0faf3; }

.gi-card-hadis .gi-card-accent { background: linear-gradient(90deg, #1565c0, #42a5f5); }
.gi-card-hadis .gi-card-type { color: #1565c0; }
.gi-card-hadis .gi-card-arabic { background: #e8f0fe; color: #0d47a1; }

.gi-card-soz .gi-card-accent { background: linear-gradient(90deg, #6a1b9a, #ab47bc); }
.gi-card-soz .gi-card-type { color: #6a1b9a; }
.gi-card-soz .gi-card-arabic { background: #faf0fc; color: #4a148c; }

/* Empty state */
.gi-empty {
    padding: 20px;
    text-align: center;
    color: #999;
    font-style: italic;
}

/* ========================================
   WIDGET - Homepage / Sidebar
   ======================================== */
.gi-widget {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

.gi-widget * {
    box-sizing: border-box;
}

.gi-widget-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
    background: #fff;
}

.gi-widget-card-header {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.gi-widget-card-icon {
    font-size: 16px;
}

.gi-widget-arabic {
    font-family: 'Traditional Arabic', 'Scheherazade New', 'Amiri', serif;
    font-size: 18px;
    line-height: 1.7;
    text-align: right;
    direction: rtl;
    padding: 10px 14px 4px;
    color: #2e7d32;
}

.gi-widget-content {
    padding: 8px 14px;
    font-size: 14px;
    font-style: italic;
    color: #333;
    line-height: 1.6;
}

.gi-widget-source {
    padding: 0 14px 10px;
    font-size: 12px;
    color: #888;
    text-align: right;
    font-weight: 600;
}

/* Widget card theme colors */
.gi-widget-ayet .gi-widget-card-header {
    background: linear-gradient(135deg, #1b7a3d, #145a2c);
}
.gi-widget-ayet .gi-widget-arabic {
    background: #f0faf3;
}

.gi-widget-hadis .gi-widget-card-header {
    background: linear-gradient(135deg, #1565c0, #0d47a1);
}
.gi-widget-hadis .gi-widget-arabic {
    background: #e8f0fe;
    color: #1565c0;
}

.gi-widget-soz .gi-widget-card-header {
    background: linear-gradient(135deg, #6a1b9a, #4a148c);
}
.gi-widget-soz .gi-widget-arabic {
    background: #faf0fc;
    color: #6a1b9a;
}

.gi-widget-empty {
    text-align: center;
    color: #aaa;
    padding: 15px;
    font-style: italic;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 600px) {
    .gi-card-body {
        padding: 16px 18px;
    }

    .gi-card-arabic {
        font-size: 19px;
        padding: 10px 14px;
    }

    .gi-card-content {
        font-size: 15px;
    }
}
