/*
Theme Name: Interra Resources
Theme URI: https://interraresources.com
Author: Interra Resources Limited
Author URI: https://interraresources.com
Description: Official WordPress theme for Interra Resources Limited - a Singapore-incorporated company listed on the SGX Mainboard (Trading Code: 5GI), engaged in petroleum exploration and production, renewable energy, silica mining, and EV support.
Version: 1.8.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: interra
Tags: business, energy, petroleum, investor-relations, singapore
*/

/* ========================================
   CSS VARIABLES
   ======================================== */
:root {
    --green-dark: #2d6a2d;
    --green-mid: #3a7a3a;
    --green-btn: #2e6b2e;
    --orange: #e8673a;
    --text-dark: #1a1a1a;
    --text-mid: #555;
    --font-heading: "Montserrat", sans-serif;
    --font-body: "Open Sans", sans-serif;
}

/* ========================================
   RESET & BASE
   ======================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background: #fff;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

#main-content {
    flex: 1;
}

.site-header {
    flex-shrink: 0;
}

.site-footer {
    flex-shrink: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* ========================================
   NAVIGATION
   ======================================== */
.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 40px;
    height: auto;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 200;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.site-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-img {
    height: 40px;
    width: auto;
    display: block;
}

.main-navigation {
    display: flex;
    align-items: center;
    gap: 36px;
    align-self: stretch;
}

.main-navigation ul,
.nav-list {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
    margin: 0;
    padding: 0;
    height: 100%;
}

.main-navigation li {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
}

.main-navigation .nav-item > a {
    font-family: var(--font-heading);
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none;
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
    height: 100%;
    transition: color 0.2s;
}

.main-navigation .nav-item:hover > a {
    color: var(--green-dark);
}

/* Dropdown */
.main-navigation .dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: -24px;
    background: var(--green-dark);
    min-width: 400px;
    padding: 24px 28px;
    z-index: 300;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.main-navigation .nav-item:hover .dropdown {
    display: grid;
}

.main-navigation .dropdown a {
    display: block;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    padding: 12px 12px 12px 0;
    border-bottom: 2px solid transparent;
    transition: border-color 0.15s;
}

.main-navigation .dropdown a:hover {
    border-bottom: 2px solid #fff;
}

.main-navigation .dropdown.businesses-dropdown,
.main-navigation .nav-item.businesses-dropdown .dropdown {
    grid-template-columns: 1fr;
    min-width: 220px;
}

/* Investor dropdown - single column */
.main-navigation .dropdown.investor-dropdown {
    grid-template-columns: 1fr;
    min-width: 220px;
}

/* SGX Button */
.btn-sgx {
    background: var(--green-btn);
    color: #fff !important;
    padding: 0 18px;
    height: 32px;
    line-height: 32px;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s;
    display: inline-block;
    text-align: center;
}

.btn-sgx:hover {
    background: var(--green-dark);
}

/* Override nav-item anchor stretch for SGX button */
.main-navigation .nav-item > a.btn-sgx {
    height: 32px;
    display: inline-flex;
    align-items: center;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
}

/* Nav backdrop (mobile) */
.nav-backdrop {
    opacity: 0;
    pointer-events: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 198;
    transition: opacity 0.28s ease;
}

.nav-backdrop.open {
    opacity: 1;
    pointer-events: auto;
}

/* Nav chevron arrow */
.nav-chevron {
    display: none; /* shown only on mobile via media query */
    width: 7px;
    height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

/* Mobile inline SGX button (hidden on desktop) */
.btn-sgx-inline {
    display: none;
}

/* Menu-toggle span transition for X animation */
.menu-toggle span {
    transition:
        transform 0.22s ease,
        opacity 0.22s ease;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    position: relative;
    width: 100%;
    height: 420px;
    overflow: hidden;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    display: block;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.65) 0%,
        rgba(0, 0, 0, 0.28) 55%,
        transparent 100%
    );
}

.hero-content {
    position: absolute;
    bottom: 48px;
    left: 80px;
    max-width: 700px;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 16px;
}

.hero-content p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.65;
    margin-bottom: 24px;
}

.hero-cta {
    display: inline-block;
    padding: 9px 20px;
    border: 2px solid #fff;
    color: #fff !important;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    background: transparent;
    transition:
        background 0.2s,
        color 0.2s;
}

.hero-cta:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* ========================================
   MAIN CONTENT AREA
   ======================================== */
.site-content {
    max-width: 860px;
    margin: 56px auto 80px;
    padding: 0 40px;
}

.announcements-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.announcements-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
}

.section-heading {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--text-mid);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 0;
}

.section-divider {
    border: none;
    border-top: 2px solid var(--text-dark);
    margin-bottom: 24px;
}

.announcements-section {
    max-width: 1200px;
    margin: 56px auto 80px;
    padding: 0 40px;
}

/* ========================================
   ACCORDION (About, Businesses)
   ======================================== */
.accordion-list {
    max-width: 860px;
    margin: 56px auto 80px;
    padding: 0 40px;
}

.accordion-item {
    border-top: 2px solid var(--text-dark);
    scroll-margin-top: 80px;
}

.accordion-item:last-child {
    border-bottom: 2px solid var(--text-dark);
}

.accordion-header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 26px 0;
    cursor: pointer;
    user-select: none;
}

.accordion-header h3 {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
    color: var(--text-mid);
    letter-spacing: 0.02em;
    text-align: center;
}

.accordion-body {
    overflow: hidden;
    max-height: 0;
    transition:
        max-height 0.5s ease,
        padding 0.3s ease;
    padding-bottom: 0;
}

.accordion-item.open .accordion-body {
    max-height: 5000px;
    padding-bottom: 44px;
}

.section-title {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 38px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 32px;
}

.section-body {
    font-size: 15px;
    line-height: 1.75;
    color: var(--text-dark);
    margin-bottom: 18px;
}

.section-body h4{
    margin-bottom: 1.2em;
}


.section-body img{
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   FILTER BAR (Investor Pages)
   ======================================== */
.filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.filter-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.year-select-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.year-select {
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--text-dark);
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 2px;
    padding: 7px 36px 7px 12px;
    min-width: 140px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    line-height: 1.4;
}

.year-select:hover,
.year-select:focus {
    border-color: #aaa;
    outline: none;
}

.year-select-wrapper::after {
    content: "▼";
    font-size: 9px;
    color: var(--text-mid);
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.date-btn,
.type-btn {
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--text-dark);
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 2px;
    padding: 7px 12px;
    cursor: pointer;
    min-width: 130px;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 8px;
}

.date-btn::after,
.type-btn::after {
    content: "▼";
    font-size: 9px;
    color: var(--text-mid);
    margin-left: auto;
}

.date-btn:hover,
.type-btn:hover {
    border-color: #aaa;
}

/* Dropdown popup */
.dp-popup,
.type-popup {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    background: #2b2b2b;
    border-radius: 8px;
    padding: 20px 20px 16px;
    width: 280px;
    z-index: 500;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
    display: none;
}

.dp-popup.open,
.type-popup.open {
    display: block;
}

.type-popup {
    background: #fff;
    border: 1px solid #ccc;
    width: 180px;
    padding: 0;
}

.dp-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 400;
}

.dp-backdrop.open {
    display: block;
}

.dp-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.dp-month-label {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 6px;
}

.dp-month-label span {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 400;
}

.dp-nav {
    display: flex;
    gap: 8px;
}

.dp-nav button {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.75);
    font-size: 20px;
    cursor: pointer;
    padding: 2px 5px;
    line-height: 1;
    border-radius: 4px;
    transition:
        color 0.15s,
        background 0.15s;
}

.dp-nav button:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.dp-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}

.dp-dow {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.4);
    padding: 0 0 10px;
    letter-spacing: 0.02em;
}

.dp-day {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    padding: 0;
    border-radius: 50%;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 3px auto;
    transition: background 0.15s;
}

.dp-day:hover:not(.selected) {
    background: rgba(255, 255, 255, 0.12);
}

.dp-day.selected {
    background: var(--green-btn);
    color: #fff;
}

.dp-day.empty {
    pointer-events: none;
    color: transparent;
}

/* Year tabs */
.year-tabs-wrapper {
    display: flex;
    align-items: center;
    gap: 0;
}

.year-tabs-nav-btn {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    padding: 8px 10px;
    background: #666;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background 0.15s;
    line-height: 1;
}

.year-tabs-nav-btn:hover {
    background: #555;
}

.year-tabs-nav-btn:disabled {
    background: #aaa;
    color: #ddd;
    cursor: not-allowed;
}

.year-tabs {
    display: flex;
    gap: 0;
}

.year-tab {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    padding: 8px 20px;
    background: #888;
    color: #fff;
    border: none;
    cursor: pointer;
    letter-spacing: 0.02em;
    transition: background 0.15s;
}

.year-tab:first-child {
    border-radius: 0;
}

.year-tab.active {
    background: var(--green-btn);
}

.year-tab:hover:not(.active) {
    background: #777;
}

/* Type options */
.type-option {
    display: block;
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--text-dark);
    padding: 10px 14px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.1s;
}

.type-option:last-child {
    border-bottom: none;
}

.type-option:hover {
    background: #f5f5f5;
}

.type-option.selected {
    background: #eef5ee;
    font-weight: 600;
}

/* ========================================
   ANNOUNCEMENT / REPORT LIST
   ======================================== */
.announcement-list {
    margin-top: 8px;
}

.announcement-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px solid #ddd;
    cursor: pointer;
    transition: background 0.1s;
}

.announcement-item:first-child {
    border-top: 1px solid #ddd;
}

.announcement-item:hover {
    background: #f9f9f9;
    padding-left: 8px;
    padding-right: 8px;
    margin-left: -8px;
    margin-right: -8px;
}

.announcement-title {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
    flex: 1;
    padding-right: 24px;
    line-height: 1.45;
}

.announcement-date {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-mid);
    white-space: nowrap;
    letter-spacing: 0.04em;
    text-align: right;
    min-width: 120px;
}

/* ========================================
   SKELETON LOADING
   ======================================== */
.skeleton-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px solid #ddd;
}

.skeleton-item:first-child {
    border-top: 1px solid #ddd;
}

.skeleton-title {
    width: 60%;
    height: 16px;
    background: linear-gradient(90deg, #e8e8e8 25%, #f5f5f5 50%, #e8e8e8 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite;
    border-radius: 3px;
}

.skeleton-date {
    width: 100px;
    height: 14px;
    min-width: 120px;
    background: linear-gradient(90deg, #e8e8e8 25%, #f5f5f5 50%, #e8e8e8 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite;
    border-radius: 3px;
    margin-left: auto;
}

@keyframes skeleton-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.report-type-badge {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 600;
    color: var(--text-mid);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
    min-width: 130px;
    text-align: right;
    padding-right: 24px;
}

/* ========================================
   SUBSCRIBE BANNER
   ======================================== */
.subscribe-banner {
    background: var(--green-dark);
    padding: 44px 40px;
    text-align: center;
    margin: 0;
}

.subscribe-banner h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 20px;
    letter-spacing: 0.01em;
}

.subscribe-form {
    display: flex;
    justify-content: center;
    gap: 8px;
    max-width: 520px;
    margin: 0 auto;
}

.subscribe-input {
    flex: 1;
    padding: 11px 16px;
    font-family: var(--font-body);
    font-size: 14px;
    color: #333;
    background: #fff;
    border: none;
    outline: none;
    border-radius: 0;
}

.subscribe-input::placeholder {
    color: #aaa;
}

.subscribe-btn {
    padding: 11px 24px;
    background: #fff;
    color: var(--green-dark);
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}

.subscribe-btn:hover {
    background: #f0f0f0;
}

/* ========================================
   COMPANY INFO (Contact Page)
   ======================================== */
.company-info {
    text-align: center;
    padding: 72px 40px 60px;
}

.company-logo-wrap {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
}

.company-logo-wordmark {
    font-family: var(--font-heading);
    font-size: 20px;
    line-height: 1;
    letter-spacing: 0;
}

.company-logo-wordmark .wm-interra {
    font-weight: 800;
    color: var(--orange);
}

.company-logo-wordmark .wm-resources {
    font-weight: 400;
    color: #444;
}

.company-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.company-text {
    width: 100%;
    max-width: 420px; /* adjust if needed */
    text-align: center;
}

.company-logo {
    width: 100%;
    max-width: 220px;
	padding-bottom: 0.8em;
}

.company-logo img {
    width: 100%;
    height: auto;
    display: block;
}

.company-name {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 18px;
}

.company-details {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.95;
    color: var(--text-dark);
}

.company-details b {
    font-family: var(--font-heading);
    font-weight: 700;
}

.section-rule {
    width: 280px;
    height: 1px;
    background: #ccc;
    margin: 0 auto;
}

/* ========================================
   CORPORATE DIRECTORY
   ======================================== */
.corp-directory {
    max-width: 860px;
    margin: 0 auto;
    padding: 64px 40px 72px;
    text-align: center;
}

.corp-directory > h2 {
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 52px;
}

.corp-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 48px;
    text-align: center;
}

.corp-full {
    grid-column: 1 / -1;
    text-align: center;
}

.corp-col {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.corp-item {
    padding: 0 16px;
}

.corp-item h4 {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--text-dark);
    margin-bottom: 8px;
    text-align: center;
}

.corp-item p {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-dark);
    line-height: 1.75;
    text-align: center;
}

/* ========================================
   CONTACT FORM
   ======================================== */
.contact-section {
    padding: 72px 40px 88px;
    text-align: center;
}

.contact-tagline {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: var(--green-dark);
    line-height: 1.75;
    margin-bottom: 30px;
}

.contact-form-wrap {
    max-width: 560px;
    margin: 0 auto;
}

.contact-form-wrap .wpcf7 {
    width: 100%;
}

.contact-form-wrap .wpcf7 form {
    display: flex;
    flex-direction: column;
    gap: 10px;
	
}

.contact-form-wrap p {
    margin: 0px;
}

.contact-form-wrap label {
    display: block;
    font-size: 0;
    line-height: 0;
}

.contact-form-wrap .wpcf7-form-control-wrap {
    display: block;
}

.contact-form-wrap input.contact-input,
.contact-form-wrap textarea.contact-textarea {
    width: 100%;
    padding: 11px 13px;
    background: #d4d4d4;
    border: none;
    outline: none;
    font-family: var(--font-body);
    font-size: 13px;
    line-height: 1.6;
    color: #2a2a2a;
    border-radius: 0;
    -webkit-appearance: none;
    box-sizing: border-box;
}

.contact-form-wrap textarea.contact-textarea {
    height: 118px;
    resize: vertical;
}

.contact-form-wrap input.contact-input::placeholder,
.contact-form-wrap textarea.contact-textarea::placeholder {
    color: #777;
}

.contact-form-wrap input.btn-send {
    width: auto;
    align-self: center;
    margin-top: 4px;
    padding: 12px 32px;
    background: var(--green-btn);
    border: none;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s;
    -webkit-appearance: none;
}

.contact-form-wrap input.btn-send:hover {
    background: var(--green-dark);
}

.contact-form-wrap .wpcf7-spinner {
    margin: 10px auto 0;
    display: block;
}

.contact-form-wrap .wpcf7-not-valid-tip {
    margin-top: 6px;
    text-align: left;
    font-size: 12px;
    line-height: 1.4;
}

.contact-form-wrap .wpcf7-response-output {
    margin: 16px 0 0 !important;
    padding: 12px 14px !important;
    font-size: 13px;
    line-height: 1.5;
    text-align: center;
}

.contact-form-wrap .wpcf7 p {
    margin-bottom: 4px;
}
/* ========================================
   FOOTER
   ======================================== */
.site-footer {
    background: var(--green-dark);
    color: #fff;
    padding: 40px 40px 32px;
    text-align: center;
    margin-top: 0;
}

.footer-inner {
    max-width: 720px;
    margin: 0 auto 24px;
}

.footer-brand {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #fff;
    margin-bottom: 16px;
}

.footer-details p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.75;
    margin-bottom: 2px;
}

.footer-details strong {
    color: #fff;
    font-weight: 700;
}

.footer-details a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
}

.footer-details a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-copy {
    font-size: 11.5px;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.02em;
    padding-top: 20px;
    margin-top: 8px;
}

/* ========================================
   RESPONSIVE
   ======================================== */

/* Desktop: shift image down to show more bottom */
@media (min-width: 768px) {
    .hero-img.business-hero {
        object-position: center 90%;
    }
	.corp-full {
        margin-top: 32px; /* adjust spacing as needed */
    }
}

@media (max-width: 768px) {
    .section-heading {
        font-size: 24px;
    }

    /* ── Header bar ── */
    .site-header {
        padding: 0 16px;
    }

    /* Show hamburger */
    .menu-toggle {
        display: flex;
        order: 4;
        z-index: 201;
        position: relative;
    }

    /* Hamburger → X animation */
    .menu-toggle.is-active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    .menu-toggle.is-active span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }
    .menu-toggle.is-active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    /* Mobile SGX button in header */
    .btn-sgx-inline {
        display: inline-flex;
        align-items: center;
        order: 3;
        height: 30px;
        line-height: 30px;
        font-size: 11px;
        padding: 0 12px;
        margin: 0;
        margin-left: auto;
        margin-right: 12px;
    }

    .site-logo {
        order: 1;
		padding: 4px 0;
		
    }
	
	.logo-img {
    height: 50px;
    width: auto;
    display: block;
	}

    /* ── Mobile nav panel (dark green, slides in from right) ── */
    .main-navigation {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 58px;
        right: 0;
        bottom: 0;
        width: 72%;
        max-width: 320px;
        background: var(--green-dark);
        z-index: 199;
        overflow-y: auto;
        padding: 0 0 32px;
        gap: 0;
        transform: translateX(100%);
        visibility: hidden;
        transition:
            transform 0.28s cubic-bezier(0.4, 0, 0.2, 1),
            visibility 0s linear 0.28s;
    }

    .main-navigation.toggled {
        transform: translateX(0);
        visibility: visible;
        transition:
            transform 0.28s cubic-bezier(0.4, 0, 0.2, 1),
            visibility 0s linear 0s;
    }

    /* Nav list inside panel */
    .main-navigation ul,
    .main-navigation .nav-list {
        flex-direction: column;
        gap: 0;
        width: 100%;
        height: auto;
        align-items: stretch;
    }

    .main-navigation li {
        height: auto;
        display: block;
        position: static;
    }

    /* Top-level nav links */
    .main-navigation .nav-item > a {
        color: #fff;
        font-weight: 700;
        font-size: 15px;
        padding: 16px 24px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: auto;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
        letter-spacing: 0.01em;
    }

    .main-navigation .nav-item > a:hover,
    .main-navigation .nav-item:hover > a {
        color: #fff;
    }

    /* Show chevron on mobile */
    .nav-chevron {
        display: inline-block;
        margin-left: 10px;
    }

    /* Rotate chevron when accordion is open */
    .main-navigation .nav-item.open > a .nav-chevron {
        transform: rotate(45deg);
    }

    /* ── Accordion dropdown ── */
    .main-navigation .dropdown {
        display: none !important;
        position: static;
        background: rgba(0, 0, 0, 0.18);
        min-width: 100%;
        padding: 0;
        box-shadow: none;
        grid-template-columns: 1fr;
    }

    .main-navigation .nav-item.open .dropdown {
        display: block !important;
    }

    /* Sub-items inside accordion */
    .main-navigation .dropdown a {
        color: rgba(255, 255, 255, 0.88);
        font-size: 13.5px;
        font-weight: 500;
        padding: 13px 24px 13px 38px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        display: block;
        letter-spacing: 0;
    }

    .main-navigation .dropdown a:hover {
        color: #fff;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    /* investor-dropdown same on mobile */
    .main-navigation .dropdown.investor-dropdown {
        grid-template-columns: 1fr;
    }

    /* Hide SGX button from mobile nav list (shown in header instead) */
    .main-navigation .nav-sgx-desktop {
        display: none !important;
    }

    /* ── Page sections ── */
    .hero-content {
        left: 24px;
        right: 24px;
    }

    .hero-content h1 {
        font-size: 30px;
    }

    .hero-cta {
        font-size: 11px;
        padding: 8px 16px;
    }

    .announcements-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .accordion-list,
    .site-content,
    .announcements-section,
    .contact-section {
        padding: 40px 20px 80px;
    }

    .filter-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .filter-left {
        flex-direction: column;
        align-items: flex-start;
    }

    .year-tabs-wrapper {
        width: 100%;
    }

    .year-tabs {
        flex-wrap: wrap;
    }

    /* ── Subscribe banner (mobile) ── */
    .subscribe-banner {
        padding: 36px 20px 40px;
    }

    .subscribe-form {
        flex-direction: column;
        gap: 0;
        max-width: 100%;
    }

    .subscribe-input {
        width: 100%;
        border-bottom: 1px solid #ddd;
    }

    .subscribe-btn {
        width: 100%;
        padding: 13px 24px;
        text-align: center;
    }

    /* ── Footer (mobile) ── */
    .site-footer {
        background: var(--green-dark);
        color: #fff;
        padding: 32px 20px 24px;
        text-align: left;
        margin-top: 0;
    }

    .footer-inner {
        margin-bottom: 20px;
    }

    .footer-brand {
        color: #fff;
        font-size: 15px;
        margin-bottom: 10px;
    }

    .footer-details p {
        color: rgba(255, 255, 255, 0.85);
        font-size: 13px;
        line-height: 1.7;
    }

    .footer-details strong {
        color: #fff;
    }

    .footer-details a {
        color: rgba(255, 255, 255, 0.85);
    }

    .footer-copy {
        font-size: 11px;
        color: rgba(255, 255, 255, 0.55);
        padding: 14px 0 20px;
        margin-top: 16px;
        text-align: center;
        letter-spacing: 0;
    }

    /* Contact Page Responsive */
    .company-info {
        padding: 48px 20px 40px;
    }

    .corp-directory {
        padding: 48px 20px 56px;
    }

    .corp-directory > h2 {
        font-size: 28px;
        margin-bottom: 36px;
    }

    .corp-grid {
		display: flex;
        flex-direction: column;
        gap: 32px;

    }

    .contact-section {
        padding: 48px 20px 64px;
    }

    .contact-form-wrap {
        max-width: 100%;
    }
}

/* ========================================
   UTILITIES
   ======================================== */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.text-center {
    text-align: center;
}

.no-reports {
    padding: 24px 0;
    color: var(--text-mid);
    font-size: 14px;
}


/* ========================================
   WORDPRESS ADMIN BAR COMPENSATION
   When logged in, WP injects #wpadminbar
   (fixed, 32px desktop / 46px ≤782px)
   and adds margin-top to <html>.
   We shift every fixed/sticky element that
   needs to sit below it accordingly.
   ======================================== */

/* Desktop admin bar: 32px tall */
.admin-bar .site-header {
    top: 32px;
}

.admin-bar .nav-backdrop {
    top: 32px;
}

/* Tablet / mobile admin bar: 46px tall (≤782px) */
@media screen and (max-width: 782px) {
    .admin-bar .site-header {
        top: 46px;
    }

    .admin-bar .nav-backdrop {
        top: 46px;
    }

    /* Mobile nav panel: 46px admin bar + 64px header */
    .admin-bar .main-navigation {
        top: 110px;
    }
}

/* Very small screens (≤600px): admin bar becomes
   position:absolute (scrolls with page), so no
   fixed offset is needed for our sticky elements */
@media screen and (max-width: 600px) {
    .admin-bar .site-header {
        top: 0;
    }

    .admin-bar .nav-backdrop {
        top: 0;
    }

    .admin-bar .main-navigation {
        top: 64px;
    }
}

