/*
Theme Name: Kadence Child
Theme URI: https://tamilpersonalities.com
Description: Child theme for Kadence
Author: Your Name
Version: 1.0
Template: kadence
Text Domain: kadence-child
*/

/* Your custom CSS starts below */
.people-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.person-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    transition: .3s;
}

.person-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,.12);
}

.person-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.person-card h2 {
    margin: 15px;
    font-size: 22px;
}

.profession {
    color: #777;
    font-weight: 600;
    margin-bottom: 10px;
}

.excerpt {
    padding: 0 20px;
    font-size: 15px;
    line-height: 1.6;
}

.read-more {
    display: inline-block;
    margin-top: 15px;
    text-decoration: none;
    font-weight: bold;
}
.person-page{
    max-width:1200px;
    margin:50px auto;
    padding:20px;
}

.person-header{
    display:flex;
    gap:40px;
    align-items:flex-start;
    margin-bottom:50px;
}

.person-photo{
    width:320px;
    flex-shrink:0;
}

.person-photo img{
    width:100%;
    border-radius:10px;
}

.person-info{
    flex:1;
}

.person-info h1{
    margin-top:0;
    margin-bottom:10px;
    font-size:42px;
}

.tamil-name{
    color:#666;
    margin-bottom:30px;
    font-weight:normal;
}

.person-meta{
    width:100%;
    border-collapse:collapse;
}

.person-meta th{
    width:180px;
    text-align:left;
    padding:12px;
    background:#f5f5f5;
}

.person-meta td{
    padding:12px;
    border-bottom:1px solid #eee;
}

.person-biography{
    margin-top:40px;
}

.person-biography h2{
    margin-bottom:25px;
}

@media(max-width:768px){

.person-header{
    flex-direction:column;
}

.person-photo{
    width:100%;
}

.person-info h1{
    font-size:32px;
}

}
/*
Theme Name: Kadence Child
Theme URI: https://tamilpersonalities.com
Description: Child theme for Kadence
Author: Your Name
Version: 1.0
Template: kadence
Text Domain: kadence-child
*/

/* Your custom CSS starts below */
.people-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.person-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    transition: .3s;
}

.person-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,.12);
}

.person-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.person-card h2 {
    margin: 15px;
    font-size: 22px;
}

.profession {
    color: #777;
    font-weight: 600;
    margin-bottom: 10px;
}

.excerpt {
    padding: 0 20px;
    font-size: 15px;
    line-height: 1.6;
}

.read-more {
    display: inline-block;
    margin-top: 15px;
    text-decoration: none;
    font-weight: bold;
}
.person-page{
    max-width:1200px;
    margin:50px auto;
    padding:20px;
}

.person-header{
    display:flex;
    gap:40px;
    align-items:flex-start;
    margin-bottom:50px;
}

.person-photo{
    width:320px;
    flex-shrink:0;
}

.person-photo img{
    width:100%;
    border-radius:10px;
}

.person-info{
    flex:1;
}

.person-info h1{
    margin-top:0;
    margin-bottom:10px;
    font-size:42px;
}

.tamil-name{
    color:#666;
    margin-bottom:30px;
    font-weight:normal;
}

.person-meta{
    width:100%;
    border-collapse:collapse;
}

.person-meta th{
    width:180px;
    text-align:left;
    padding:12px;
    background:#f5f5f5;
}

.person-meta td{
    padding:12px;
    border-bottom:1px solid #eee;
}

.person-biography{
    margin-top:40px;
}

.person-biography h2{
    margin-bottom:25px;
}

@media(max-width:768px){

.person-header{
    flex-direction:column;
}

.person-photo{
    width:100%;
}

.person-info h1{
    font-size:32px;
}

}