/* === NEW: INNER PAGE STRUCTURES (User Requested) === */

/* 1. GP SERVICES & REVENUE TABLES */
.ref-table-container {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.ref-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.ref-table thead {
    background-color: #e3f2fd;
    /* Light blue header */
    border-bottom: 2px solid #90caf9;
}

.ref-table th {
    padding: 12px 15px;
    text-align: left;
    font-weight: 700;
    color: #1565c0;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.ref-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #eeeeee;
    color: #424242;
}

.ref-table tr:last-child td {
    border-bottom: none;
}

/* Excluded Services - Yellow Highlight Box */
.excluded-services-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 20px 0;
}

.excluded-service-card {
    background-color: #fff9c4;
    /* Light yellow */
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #fff59d;
}

.excluded-service-card ol {
    margin: 0;
    padding-left: 20px;
}

.excluded-service-card li {
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: #f57f17;
    /* Dark yellow/orange text */
    font-weight: 500;
}

/* 2. GP MEMBERS LAYOUT (Reference Image 2) */
.members-ref-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.member-ref-card {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: white;
    transition: all 0.3s ease;
}

.member-ref-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    /* Soft hover shadow */
    border-color: #ffccbc;
    /* Light orange border on hover */
}

.member-img-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    margin-bottom: 15px;
}

.member-info-box {
    text-align: center;
}

.member-name-ref {
    font-size: 1.1rem;
    font-weight: 700;
    color: #37474f;
    margin-bottom: 5px;
}

.member-role-ref {
    font-size: 0.9rem;
    color: #78909c;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* 3. CONTACT US LAYOUT (Reference Image 3) */
.contact-ref-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.contact-ref-card {
    border: 1px solid #cfd8dc;
    background: white;
    padding: 30px 20px;
    text-align: center;
    border-radius: 4px;
    /* Sharper corners as per ref */
    position: relative;
    /* Top styling line as seen in some refs */
    border-top: 4px solid var(--brand-primary);
}

.contact-icon-ref {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
}

.contact-role-title {
    font-size: 1.2rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #263238;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.contact-detail-row {
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: #546e7a;
}

.contact-detail-row strong {
    color: #37474f;
    display: block;
    /* Label on new line if needed, or inline */
}

/* Office Address Box Style */
.address-ref-box {
    background-color: #f5f5f5;
    /* Light grey/beige */
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #eeeeee;
    text-align: center;
    font-size: 1.1rem;
    color: #455a64;
    margin-top: 20px;
}

/* Emergency Highlight Box */
.emergency-ref-container {
    display: flex;
    gap: 20px;
    background-color: #fffde7;
    /* Light yellow bg for whole section */
    padding: 30px;
    border-radius: 12px;
    justify-content: space-around;
    flex-wrap: wrap;
    border: 1px solid #fff59d;
}

.emergency-item-ref {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #fff;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
}

.em-icon {
    font-size: 1.5rem;
}

.em-text strong {
    display: block;
    color: #d32f2f;
    /* Red for emergency */
    font-size: 0.8rem;
    text-transform: uppercase;
}

.em-number {
    font-size: 1.2rem;
    font-weight: 800;
    color: #212121;
}