/* Gati-Beat page 1117 only */

/* Hide original branding */
body.page-id-1117 .site-branding {
    display: none !important;
}

/* Gati-Beat masthead */
body.page-id-1117 #masthead::before {
    content: "GatiBeat.";
    display: block;
    font-size: 48px;
    font-weight: 600;
    line-height: 1.2;
    color: #29266e;
    padding: 20px 0 0;
}

/* Tagline immediately below the title */
body.page-id-1117 #masthead {
    position: relative;
}

body.page-id-1117 #masthead::before {
    padding-bottom: 45px;
}

body.page-id-1117 #masthead::after {
    content: "Transport. Cities. Infrastructure.";
    position: absolute;
    top: 82px;
    left: 0;
    display: block;
    font-size: 19px;
    font-weight: 400;
    color: #888888;
    line-height: 1.4;
    padding: 0;
}

/* Hide duplicate page title */
body.page-id-1117 .entry-title {
    display: none !important;
}
/* GATI-VRTTA COMPACT NEWS LAYOUT */
/* Page 1117 only */

/* Reduce blank space above header */
body.page-id-1117 #masthead {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Compact publication masthead */
body.page-id-1117 #masthead::before {
    padding-top: 0 !important;
    padding-bottom: 38px !important;
    font-size: 44px;
}

/* Move tagline closer to title */
body.page-id-1117 #masthead::after {
    top: 52px !important;
    font-size: 17px;
}

/* Reduce spacing below navigation */
body.page-id-1117 #content,
body.page-id-1117 .site-content {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* Reduce space above news articles */
body.page-id-1117 .entry-content {
    margin-top: 10px !important;
    padding-top: 0 !important;
}

/* Tighten article grid spacing */
body.page-id-1117 .wp-block-columns {
    margin-bottom: 20px !important;
    gap: 18px !important;
}

/* Reduce spacing below article images */
body.page-id-1117 .wp-block-image {
    margin-bottom: 8px !important;
}

/* Tighter news headlines */
body.page-id-1117 .wp-block-post-title {
    line-height: 1.3 !important;
    margin-top: 6px !important;
    margin-bottom: 5px !important;
}
/* Gati-Vrtta: tighter page layout */

/* Reduce overall top spacing */
body.page-id-1117 #page {
    padding-top: 0 !important;
}

body.page-id-1117 #masthead {
    margin-top: 0 !important;
}

/* Reduce gap between menu and articles */
body.page-id-1117 #main {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

body.page-id-1117 .site-main {
    padding-top: 0 !important;
}

/* Tighten content area */
body.page-id-1117 .entry-content {
    margin-top: 0 !important;
}

/* Reduce gap between article rows */
body.page-id-1117 .wp-block-columns {
    margin-bottom: 12px !important;
}
/* Gati-Vrtta: wider news layout */
body.page-id-1117 .entry-content {
    max-width: 1100px !important;
    width: 100% !important;
}

/* Widen main article container */
body.page-id-1117 .site-main,
body.page-id-1117 #primary {
    max-width: 1100px !important;
}

/* Reduce spacing between article rows */
body.page-id-1117 .wp-block-columns {
    margin-bottom: 10px !important;
    row-gap: 15px !important;
}

/* Bring articles closer to navigation */
body.page-id-1117 .hentry {
    margin-top: 0 !important;
    padding-top: 0 !important;
}
/* Widen Gati-Vrtta news grid only */

body.page-id-1117
.wp-block-group.alignfull
.wp-block-group__inner-container {
    max-width: 1100px !important;
    width: 100% !important;
}

/* Keep three balanced news columns */
body.page-id-1117
.wp-block-post-template.columns-3 {
    width: 100% !important;
    column-gap: 20px !important;
    row-gap: 25px !important;
}
/* Gati-Vrtta final news layout refinements */

/* Tighter news grid */
body.page-id-1117 .wp-block-post-template {
    row-gap: 18px !important;
    column-gap: 20px !important;
}

/* Stronger news headlines */
body.page-id-1117 .wp-block-post-title {
    font-size: 20px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    margin-top: 8px !important;
    margin-bottom: 4px !important;
}

/* Compact article dates */
body.page-id-1117 .wp-block-post-date {
    font-size: 13px !important;
    margin-top: 3px !important;
}

/* Reduce space around featured images */
body.page-id-1117 .wp-block-post-featured-image {
    margin-bottom: 8px !important;
}

/* Reduce space before article grid */
body.page-id-1117 .wp-block-query {
    margin-top: 0 !important;
    padding-top: 0 !important;
}
/* Gati-Vrtta: reduce spacing inside news cards */
body.page-id-1117
.wp-block-post-template
.wp-block-spacer {
    height: 8px !important;
    min-height: 0 !important;
}
/* Reduce vertical gaps between Gati-Vrtta article rows */
body.page-id-1117 .wp-block-post-template {
    row-gap: 15px !important;
    column-gap: 25px !important;
}

/* Remove unnecessary space within article cards */
body.page-id-1117 .wp-block-post-template > li {
    margin-bottom: 0 !important;
}
/* Wide editorial layout — Home page 2043 only */

body.page-id-2043 .site,
body.page-id-2043 .site-content,
body.page-id-2043 .content-area,
body.page-id-2043 .site-main,
body.page-id-2043 article,
body.page-id-2043 .entry-content {
    max-width: 1200px;
    width: 100%;
    box-sizing: border-box;
}

body.page-id-2043 .site {
    margin-left: auto;
    margin-right: auto;
}

body.page-id-2043 .entry-content {
    margin-left: auto;
    margin-right: auto;
}
/* Home page 2043 — override narrow theme containers */

@media screen and (min-width: 900px) {
    body.page-id-2043 #page,
    body.page-id-2043 #content,
    body.page-id-2043 #primary,
    body.page-id-2043 #main,
    body.page-id-2043 article#post-2043,
    body.page-id-2043 article#post-2043 .entry-content {
        width: 100% !important;
        max-width: 1200px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        float: none !important;
    }
}
/* Hide the site header on the new homepage only */
body.home #masthead,
body.home .site-header {
    display: none !important;
}