/* Sanatana Gurukulam WordPress content and learning layer */
.sgk-platform-wrap{width:min(1280px,94%);margin:0 auto;padding:42px 0 60px;color:#4a170d}
.sgk-page-heading{text-align:center;margin:0 auto 28px;max-width:900px}
.sgk-page-heading>span,.sgk-status{display:block;color:#8a4a20;font:bold 11px Georgia,serif;letter-spacing:.13em}
.sgk-page-heading h1{font:bold clamp(32px,3vw,48px) Georgia,serif;color:#5b1c10;margin:9px 0}
.sgk-page-heading p{color:#4d2818;font:17px/1.5 Georgia,serif}
.sgk-story-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.sgk-story-card{background:linear-gradient(145deg,#fff0d0,#e9c98e);border:1px solid #c18a4d;border-radius:12px;overflow:hidden;box-shadow:0 3px 9px rgba(75,35,13,.14);text-align:center}
.sgk-story-card>a{display:flex;flex-direction:column;height:100%;text-decoration:none;color:#4a170d}
.sgk-story-card img{width:calc(100% - 16px);height:155px;object-fit:cover;margin:8px 8px 0;border:3px solid #d1a15e;border-radius:7px}
.sgk-story-info{padding:12px;display:flex;flex-direction:column;align-items:center;flex:1}
.sgk-story-info h3{font:bold italic 23px Georgia,serif;margin:0 0 7px;color:#641e12}
.sgk-story-info p{font:14px/1.35 Georgia,serif;color:#4b2417;margin:0 0 15px}
.sgk-button{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:36px;margin-top:auto;padding:8px 20px;color:#fff1dc!important;font:bold 15px Georgia,serif;background:linear-gradient(180deg,#70452f 0%,#563321 54%,#3c2419 100%)!important;border:0!important;outline:0!important;border-radius:24px;box-shadow:0 3px 7px rgba(50,24,14,.28)!important;text-decoration:none!important;transition:transform .2s ease,filter .2s ease,box-shadow .2s ease}
.sgk-button:hover{filter:brightness(1.12);color:#fff!important;border:0!important;outline:0!important;box-shadow:0 5px 11px rgba(50,24,14,.32)!important;transform:translateY(-2px)}
.sgk-panel{margin:18px 0;padding:24px;background:linear-gradient(145deg,rgba(255,239,207,.96),rgba(231,196,132,.94));border:1px solid rgba(183,119,48,.7);border-radius:10px;box-shadow:0 2px 7px rgba(76,35,13,.12)}
.sgk-panel h2,.sgk-panel h3{font-family:Georgia,serif;color:#641e12}
.sgk-panel h2{font-size:27px;margin:8px 0 14px}
.sgk-panel h3{font-size:21px;margin:8px 0}
.sgk-panel p{color:#492719;font:16px/1.65 Georgia,serif}
.sgk-note,.sgk-feedback{margin:15px 0;padding:15px;background:#f6e5c3;border-left:4px solid #a96527;color:#4b2417}
.sgk-feedback strong{color:#641e12}
.sgk-form{display:grid;gap:15px;margin-top:18px}
.sgk-form label{display:grid;gap:6px;color:#5a2414;font:bold 15px Georgia,serif}
.sgk-form textarea,.sgk-form input:not([type=file]){width:100%;padding:11px;border:1px solid #bd8a4e;border-radius:5px;background:#fff7e7;color:#422016;font:15px Georgia,serif}
.sgk-form textarea{min-height:120px}
.sgk-form input[type=file]{font:13px Georgia,serif}
.sgk-reader-image{display:block;width:min(760px,100%);max-height:430px;object-fit:cover;margin:0 auto 22px;border:5px solid #d3a35e;border-radius:9px}
.sgk-prose{font:18px/1.7 Georgia,serif;color:#492719}
.sgk-prose h2,.sgk-prose h3{color:#641e12}
.sgk-prose img{max-width:100%;height:auto}
.sgk-prose p{color:#492719}
.sgk-page-links{margin:20px 0;padding:14px;border-top:1px solid #bb8648}
.sgk-page-links a,.sgk-page-links span{display:inline-block;margin:0 5px;padding:5px 10px;background:#6b2815;color:#fff0d2;border-radius:15px}
.sgk-chapter-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
.sgk-chapter-list .sgk-panel{margin:0}
.sgk-chapter-list h3 a{color:#641e12}
.sgk-price{font:bold 27px Georgia,serif!important;color:#641e12!important}
.sgk-membership{max-width:680px;margin:25px auto}
@media(max-width:900px){.sgk-story-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.sgk-story-grid,.sgk-chapter-list{grid-template-columns:1fr}.sgk-story-card img{height:190px}.sgk-platform-wrap{padding-top:28px}.sgk-panel{padding:17px}}

.sgk-home-stories{grid-column:1/-1;min-width:0}.sgk-home-stories .sgk-story-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.sgk-home-stories .sgk-story-card{min-height:260px}.sgk-home-stories .sgk-story-card img{height:130px}.sgk-home-stories .sgk-story-info h3{font-size:clamp(18px,1.55vw,24px)}
@media(max-width:760px){.sgk-home-stories .sgk-story-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:440px){.sgk-home-stories .sgk-story-grid{grid-template-columns:1fr}}
