/* ============================================================
   Vedansh Jyotish - Supplementary stylesheet for new SEO pages
   (place.php, location_search.php, etc.)
   home-style.css EDIT nahi hua - yeh sirf naye components ke
   liye extra rules add karti hai, wahi color theme (#FF6433)
   use karke.
   ============================================================ */

/* Android app banners - header ke neeche, sabhi dynamic pages par */
.vj-app-banners {
    max-width: 1200px;
    margin: 15px auto 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.vj-app-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: #fff3ec;
    border: 1px solid #FF6433;
    border-radius: 8px;
    padding: 10px 16px;
    color: #a04000;
    min-width: 240px;
    max-width: 320px;
}

.vj-app-main {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #a04000;
    transition: transform 0.2s ease;
}

.vj-app-main:hover {
    transform: translateY(-2px);
}

.vj-app-card-disabled {
    opacity: 0.6;
    cursor: default;
    flex-direction: row;
    align-items: center;
}

.vj-app-actions {
    display: flex;
    gap: 8px;
}

.vj-app-download,
.vj-app-more {
    flex: 1;
    text-align: center;
    text-decoration: none;
    font-size: 0.85em;
    font-weight: bold;
    padding: 7px 10px;
    border-radius: 5px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.vj-app-download {
    background: #FF6433;
    color: #fff;
}

.vj-app-download:hover {
    background: #d35400;
}

.vj-app-more {
    background: transparent;
    color: #FF6433;
    border: 1px solid #FF6433;
}

.vj-app-more:hover {
    background: #FF6433;
    color: #fff;
}

.vj-app-icon {
    font-size: 1.6em;
}

.vj-app-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.vj-app-text small {
    color: #777;
    font-size: 0.8em;
}

/* Place / location page */
.vj-breadcrumb {
    font-size: 0.9em;
    color: #6c757d;
    margin-bottom: 15px;
}

.vj-breadcrumb a {
    color: #FF6433;
    text-decoration: none;
}

.vj-place-title {
    margin-bottom: 5px;
}

.vj-place-sub {
    color: #555;
    margin-bottom: 25px;
}

.vj-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.vj-card {
    background: #fffaf5;
    border: 1px solid #ffe5d1;
    padding: 15px 18px;
    border-radius: 10px;
}

.vj-card h3 {
    margin-top: 0;
    font-size: 1.1em;
    border-bottom: 1px solid #ffe5d1;
    padding-bottom: 8px;
}

.vj-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px dashed #ffd1b3;
    gap: 10px;
}

.vj-row:last-child {
    border-bottom: none;
}

.vj-row .vj-label {
    font-weight: bold;
    color: #a04000;
}

.vj-row .vj-value {
    text-align: right;
}

.vj-note {
    background: #fff8e1;
    border-left: 4px solid #f39c12;
    padding: 10px 15px;
    margin: 15px 0;
    font-size: 0.92em;
    color: #6b4c00;
}

/* Lat-long search form */
.vj-search-form {
    max-width: 480px;
    margin: 0 auto;
    background: #fffaf5;
    border: 1px solid #ffe5d1;
    border-radius: 10px;
    padding: 25px;
}

.vj-search-form .form-group {
    margin-bottom: 18px;
}

.vj-search-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: bold;
    color: #a04000;
}

.vj-search-form input[type="text"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 1em;
}

.vj-search-form .vj-hint {
    font-size: 0.85em;
    color: #888;
    margin-top: 4px;
}

.vj-search-form button {
    display: block;
    width: 100%;
    padding: 13px;
    background-color: #FF6433;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.05em;
    font-weight: bold;
    cursor: pointer;
}

.vj-search-form button:hover {
    background-color: #d35400;
}

.vj-alert {
    padding: 12px 15px;
    border-radius: 6px;
    margin-bottom: 18px;
    font-size: 0.95em;
}

.vj-alert-error {
    background: #fdecea;
    color: #b71c1c;
    border: 1px solid #f5c6cb;
}

.vj-result-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 0 0;
}

.vj-result-list li {
    padding: 12px 15px;
    border: 1px solid #eee;
    border-radius: 6px;
    margin-bottom: 10px;
}

.vj-result-list a {
    color: #FF6433;
    text-decoration: none;
    font-weight: bold;
}

/* State/district/division drill-down grid */
.vj-state-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
}

.vj-state-grid li {
    margin-bottom: 0;
}

.vj-pagination {
    margin-top: 20px;
    text-align: center;
}

.vj-pagination a {
    color: #FF6433;
    text-decoration: none;
    font-weight: bold;
}

.vj-pagination strong {
    color: #d35400;
}

@media (max-width: 480px) {
    .vj-app-card {
        width: 100%;
        justify-content: center;
    }
}

/* Date-picker (calendar) - place.php ke top par */
.vj-date-form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    background: #fffaf5;
    border: 1px solid #ffe5d1;
    border-radius: 8px;
    padding: 12px 16px;
    margin-top: 14px;
    margin-bottom: 10px;
}

.vj-date-form label {
    font-weight: bold;
    color: #a04000;
}

.vj-date-form input[type="date"] {
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
}

.vj-date-form button {
    padding: 8px 18px;
    background-color: #FF6433;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
}

.vj-date-form button:hover {
    background-color: #d35400;
}

.vj-today-link {
    color: #FF6433;
    text-decoration: underline;
    font-size: 0.9em;
}

/* Choghadiya table */
.vj-choghadiya-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.vj-choghadiya-grid h4 {
    margin: 0 0 8px 0;
    color: #a04000;
}

.vj-choghadiya-table {
    width: 100%;
    border-collapse: collapse;
}

.vj-choghadiya-table td {
    padding: 6px 10px;
    border-bottom: 1px solid #f0e2d4;
    font-size: 0.92em;
}

.vj-choghadiya-table tr.vj-shubh td:first-child {
    color: #1e7e34;
    font-weight: bold;
}

.vj-choghadiya-table tr.vj-ashubh td:first-child {
    color: #c0392b;
    font-weight: bold;
}

/* In-content AdSense slot spacing */
.adsbygoogle {
    margin: 20px 0;
}

/* Lekh (articles) listing */
.vj-lekh-columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 700px) {
    .vj-lekh-columns {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

.vj-lekh-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.vj-lekh-card {
    background: #fffaf5;
    border: 1px solid #ffe5d1;
    border-radius: 10px;
    padding: 15px;
}

.vj-lekh-card h3 {
    margin: 8px 0;
    font-size: 1.1em;
}

.vj-lekh-card h3 a {
    color: #a04000;
    text-decoration: none;
}

.vj-lekh-card p {
    font-size: 0.92em;
    color: #555;
    margin: 0 0 8px 0;
}

.vj-lekh-thumb {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.vj-lekh-readmore {
    color: #FF6433;
    font-weight: bold;
    text-decoration: none;
    font-size: 0.9em;
}

.vj-lekh-content p {
    font-size: 1.05em;
    line-height: 1.8;
    margin-bottom: 18px;
    color: #333;
}

/* FAQ block (place.php) */
.vj-faq-item {
    padding: 10px 0;
    border-bottom: 1px solid #ffe5d1;
}

.vj-faq-item:last-child {
    border-bottom: none;
}

.vj-faq-q {
    font-weight: bold;
    color: #a04000;
    margin-bottom: 4px;
}

.vj-faq-a {
    color: #444;
    font-size: 0.95em;
    margin: 0;
}

/* DIGIPIN tool */
.vj-digipin-result {
    margin-top: 16px;
    text-align: center;
}

.vj-digipin-code {
    display: inline-block;
    font-size: 1.3em;
    font-weight: bold;
    letter-spacing: 1px;
    color: #fff;
    background-color: #FF6433;
    padding: 10px 20px;
    border-radius: 8px;
    margin-bottom: 12px;
}

.vj-map-box {
    width: 100%;
    height: 260px;
    border-radius: 8px;
    margin-top: 10px;
    border: 1px solid #ffe5d1;
}

/* YouTube video links (thumbnail cards, no iframe - server par koi load nahi) */
.vj-yt-section {
    max-width: 1200px;
    margin: 30px auto 0 auto;
    padding: 0 20px;
}

.vj-yt-section h3 {
    color: #a04000;
    border-bottom: 1px solid #ffe5d1;
    padding-bottom: 8px;
    margin-bottom: 15px;
}

.vj-yt-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
}

.vj-yt-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: #333;
    background: #fffaf5;
    border: 1px solid #ffe5d1;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s ease;
}

.vj-yt-card:hover {
    transform: translateY(-2px);
}

.vj-yt-thumb-wrap {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

.vj-yt-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.vj-yt-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 46px;
    height: 46px;
    background: rgba(255, 100, 51, 0.9);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1em;
}

.vj-yt-title {
    padding: 10px 12px;
    font-size: 0.9em;
    font-weight: bold;
    line-height: 1.4;
}
