/* Shared blog page styles */

/* blogs.html */
.blog-index {
    max-width: 1400px;
    margin: 120px auto 60px;
    padding: 0 20px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.blog-card {
    background: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.blog-card .card-content {
    padding: 25px;
}

.blog-card .card-content .category {
    color: #0b6a5a;
    font-weight: 600;
    font-size: 0.9rem;
}

.blog-card .card-content h3 {
    margin: 10px 0;
    font-size: 1.3rem;
    color: #0b6a5a;
}

.blog-card .card-content p {
    color: #555;
    line-height: 1.6;
}

.blog-card .card-content .read-more {
    display: inline-block;
    margin-top: 15px;
    color: #0b6a5a;
    font-weight: 600;
    text-decoration: none;
}

.blog-card .card-content .read-more:hover {
    text-decoration: underline;
}

.blog-card .card-img {
    height: 200px;
    background: #e3f2fd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.featured-post {
    background: #0b6a5a;
    color: #fff;
    padding: 40px;
    border-radius: 12px;
    margin: 30px 0;
}

.featured-post h2 {
    color: #fff;
    font-size: 2rem;
}

.featured-post p {
    opacity: 0.9;
}

.featured-post .btn {
    background: #fff;
    color: #0b6a5a;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    margin-top: 15px;
    font-weight: 600;
}

/* rrr-construction-updates.html */
.updates-container {
    max-width: 1400px;
    margin: 120px auto 60px;
    padding: 0 20px;
}

.milestone-timeline {
    position: relative;
    padding-left: 40px;
}

.milestone-timeline:before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #0b6a5a;
}

.milestone-item {
    position: relative;
    margin: 30px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
}

.milestone-item:before {
    content: '';
    position: absolute;
    left: -33px;
    top: 25px;
    width: 16px;
    height: 16px;
    background: #0b6a5a;
    border-radius: 50%;
    border: 3px solid #fff;
}

.milestone-item.completed:before {
    background: #00c853;
}

.milestone-item.in-progress:before {
    background: #ff6d00;
}

.milestone-item .date {
    font-size: 0.9rem;
    color: #666;
}

.milestone-item .status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.milestone-item .status.completed {
    background: #e8f5e9;
    color: #00c853;
}

.milestone-item .status.in-progress {
    background: #fff3e0;
    color: #ff6d00;
}

.milestone-item .status.upcoming {
    background: #e3f2fd;
    color: #0b6a5a;
}

.progress-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.progress-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
}

.progress-card .percentage {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0b6a5a;
}

.progress-card .label {
    color: #666;
}

/* rrr-hyderabad-route-map.html */
.route-container {
    max-width: 1400px;
    margin: 120px auto 60px;
    padding: 0 20px;
}

.route-header {
    margin-bottom: 40px;
}

.route-header h1 {
    font-size: 2.5rem;
    color: #0b6a5a;
}

.map-wrapper {
    height: 500px;
    border-radius: 12px;
    overflow: hidden;
    margin: 30px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.interchange-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.interchange-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid #0b6a5a;
}

.interchange-card h4 {
    margin: 0 0 10px;
    color: #0b6a5a;
}

.route-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.route-stat {
    text-align: center;
    padding: 20px;
    background: #e3f2fd;
    border-radius: 12px;
}

.route-stat .number {
    font-size: 2rem;
    font-weight: 700;
    color: #0b6a5a;
}

/* rrr-impacted-villages.html */
.villages-container {
    max-width: 1400px;
    margin: 120px auto 60px;
    padding: 0 20px;
}

.search-section {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    margin: 30px 0;
}

.search-section input {
    width: 100%;
    padding: 12px 20px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
}

.village-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.village-table th {
    background: #0b6a5a;
    color: #fff;
    padding: 12px 15px;
    text-align: left;
}

.village-table td {
    padding: 10px 15px;
    border-bottom: 1px solid #e0e0e0;
}

.village-table tr:hover {
    background: #f1f3f5;
}

.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-badge.premium {
    background: #fff3e0;
    color: #ff6d00;
}

.status-badge.growth {
    background: #e8f5e9;
    color: #00c853;
}

.status-badge.emerging {
    background: #e3f2fd;
    color: #0b6a5a;
}

.status-badge.future {
    background: #f5f5f5;
    color: #666;
}

.pagination {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 30px 0;
    flex-wrap: wrap;
}

.pagination button {
    padding: 8px 16px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 6px;
    cursor: pointer;
}

.pagination button.active {
    background: #0b6a5a;
    color: #fff;
    border-color: #0b6a5a;
}

.pagination button:hover {
    background: #0b6a5a;
    color: #fff;
}

/* rrr-investment-guide.html */
.guide-container {
    max-width: 1400px;
    margin: 120px auto 60px;
    padding: 0 20px;
}

.strategy-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
    margin: 20px 0;
    border-left: 5px solid #0b6a5a;
}

.strategy-card .number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0b6a5a;
    opacity: 0.2;
    float: right;
}

.strategy-card h3 {
    margin: 0 0 10px;
    color: #0b6a5a;
}

.checklist {
    list-style: none;
    padding: 0;
}

.checklist li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.checklist li:before {
    content: '✅';
}

.risk-box {
    background: #fff3e0;
    padding: 20px;
    border-radius: 12px;
    border-left: 5px solid #ff6d00;
    margin: 25px 0;
}

.risk-box h4 {
    color: #e65100;
    margin: 0 0 10px;
}

/* rrr-property-rates.html */
.rates-container {
    max-width: 1000px;
    margin: 120px auto 60px;
    padding: 0 20px;
}

.rate-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
    margin: 20px 0;
    border-left: 5px solid #0b6a5a;
}

.rate-card.premium {
    border-left-color: #ff6d00;
}

.rate-card.growth {
    border-left-color: #00c853;
}

.rate-card.emerging {
    border-left-color: #0b6a5a;
}

.rate-card.future {
    border-left-color: #9e9e9e;
}

.rate-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 15px 0;
}

.rate-item {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}

.rate-item .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0b6a5a;
}

.rate-item .change {
    color: #00c853;
    font-weight: 600;
}

.rate-item .change.negative {
    color: #f44336;
}

.trend-chart {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    margin: 30px 0;
}

.trend-bar {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 10px 0;
}

.trend-bar .label {
    width: 120px;
    font-weight: 600;
}

.trend-bar .bar {
    flex: 1;
    height: 25px;
    background: #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
}

.trend-bar .bar .fill {
    height: 100%;
    background: #0b6a5a;
    border-radius: 12px;
    transition: width 1s;
}

.trend-bar .bar .fill.high {
    background: #ff6d00;
}

.trend-bar .bar .fill.medium {
    background: #00c853;
}

.trend-bar .value {
    width: 80px;
    text-align: right;
    font-weight: 600;
}

/* rrr-vs-orr-hyderabad.html */
.blog-container {
    max-width: 1400px;
    margin: 120px auto 60px;
    padding: 0 20px;
}

.blog-header {
    margin-bottom: 40px;
}

.blog-header h1 {
    font-size: 2.5rem;
    color: #0b6a5a;
    line-height: 1.2;
}

.blog-meta {
    display: flex;
    gap: 20px;
    color: #666;
    margin: 15px 0;
    flex-wrap: wrap;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.blog-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.blog-content h2 {
    color: #0b6a5a;
    margin: 40px 0 15px;
    font-size: 1.8rem;
}

.blog-content h3 {
    color: #00695c;
    margin: 25px 0 10px;
    font-size: 1.4rem;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
}

.comparison-table th {
    background: #0b6a5a;
    color: #fff;
    padding: 15px;
    text-align: left;
}

.comparison-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #e0e0e0;
}

.comparison-table tr:nth-child(even) {
    background: #f1f3f5;
}

.highlight-box {
    background: #e3f2fd;
    padding: 25px;
    border-left: 5px solid #0b6a5a;
    margin: 25px 0;
    border-radius: 8px;
}

.highlight-box strong {
    color: #0b6a5a;
}

.blog-toc {
    background: #f8f9fa;
    padding: 20px 25px;
    border-radius: 12px;
    margin: 30px 0;
}

.blog-toc ul {
    list-style: none;
    padding: 0;
}

.blog-toc ul li {
    padding: 5px 0;
}

.blog-toc ul li a {
    color: #0b6a5a;
    text-decoration: none;
}

.blog-toc ul li a:hover {
    text-decoration: underline;
}

.author-box {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    margin: 40px 0;
    display: flex;
    align-items: center;
    gap: 20px;
}

.author-avatar {
    width: 70px;
    height: 70px;
    background: #0b6a5a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2rem;
    flex-shrink: 0;
}

.related-posts {
    margin: 50px 0;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.related-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    transition: transform 0.3s;
}

.related-card:hover {
    transform: translateY(-5px);
}

.related-card h4 {
    color: #0b6a5a;
    margin: 0;
}

.faq-schema-item {
    margin: 20px 0;
}

.faq-schema-item h3 {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    margin: 0;
}

.faq-schema-item .answer {
    padding: 15px;
    display: none;
}

.faq-schema-item.active .answer {
    display: block;
}

.faq-schema-item.active h3 {
    background: #e3f2fd;
}

/* Shared responsive rules from page-level styles */
@media (max-width: 768px) {
    .featured-post {
        padding: 25px;
    }

    .featured-post h2 {
        font-size: 1.5rem;
    }

    .route-header h1 {
        font-size: 1.8rem;
    }

    .map-wrapper {
        height: 300px;
    }

    .village-table {
        font-size: 0.8rem;
    }

    .village-table th,
    .village-table td {
        padding: 8px 10px;
    }

    .trend-bar .label {
        width: 80px;
        font-size: 0.9rem;
    }

    .blog-header h1 {
        font-size: 1.8rem;
    }

    .comparison-table {
        font-size: 0.9rem;
    }

    .author-box {
        flex-direction: column;
        text-align: center;
    }
}
