/* Homepage only. No shared grid or database changes. */
body.ogo-home {background:#f1f5ef;color:#20372b;font-family:Arial,sans-serif;}
.ogo-home .bg-1 {background:#f1f5ef;}
.ogo-home .main,.ogo-home .container_24 {width: min(1280px, 96%); max-width:1280px; margin:auto; background:transparent;}
.ogo-home #content .ogo-layout {display:grid;grid-template-columns:minmax(240px, 280px) minmax(0,1fr);gap:24px;align-items:start;padding:24px 0;overflow:visible;}
.ogo-home #content .ogo-sidebar,.ogo-home #content .ogo-main {float:none;position:static;width:auto;min-width:0;margin:0;padding:20px;box-sizing:border-box;background:white;border:1px solid #d9e3d7;border-radius:14px;box-shadow:0 4px 18px #173b2020;color:#20372b;}
.ogo-home .ogo-sidebar table {margin:12px 0 !important;width:100%;font-size:14px;}
.ogo-home .ogo-sidebar td {padding:5px 0;}
.ogo-home .ogo-sidebar input {width:100% !important;box-sizing:border-box;border:1px solid #aabcae;border-radius:6px;padding:8px;}
.ogo-home .ogo-login,.ogo-home .ogo-sidebar .button-2 {display:inline-block;background:#195b38;color:white;border:0;border-radius:7px;padding:10px 16px;font-size:14px;line-height:1.4;height:auto;cursor:pointer;text-decoration:none;text-shadow:none;}
.ogo-home .ogo-ad {border-top:1px solid #d9e3d7;min-height:0;padding-top:12px;}
.ogo-home .ogo-main [class*="grid_"] {float:none;width:100%;max-width:100%;margin-left:0;margin-right:0;left:auto;right:auto;box-sizing:border-box;}
.ogo-home .ogo-main h5 {background:#195b38;color:white;padding:14px 18px;border-radius:8px;font-size:21px;height:auto;line-height:1.4;text-shadow:none;}
.ogo-home .ogo-main .tabs {display:flex;flex-wrap:wrap;gap:5px;height:auto;background:none;}
.ogo-home .ogo-main .tabs li {float:none;height:auto;background:#e5eee3;border-radius:6px;margin:0;}
.ogo-home .ogo-main .tabs li a {display:block;padding:9px 12px;color:#17482e;text-shadow:none;background:none;height:auto;line-height:1.4;}
.ogo-home .ogo-main .tabs li.active {background:#d5b65c;}
.ogo-home .ogo-main .tab_container {min-height:0 !important;}
.ogo-home #tab5 .row-slider,.ogo-home #tab5 .row-slider > div {height:auto !important;min-height:0;border:0 !important;}
.ogo-home #vtab {width:100%;height:auto;}
.ogo-home #vtab > ul {width:28%;top:0;}
.ogo-home #vtab > ul > li {width:auto;height:auto;padding:10px;cursor:pointer;box-sizing:border-box;opacity:1;}
.ogo-home #vtab > ul > li.selected {background:#e5eee3 !important;color:#195b38;border:1px solid #c5d7c5;}
.ogo-home #vtab > div {margin-left:29%;min-height:300px;opacity:1;border-radius:8px;overflow-wrap:anywhere;}
.ogo-home .ogo-main img {max-width:100%;height:auto;}
.ogo-home #tab2 > .wrapper,.ogo-home #tab3 > .wrapper {display:flex;flex-wrap:wrap;gap:12px;}
.ogo-home .ogo-main .col-1 {float:none;flex:1 1 180px;max-width:100%;margin:0;}
.ogo-home #divRss {width:100%;height:360px;box-sizing:border-box;}
.ogo-home .feedEkList {width:auto;}
.ogo-home header {height:auto;min-height:0;}
.ogo-home header .row-1 {background:#e5eee3 !important;}
.ogo-home header .row-2 {background:#195b38;margin:0;}
.ogo-home header .sf-menu {background:#195b38;border:0;}
.ogo-home header .sf-menu > li {background:none;border:0;}
.ogo-home header .sf-menu > li > a {color:white;text-shadow:none;}
.ogo-home header .sf-menu > li.current,.ogo-home header .sf-menu > li:hover {background:#34704c;}
.ogo-home header .sf-menu ul {max-width:90vw;background:#195b38;}
.ogo-home header .sf-menu ul a {color:white;text-shadow:none;}
.ogo-home .bg-1 > div > article {min-width:0 !important;display:flex;justify-content:center;gap:8px;flex-wrap:wrap;background:#195b38 !important;}
.ogo-home .bg-1 > div > article img {max-width:23%;height:auto;object-fit:cover;}
@media(max-width:850px){
.ogo-home #content .ogo-layout {grid-template-columns:minmax(0,1fr);gap:14px;}
.ogo-home .ogo-main,.ogo-home .ogo-sidebar {padding:14px !important;}
.ogo-home header .row-1,.ogo-home header .row-2,.ogo-home header .sf-menu {height:auto;min-height:55px;}
.ogo-home header .row-1 .fleft,.ogo-home header .row-1 .fright {float:none;}
.ogo-home header h1 {max-width:100%;height:auto;}
.ogo-home header h1 a {max-width:100%;}
.ogo-home header .sf-menu {display:flex;flex-wrap:wrap;}
.ogo-home header .sf-menu > li {float:none;}
.ogo-home header .sf-menu > li > a {padding:12px;}
.ogo-home header .sf-menu > li:hover > ul,.ogo-home header .sf-menu > li.sfHover > ul {position:relative;top:auto;left:auto;width:auto;}
.ogo-home #vtab > ul {float:none;width:100%;}
.ogo-home #vtab > div {margin:10px 0 0;min-height:0;}
}

/* V3 homepage overrides, intentionally isolated from shared screens. */
body#page1.ogo-home {background:#f5f5ef;color:#173b2c;font:16px/1.55 Arial,sans-serif;}
#page1.ogo-home .bg-1 > div:first-child {background:#fff !important;padding:0 !important;}
#page1.ogo-home header {display:flex;align-items:center;gap:24px;min-height:100px;padding:10px 0;box-sizing:border-box;background:#fff;}
#page1.ogo-home header .row-1 {width:auto;flex:0 0 auto;height:auto;background:white !important;}
#page1.ogo-home header h1 {padding:0;margin:0;}
#page1.ogo-home header h1 a {width:104px;height:104px;background:url('/images/ogo-brand-v3.jpg') center/contain no-repeat;}
#page1.ogo-home header .row-2 {flex:1;height:auto;background:none;min-width:0;}
#page1.ogo-home header .sf-menu {display:flex;flex-wrap:wrap;background:none;min-height:0;height:auto;}
#page1.ogo-home header .sf-menu > li {float:none;background:none;height:auto;}
#page1.ogo-home header .sf-menu > li > a {color:#174632;background:none;padding:14px 18px;height:auto;line-height:1.4;font-size:15px;}
#page1.ogo-home header .sf-menu > li.current > a {border-bottom:3px solid #b69a50;}
#page1.ogo-home header .sf-menu > li > span {display:none;}
#page1.ogo-home .bg-1 > div > article {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin:0!important;padding:0!important;}
#page1.ogo-home .bg-1 > div > article img {width:100%;max-width:none;height:clamp(100px,15vw,220px);object-fit:cover;padding:0!important;}
#page1.ogo-home .ogo-intro {background:#153e2c;color:white;padding:26px max(4%,calc((100% - 1280px)/2));}
#page1.ogo-home .ogo-intro span {font-size:12px;letter-spacing:2px;color:#e2c77e;}
#page1.ogo-home .ogo-intro h2 {font: bold clamp(25px,4vw,44px)/1.2 Arial,sans-serif;color:white;margin:8px 0;text-shadow:none;}
#page1.ogo-home #content .ogo-layout {grid-template-columns:minmax(0,1fr) 260px;grid-template-areas:'main member' 'main ad';grid-template-rows:auto 1fr;}
#page1.ogo-home .ogo-main {grid-area:main;} #page1.ogo-home .ogo-sidebar {grid-area:member;} #page1.ogo-home .ogo-ad {grid-area:ad;min-width:0;}
#page1.ogo-home .ogo-member-form {display:grid;gap:8px;} #page1.ogo-home .ogo-member-form h2,#page1.ogo-home .ogo-join h3 {font:bold 18px/1.4 Arial;color:#173b2c;margin:0;text-shadow:none;}
#page1.ogo-home .ogo-join {border-top:1px solid #ddd;margin-top:20px;padding-top:18px;display:grid;gap:12px;}
#page1.ogo-home .ogo-join .button-2 {background:#e2c77e;color:#173b2c;text-align:center;width:auto;}
#page1.ogo-home .ogo-main h5 {background:none;color:#173b2c;border:0;box-shadow:none;padding:0 0 16px;font-size:26px;}
#page1.ogo-home .ogo-main .tabs {background:none;border:0;display:flex;gap:6px;overflow:visible;}
#page1.ogo-home .ogo-main .tabs li {background:#eef2eb;border:0;border-radius:8px;flex:1 1 auto;}
#page1.ogo-home .ogo-main .tabs li a {color:#173b2c;padding:12px;font-size:13px;}
#page1.ogo-home .ogo-main .tabs li.active,#page1.ogo-home .ogo-main .tabs li:hover {background:#174632;}
#page1.ogo-home .ogo-main .tabs li.active a,#page1.ogo-home .ogo-main .tabs li:hover a {color:white;}
#page1.ogo-home #vtab > ul {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));float:none;width:100%;gap:8px;}
#page1.ogo-home #vtab > ul > li {background:#f2f5ef!important;border:1px solid #d9e3d7;border-radius:8px;margin:0;padding:12px;}
#page1.ogo-home #vtab > ul > li.selected {background:#e2c77e!important;color:#173b2c;}
#page1.ogo-home #vtab > div {margin:14px 0 0;min-height:0;padding:18px;background:#fafbf8;}
#page1.ogo-home #vtab > div > h4 {color:#174632;border-bottom:1px solid #d9e3d7;font-size:20px;}
#page1.ogo-home #divRss {background:white;border:0;height:420px;}
#page1.ogo-home #divRss section {padding:12px 0;border-bottom:1px solid #d9e3d7;}
#page1.ogo-home #divRss h2 {font:bold 16px/1.4 Arial;}
@media(max-width:850px){#page1.ogo-home header {flex-wrap:wrap;gap:8px;}#page1.ogo-home header .row-2 {flex-basis:100%;}#page1.ogo-home #content .ogo-layout {grid-template-columns:minmax(0,1fr);grid-template-areas:'member' 'main' 'ad';grid-template-rows:auto;}#page1.ogo-home .bg-1 > div > article {grid-template-columns:repeat(2,minmax(0,1fr));}}
