@charset "UTF-8";
/*
 Theme Name: chingles
 Theme URI: https://dsgroup.com/
 Author: Devansh Agrawal
 Author URI: https://dsgroup.com/
 Description: chingles is a blank canvas for brand page.
 Requires at least: 6.7
 Tested up to: 6.1
 Requires PHP: 8.0
 Version: 1.0
 License: GNU General Public License v2 or later
 License URI: Under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
 Text Domain: dsgroup.com
 Tags: one-column, accessibility-ready, custom-colors, custom-menu, custom-logo, editor-style, featured-images, translation-ready
 Theme is distributed under the terms of the GNU GPL.
*/

/********** Template CSS **********/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #fff;
    color: #333;
}

.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.header {
    text-align: center;
    padding: 20px 20px 10px;
}

.header-logo {
    display: block;
    margin: 0 auto;
    width: 250px;
    height: auto;
}

.headerBanner {
    text-align: center;
    font-size: 25px;
    letter-spacing: 2px;
    font-weight: bold;
    position: relative;
}

.headerBanner img {
    width: 100%;
    height: auto;
    display: block;
}

.headerBanner h1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

a.brandLogo {
    display: inline-block;
}

.main {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 50px 20px;
}

.content-box {
    background-color: #fff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 1200px;
    width: 100%;
}

.content-box h1 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #111;
    text-align: center;
}
.content-box h3 {
    font-size: 25px;
    margin-bottom: 20px;
    color: #111;
    text-align: center;
}
.content-box p {
    font-size: 20px;
    margin: 10px 0;
    text-align: center;
}

.content-box a {
    color: #0077cc;
    font-weight: 600;
    text-decoration: none;
}

.content-box a:hover {
    text-decoration: underline;
}

.responsive-table {
    padding-top: 25px;
    padding-bottom: 25px;
}

table {
    width: 100%;
    border-collapse: collapse;
    border: 0;
}

table th, table td {
    border: 1px solid #ccc;
    padding: 10px;
    text-align: left;
    vertical-align: top;
}

th {
    background-color: #32A9E3;
    color: #fff;
    font-weight: bold;
}

table tr:nth-child(even) {
    background-color: #f9f9f9;
}

td.licno {
    width: 160px;
}

.page404 {
    justify-content: center;
    text-align: center;
    padding-top: 30px;
    padding-bottom: 30px;
}

.footer {
    text-align: center;
    padding: 25px;
    font-size: 15px;
    background-color: #eaeaea;
    color: #555;
}

/* Responsive CSS */
@media (max-width: 1200px) {
    .content-box {
        padding: 20px;
        max-width: 95%;
    }
    .content-box h1 {
        font-size: 30px;
    }
    .content-box h3 {
        font-size: 22px;
    }
    .content-box p {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .main {
        padding: 30px 15px;
        flex-direction: column;
        align-items: center;
    }
    .header-logo {
        width: 180px;
    }
    .content-box h1 {
        font-size: 26px;
    }
    .content-box h3 {
        font-size: 20px;
    }
    .content-box p {
        font-size: 16px;
    }
    table th, table td {
        padding: 8px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .headerBanner {
        font-size: 18px;
        letter-spacing: 1px;
    }
    .header-logo {
        width: 140px;
    }
    .content-box {
        padding: 15px;
        border-radius: 12px;
    }
    .content-box h1 {
        font-size: 22px;
    }
    .content-box h3 {
        font-size: 18px;
    }
    .content-box p {
        font-size: 14px;
    }
    table, thead, tbody, th, td, tr {
        display: block;
        width: 100%;
    }
    thead tr {
        display: none; /* Hide table headers on small screens */
    }
    tr {
        margin-bottom: 15px;
        border-bottom: 2px solid #ddd;
        padding-bottom: 10px;
    }
    td {
        padding: 10px 10px 10px 50%;
        position: relative;
        text-align: left;
        border: none;
        border-bottom: 1px solid #ccc;
    }
    td::before {
        content: attr(data-label);
        position: absolute;
        left: 15px;
        top: 10px;
        font-weight: bold;
        white-space: nowrap;
    }
}

@media (max-width: 1200px) {
    .content-box {
        padding: 20px;
        max-width: 95%;
    }
    .content-box h1 { font-size: 30px; }
    .content-box h3 { font-size: 22px; }
    .content-box p { font-size: 18px; }
}

@media (max-width: 768px) {
    .main {
        flex-direction: column;
        align-items: center;
        padding: 30px 15px;
    }
    .header-logo { width: 180px; }
    .content-box h1 { font-size: 26px; }
    .content-box h3 { font-size: 20px; }
    .content-box p { font-size: 16px; }
    table th, table td {
        padding: 8px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .headerBanner { font-size: 18px; letter-spacing: 1px; }
    .header-logo { width: 140px; }
    .content-box {
        padding: 15px;
        border-radius: 12px;
    }
    .content-box h1 { font-size: 22px; }
    .content-box h3 { font-size: 18px; }
    .content-box p { font-size: 14px; }
    
    /* Responsive table */
    table, thead, tbody, th, td, tr {
        display: block;
        width: 100%;
    }
    thead tr { display: none; }
    tr {
        margin-bottom: 15px;
        border-bottom: 2px solid #ddd;
        padding-bottom: 10px;
    }
    td {
        position: relative;
        padding: 10px 10px 10px 50%;
        border: none;
        border-bottom: 1px solid #ccc;
        text-align: left;
    }
    td::before {
        content: attr(data-label);
        position: absolute;
        left: 15px;
        top: 10px;
        font-weight: bold;
        white-space: nowrap;
    }
}
